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

Unified Diff: chrome/browser/infobars/infobar_container.h

Issue 12387089: Instant: Rename 'preview' to 'overlay' (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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/app/theme/theme_resources.grd ('k') | chrome/browser/infobars/infobar_container.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/infobars/infobar_container.h
diff --git a/chrome/browser/infobars/infobar_container.h b/chrome/browser/infobars/infobar_container.h
index c1b6633bbc38fe078736d76c3fc19aaf5c20bf77..3808fb3acac68496e0a61e30ca6449367de443c7 100644
--- a/chrome/browser/infobars/infobar_container.h
+++ b/chrome/browser/infobars/infobar_container.h
@@ -9,7 +9,7 @@
#include "base/compiler_specific.h"
#include "base/time.h"
-#include "chrome/browser/instant/instant_model_observer.h"
+#include "chrome/browser/instant/instant_overlay_model_observer.h"
#include "chrome/browser/ui/search/search_model_observer.h"
#include "chrome/common/search_types.h"
#include "content/public/browser/notification_observer.h"
@@ -38,7 +38,7 @@ class SearchModel;
// temporarily if the user changes into |SEARCH_SUGGESTIONS| mode (refer to
// chrome::search::Mode in chrome/common/search_types.h for all search modes)
// when on a :
-// - |DEFAULT| page: when instant preview is ready;
+// - |DEFAULT| page: when Instant overlay is ready;
// - |NTP| or |SEARCH_RESULTS| page: immediately;
// TODO(kuan): this scenario requires more complex synchronization with
// renderer SearchBoxAPI and will be implemented as the next step;
@@ -51,7 +51,7 @@ class SearchModel;
// to re-hide infobars without animation is canceled if a tab change occurs.
class InfoBarContainer : public content::NotificationObserver,
public chrome::search::SearchModelObserver,
- public InstantModelObserver {
+ public InstantOverlayModelObserver {
public:
class Delegate {
public:
@@ -110,8 +110,8 @@ class InfoBarContainer : public content::NotificationObserver,
const Delegate* delegate() const { return delegate_; }
- // InstantModelObserver:
- virtual void PreviewStateChanged(const InstantModel& model) OVERRIDE;
+ // InstantOverlayModelObserver:
+ virtual void OverlayStateChanged(const InstantOverlayModel& model) OVERRIDE;
protected:
// Subclasses must call this during destruction, so that we can remove
« no previous file with comments | « chrome/app/theme/theme_resources.grd ('k') | chrome/browser/infobars/infobar_container.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698