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

Unified Diff: chrome/browser/ui/views/search_view_controller.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/browser/ui/views/search_view_controller.h
diff --git a/chrome/browser/ui/views/search_view_controller.h b/chrome/browser/ui/views/search_view_controller.h
index bf5e4c187d167e74ff0a062b1804442a1f0797f0..058b01d6dfc3fec967e63c40fa0b290e2a8ab320 100644
--- a/chrome/browser/ui/views/search_view_controller.h
+++ b/chrome/browser/ui/views/search_view_controller.h
@@ -86,6 +86,9 @@ class SearchViewController
// |ntp_container_| relative to |destination| relative.
gfx::Rect GetNTPOmniboxBounds(views::View* destination);
+ // Sets whether the Instant overlay page has a custom provider logo.
+ void SetInstantHasCustomLogo(bool has_logo);
+
protected:
// ui::ImplicitAnimationObserver overrides:
virtual void OnImplicitAnimationsCompleted() OVERRIDE;
@@ -222,6 +225,9 @@ class SearchViewController
// Container provided to clients to host the omnibox popup view.
internal::OmniboxPopupContainer* omnibox_popup_parent_;
+ // True iff the provider wants to show a custom logo in the Instant overlay.
+ bool instant_has_custom_logo_;
+
DISALLOW_COPY_AND_ASSIGN(SearchViewController);
};

Powered by Google App Engine
This is Rietveld 408576698