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

Unified Diff: chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.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/cocoa/location_bar/location_bar_view_mac.h
diff --git a/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.h b/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.h
index bba88ff95a2eb6e3f8e53dee141b3e20fdbdfd5e..b1505f6b5a22bb6a996e499359b2dde97dda3a25 100644
--- a/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.h
+++ b/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.h
@@ -131,9 +131,6 @@ class LocationBarViewMac : public LocationBar,
// Re-draws |decoration| if it's already being displayed.
void RedrawDecoration(LocationBarDecoration* decoration);
- // Returns the current WebContents.
- content::WebContents* GetWebContents() const;
-
// Sets preview_enabled_ for the PageActionImageView associated with this
// |page_action|. If |preview_enabled|, the location bar will display the
// PageAction icon even if it has not been activated by the extension.
@@ -171,7 +168,7 @@ class LocationBarViewMac : public LocationBar,
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;
NSImage* GetKeywordImage(const string16& keyword);

Powered by Google App Engine
This is Rietveld 408576698