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

Unified Diff: chrome/browser/ui/views/location_bar/location_bar_view.h

Issue 11416042: views: Change the LocationBarView delegate's API to GetWebContents(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixed 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/views/location_bar/location_bar_view.h
diff --git a/chrome/browser/ui/views/location_bar/location_bar_view.h b/chrome/browser/ui/views/location_bar/location_bar_view.h
index 3fb9a382522257f2a3bf801be52f9fbf8722e345..a5f6320ce05f237c98fa55dac55c2f6460b1e40e 100644
--- a/chrome/browser/ui/views/location_bar/location_bar_view.h
+++ b/chrome/browser/ui/views/location_bar/location_bar_view.h
@@ -100,7 +100,7 @@ class LocationBarView : public LocationBar,
class Delegate {
public:
// Should return the current tab contents.
- virtual TabContents* GetTabContents() const = 0;
+ virtual content::WebContents* GetWebContents() const = 0;
// Returns the InstantController, or NULL if there isn't one.
virtual InstantController* GetInstant() = 0;

Powered by Google App Engine
This is Rietveld 408576698