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

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: Respond to review comments. Created 8 years, 9 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 19eb3b308dea7ee72d2725d581d1df7f2a268b4d..5ba1e81463520ce2c19b6353f19a2f2e0864316b 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
@@ -339,27 +343,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.
« no previous file with comments | « content/port/browser/render_widget_host_view_port.h ('k') | content/public/browser/devtools_agent_host_registry.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698