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

Unified Diff: content/public/browser/web_contents_observer.h

Issue 525793002: Make WebContentsObserver::web_contents() public (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comments addressed Created 6 years, 3 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 | « content/browser/download/save_package.cc ('k') | extensions/browser/guest_view/app_view/app_view_guest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/web_contents_observer.h
diff --git a/content/public/browser/web_contents_observer.h b/content/public/browser/web_contents_observer.h
index f264392a348fabf35c0ee16d0a6502ab747a775f..65bddd95614a28ec4bc47e47b6ee1567ca91a019 100644
--- a/content/public/browser/web_contents_observer.h
+++ b/content/public/browser/web_contents_observer.h
@@ -336,6 +336,8 @@ class CONTENT_EXPORT WebContentsObserver : public IPC::Listener,
virtual bool Send(IPC::Message* message) OVERRIDE;
int routing_id() const;
+ WebContents* web_contents() const;
+
protected:
// Use this constructor when the object is tied to a single WebContents for
// its entire lifetime.
@@ -351,8 +353,6 @@ class CONTENT_EXPORT WebContentsObserver : public IPC::Listener,
// Start observing a different WebContents; used with the default constructor.
void Observe(WebContents* web_contents);
- WebContents* web_contents() const;
-
private:
friend class WebContentsImpl;
« no previous file with comments | « content/browser/download/save_package.cc ('k') | extensions/browser/guest_view/app_view/app_view_guest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698