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

Unified Diff: chrome/browser/ui/views/frame/browser_view.cc

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/frame/browser_view.cc
diff --git a/chrome/browser/ui/views/frame/browser_view.cc b/chrome/browser/ui/views/frame/browser_view.cc
index 7f0e590cc2f61f6e55968706f1b8ba6e09502c98..af8e73e7f414a3b2792d1129b27508b36e250681 100644
--- a/chrome/browser/ui/views/frame/browser_view.cc
+++ b/chrome/browser/ui/views/frame/browser_view.cc
@@ -1394,6 +1394,12 @@ bool BrowserView::IsInstantTabShowing() {
return preview_container_ != NULL;
}
+void BrowserView::SetInstantHasCustomLogo(bool has_logo) {
+#if defined(USE_AURA)
+ search_view_controller_->SetInstantHasCustomLogo(has_logo);
+#endif
+}
+
WindowOpenDisposition BrowserView::GetDispositionForPopupBounds(
const gfx::Rect& bounds) {
#if defined(OS_WIN)

Powered by Google App Engine
This is Rietveld 408576698