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

Unified Diff: chrome/browser/ui/browser.h

Issue 12631008: alternate ntp: implement Show/HideBars API to reduce jank when showing/hiding bars (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixed build break Created 7 years, 9 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
« no previous file with comments | « chrome/browser/infobars/infobar_container.cc ('k') | chrome/browser/ui/browser.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/browser.h
diff --git a/chrome/browser/ui/browser.h b/chrome/browser/ui/browser.h
index 35db7f34ace6430ab7f7f8e0617cb5b7e4fd3d10..280d58f980c03fb50edd6524a8f1585c2df2437e 100644
--- a/chrome/browser/ui/browser.h
+++ b/chrome/browser/ui/browser.h
@@ -453,12 +453,6 @@ class Browser : public TabStripModelObserver,
// Show the first run search engine bubble on the location bar.
void ShowFirstRunBubble();
- // If necessary, update the bookmark bar state according to the Instant
- // overlay state: when Instant overlay shows suggestions and bookmark bar is
- // still showing attached, hide it.
- void MaybeUpdateBookmarkBarStateForInstantOverlay(
- const chrome::search::Mode& mode);
-
// Show a download on the download shelf.
void ShowDownload(content::DownloadItem* download);
@@ -680,8 +674,9 @@ class Browser : public TabStripModelObserver,
const content::NotificationDetails& details) OVERRIDE;
// Overridden from chrome::search::SearchModelObserver:
- virtual void ModeChanged(const chrome::search::Mode& old_mode,
- const chrome::search::Mode& new_mode) OVERRIDE;
+ virtual void ModelChanged(
+ const chrome::search::SearchModel::State& old_state,
+ const chrome::search::SearchModel::State& new_state) OVERRIDE;
// Command and state updating ///////////////////////////////////////////////
« no previous file with comments | « chrome/browser/infobars/infobar_container.cc ('k') | chrome/browser/ui/browser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698