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

Unified Diff: chrome/browser/instant/instant_overlay.cc

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_overlay.h ('k') | chrome/browser/instant/instant_overlay_controller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/instant/instant_overlay.cc
diff --git a/chrome/browser/instant/instant_overlay.cc b/chrome/browser/instant/instant_overlay.cc
index 68029eb354fd4ab1422b9b36d2cfda1fd61eface..bb4845295becd862cbf86713ebbdbdde1ed653fc 100644
--- a/chrome/browser/instant/instant_overlay.cc
+++ b/chrome/browser/instant/instant_overlay.cc
@@ -71,7 +71,7 @@ void InstantOverlay::DidNavigate(
last_navigation_ = add_page_args;
}
-bool InstantOverlay::IsUsingLocalPreview() const {
+bool InstantOverlay::IsUsingLocalOverlay() const {
return instant_url_ == chrome::search::kLocalOmniboxPopupURL;
}
@@ -115,7 +115,7 @@ void InstantOverlay::OnSwappedContents() {
}
void InstantOverlay::OnFocus() {
- // The preview is getting focus. Equivalent to it being clicked.
+ // The overlay is getting focus. Equivalent to it being clicked.
base::AutoReset<bool> reset(&is_pointer_down_from_activate_, true);
instant_controller()->FocusedOverlayContents();
}
« no previous file with comments | « chrome/browser/instant/instant_overlay.h ('k') | chrome/browser/instant/instant_overlay_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698