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

Unified Diff: chrome/browser/ui/gtk/tab_contents_container_gtk.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
Index: chrome/browser/ui/gtk/tab_contents_container_gtk.h
diff --git a/chrome/browser/ui/gtk/tab_contents_container_gtk.h b/chrome/browser/ui/gtk/tab_contents_container_gtk.h
index 9b8cd798a0311e7282f57470b1f6c07ebc1ddd4a..13d647d44efc1adcb78d87aa4225a44cb0f8d3c3 100644
--- a/chrome/browser/ui/gtk/tab_contents_container_gtk.h
+++ b/chrome/browser/ui/gtk/tab_contents_container_gtk.h
@@ -35,12 +35,12 @@ class TabContentsContainerGtk : public content::NotificationObserver,
void SetTab(content::WebContents* tab);
content::WebContents* tab() const { return tab_; }
- void SetPreview(content::WebContents* preview);
- bool HasPreview() const { return preview_ != NULL; }
+ void SetOverlay(content::WebContents* overlay);
+ bool HasOverlay() const { return overlay_ != NULL; }
// Returns the WebContents currently displayed.
content::WebContents* GetVisibleTab() const {
- return preview_ ? preview_ : tab_;
+ return overlay_ ? overlay_ : tab_;
}
// Remove the tab from the hierarchy.
@@ -75,19 +75,19 @@ class TabContentsContainerGtk : public content::NotificationObserver,
void HideTab(content::WebContents* tab);
// Handle focus traversal on the tab contents container. Focus should not
- // traverse to the preview contents.
+ // traverse to the overlay contents.
CHROMEGTK_CALLBACK_1(TabContentsContainerGtk, gboolean, OnFocus,
GtkDirectionType);
content::NotificationRegistrar registrar_;
// The WebContents for the currently selected tab. This will be showing
- // unless there is a preview contents.
+ // unless there is an overlay contents.
content::WebContents* tab_;
- // The current preview contents (for instant). If non-NULL, it will be
+ // The current overlay contents (for Instant). If non-NULL, it will be
// visible.
- content::WebContents* preview_;
+ content::WebContents* overlay_;
// The status bubble manager. Always non-NULL.
StatusBubbleGtk* status_bubble_;
« no previous file with comments | « chrome/browser/ui/gtk/instant_preview_controller_gtk.cc ('k') | chrome/browser/ui/gtk/tab_contents_container_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698