Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1810)

Unified Diff: chrome/browser/renderer_host/render_view_host_delegate.h

Issue 3312017: Plumbs through window.chrome.setSuggestResult. (Closed)
Patch Set: more comments Created 10 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/renderer_host/render_view_host_delegate.h
diff --git a/chrome/browser/renderer_host/render_view_host_delegate.h b/chrome/browser/renderer_host/render_view_host_delegate.h
index dd414b91902680cd2bcda0e8190d6bb424b4301a..59acc882aa55c3df8587eb0423527dfef5f2b24c 100644
--- a/chrome/browser/renderer_host/render_view_host_delegate.h
+++ b/chrome/browser/renderer_host/render_view_host_delegate.h
@@ -281,6 +281,10 @@ class RenderViewHostDelegate {
const std::string& translated_lang,
TranslateErrors::Type error_type) = 0;
+ // Notification that the page has a suggest result.
+ virtual void OnSetSuggestResult(int32 page_id,
+ const std::string& result) = 0;
+
protected:
virtual ~BrowserIntegration() {}
};

Powered by Google App Engine
This is Rietveld 408576698