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

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

Issue 9600036: Move Render(View|Widget)Host and associated classes to content namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Ready for review, take 2 Created 8 years, 10 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
Index: content/public/browser/content_browser_client.h
diff --git a/content/public/browser/content_browser_client.h b/content/public/browser/content_browser_client.h
index e6331e87a669bbdac3415a1482cbed8a574756a5..b4e7b1e4669309910eadfd9b3d1eac988699c050 100644
--- a/content/public/browser/content_browser_client.h
+++ b/content/public/browser/content_browser_client.h
@@ -21,11 +21,14 @@ class CommandLine;
class FilePath;
class GURL;
class PluginProcessHost;
-class RenderViewHost;
class ResourceDispatcherHost;
class SkBitmap;
struct WebPreferences;
+namespace content {
+class RenderViewHost;
+}
+
namespace crypto {
class CryptoModuleBlockingPasswordDelegate;
}
@@ -86,7 +89,8 @@ class ContentBrowserClient {
virtual WebContentsView* CreateWebContentsView(WebContents* web_contents) = 0;
// Notifies that a new RenderHostView has been created.
- virtual void RenderViewHostCreated(RenderViewHost* render_view_host) = 0;
+ virtual void RenderViewHostCreated(
+ content::RenderViewHost* render_view_host) = 0;
// Notifies that a RenderProcessHost has been created. This is called before
// the content layer adds its own BrowserMessageFilters, so that the
@@ -338,27 +342,27 @@ class ContentBrowserClient {
// Called by WebContents to override the WebKit preferences that are used by
// the renderer. The content layer will add its own settings, and then it's up
// to the embedder to update it if it wants.
- virtual void OverrideWebkitPrefs(RenderViewHost* render_view_host,
+ virtual void OverrideWebkitPrefs(content::RenderViewHost* render_view_host,
const GURL& url,
WebPreferences* prefs) = 0;
// Inspector setting was changed and should be persisted.
- virtual void UpdateInspectorSetting(RenderViewHost* rvh,
+ virtual void UpdateInspectorSetting(content::RenderViewHost* rvh,
const std::string& key,
const std::string& value) = 0;
// Clear the Inspector settings.
- virtual void ClearInspectorSettings(RenderViewHost* rvh) = 0;
+ virtual void ClearInspectorSettings(content::RenderViewHost* rvh) = 0;
// Notifies that BrowserURLHandler has been created, so that the embedder can
// optionally add their own handlers.
virtual void BrowserURLHandlerCreated(BrowserURLHandler* handler) = 0;
// Clears browser cache.
- virtual void ClearCache(RenderViewHost* rvh) = 0;
+ virtual void ClearCache(content::RenderViewHost* rvh) = 0;
// Clears browser cookies.
- virtual void ClearCookies(RenderViewHost* rvh) = 0;
+ virtual void ClearCookies(content::RenderViewHost* rvh) = 0;
// Returns the default download directory.
// This can be called on any thread.

Powered by Google App Engine
This is Rietveld 408576698