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

Unified Diff: chrome/browser/instant/instant_overlay.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/browser/instant/instant_ntp.h ('k') | chrome/browser/instant/instant_overlay.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/instant/instant_overlay.h
diff --git a/chrome/browser/instant/instant_overlay.h b/chrome/browser/instant/instant_overlay.h
index 6c179257e8227360fea3ecca3281f6f6298a8d64..b380554f0a440acaf06f6fa3e305a6be2cb30d2c 100644
--- a/chrome/browser/instant/instant_overlay.h
+++ b/chrome/browser/instant/instant_overlay.h
@@ -22,9 +22,9 @@ namespace content {
class WebContents;
}
-// InstantOverlay is used to communicate with a preview WebContents that it owns
-// and loads the "Instant URL" into. This preview can appear and disappear at
-// will as the user types in the omnibox.
+// InstantOverlay is used to communicate with an overlay WebContents that it
+// owns and loads the "Instant URL" into. This overlay can appear and disappear
+// at will as the user types in the omnibox.
class InstantOverlay : public InstantPage,
public InstantLoader::Delegate {
public:
@@ -52,7 +52,7 @@ class InstantOverlay : public InstantPage,
bool is_stale() const { return is_stale_; }
// Returns true if the mouse or a touch pointer is down due to activating the
- // preview contents.
+ // overlay contents.
bool is_pointer_down_from_activate() const {
return is_pointer_down_from_activate_;
}
@@ -69,7 +69,7 @@ class InstantOverlay : public InstantPage,
// Returns true if the overlay is using
// InstantController::kLocalOmniboxPopupURL as the |instant_url_|.
- bool IsUsingLocalPreview() const;
+ bool IsUsingLocalOverlay() const;
// Overridden from InstantPage:
virtual void Update(const string16& text,
« no previous file with comments | « chrome/browser/instant/instant_ntp.h ('k') | chrome/browser/instant/instant_overlay.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698