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

Unified Diff: chrome/browser/ui/gtk/location_bar_view_gtk.h

Issue 11418043: Remove TabContents from OmniboxEditController and friends. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: cros Created 8 years, 1 month 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/location_bar_view_gtk.h
diff --git a/chrome/browser/ui/gtk/location_bar_view_gtk.h b/chrome/browser/ui/gtk/location_bar_view_gtk.h
index fee357dceef901554248ad88a11096de2d178661..56458d977b418172afec2ee3695f5ec4e77cc985 100644
--- a/chrome/browser/ui/gtk/location_bar_view_gtk.h
+++ b/chrome/browser/ui/gtk/location_bar_view_gtk.h
@@ -81,9 +81,6 @@ class LocationBarViewGtk : public OmniboxEditController,
Browser* browser() const { return browser_; }
- // Returns the current WebContents.
- content::WebContents* GetWebContents() const;
-
// Sets |preview_enabled| for the PageActionViewGtk associated with this
// |page_action|. If |preview_enabled| is true, the view will display the
// page action's icon even though it has not been activated by the extension.
@@ -130,7 +127,7 @@ class LocationBarViewGtk : public OmniboxEditController,
virtual gfx::Image GetFavicon() const OVERRIDE;
virtual string16 GetTitle() const OVERRIDE;
virtual InstantController* GetInstant() OVERRIDE;
- virtual TabContents* GetTabContents() const OVERRIDE;
+ virtual content::WebContents* GetWebContents() const OVERRIDE;
// LocationBar:
virtual void ShowFirstRunBubble() OVERRIDE;
@@ -184,7 +181,7 @@ class LocationBarViewGtk : public OmniboxEditController,
GtkWidget* widget();
bool IsVisible();
- virtual void Update(TabContents* tab_contents) = 0;
+ virtual void Update(content::WebContents* web_contents) = 0;
// Overridden from ui::AnimationDelegate:
virtual void AnimationProgressed(const ui::Animation* animation) OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698