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

Unified Diff: content/browser/renderer_host/render_view_host_delegate.h

Issue 9030010: Move most of the remaining users of WebContentsObserver::tab_contents() to use web_contents(). (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years 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: content/browser/renderer_host/render_view_host_delegate.h
===================================================================
--- content/browser/renderer_host/render_view_host_delegate.h (revision 115777)
+++ content/browser/renderer_host/render_view_host_delegate.h (working copy)
@@ -42,6 +42,7 @@
namespace content {
class BrowserContext;
+class WebContents;
struct FileChooserParams;
struct Referrer;
struct RendererPreferences;
@@ -193,9 +194,10 @@
virtual const GURL& GetURL() const;
// Return this object cast to a TabContents, if it is one. If the object is
- // not a TabContents, returns NULL. DEPRECATED: Be sure to include brettw and
+ // not a TabContents, returns NULL. DEPRECATED: Be sure to include brettw or
// jam as reviewers before you use this method. http://crbug.com/82582
virtual TabContents* GetAsTabContents();
+ virtual content::WebContents* GetAsWebContents();
// Return type of RenderView which is attached with this object.
virtual content::ViewType GetRenderViewType() const = 0;
« no previous file with comments | « content/browser/intents/web_intents_dispatcher_impl.cc ('k') | content/browser/renderer_host/render_view_host_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698