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

Unified Diff: chrome/renderer/searchbox/searchbox.h

Issue 11091050: InstantExtended: Add js api for custom logo. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 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/renderer/searchbox/searchbox.h
diff --git a/chrome/renderer/searchbox/searchbox.h b/chrome/renderer/searchbox/searchbox.h
index 997af8349df018d9c788025542111cc4d1d56099..019880efb9272aecfdf12165aed6b2ec6ea4ce65 100644
--- a/chrome/renderer/searchbox/searchbox.h
+++ b/chrome/renderer/searchbox/searchbox.h
@@ -34,6 +34,9 @@ class SearchBox : public content::RenderViewObserver,
// Sends ViewHostMsg_SetInstantPreviewHeight to the browser.
void SetInstantPreviewHeight(int height, InstantSizeUnits units);
+ // Sends ViewHostMsg_SetHasCustomLogo to the browser.
+ void SetHasCustomLogo(bool has_logo);
+
bool is_focused() const { return is_focused_; }
const string16& query() const { return query_; }
bool verbatim() const { return verbatim_; }

Powered by Google App Engine
This is Rietveld 408576698