Plumbs through window.chrome.setSuggestResult. It's currently hidden behind a flag.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/3312017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59165 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/chrome/browser/tab_contents/tab_contents.cc b/chrome/browser/tab_contents/tab_contents.cc
index 3c35e61..01a303f 100644
--- a/chrome/browser/tab_contents/tab_contents.cc
+++ b/chrome/browser/tab_contents/tab_contents.cc
@@ -2112,6 +2112,11 @@
Details<PageTranslatedDetails>(&details));
}
+void TabContents::OnSetSuggestResult(int32 page_id, const std::string& result) {
+ if (delegate())
+ delegate()->OnSetSuggestResult(page_id, result);
+}
+
void TabContents::DidStartProvisionalLoadForFrame(
RenderViewHost* render_view_host,
bool is_main_frame,