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

Unified Diff: chrome/browser/ui/browser_instant_controller.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 flashing bars for DEFAULT->SUGGESTIONS->SERP 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
Index: chrome/browser/ui/browser_instant_controller.h
diff --git a/chrome/browser/ui/browser_instant_controller.h b/chrome/browser/ui/browser_instant_controller.h
index 21cc6d8627d68bd1d4fd3673b1bd15eebe58f6c6..b0aa61c56f6f7fe573ca42b307a1b91d7b028c85 100644
--- a/chrome/browser/ui/browser_instant_controller.h
+++ b/chrome/browser/ui/browser_instant_controller.h
@@ -111,8 +111,9 @@ class BrowserInstantController : public content::NotificationObserver,
void ResetInstant(const std::string& pref_name);
// Overridden from search::SearchModelObserver:
- virtual void ModeChanged(const search::Mode& old_mode,
- const search::Mode& new_mode) OVERRIDE;
+ virtual void ModelChanged(
+ const search::SearchModel::State& old_state,
+ const search::SearchModel::State& new_state) OVERRIDE;
// content::NotificationObserver implementation.
virtual void Observe(int type,

Powered by Google App Engine
This is Rietveld 408576698