summaryrefslogtreecommitdiffstats
path: root/content/browser/content_browser_client.h
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-13 22:03:25 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-13 22:03:25 +0000
commitb8148acb28b24d50a9fce75a6d1295270d85eb17 (patch)
treeb1c1620501ddbce5a0ea9bea9701a06dabe89938 /content/browser/content_browser_client.h
parentf5dae026e4f245c8d40155131b8d676ed8084d37 (diff)
downloadchromium_src-b8148acb28b24d50a9fce75a6d1295270d85eb17.zip
chromium_src-b8148acb28b24d50a9fce75a6d1295270d85eb17.tar.gz
chromium_src-b8148acb28b24d50a9fce75a6d1295270d85eb17.tar.bz2
Move BrowserURLHandler to content, and keep the Chrome specific ones in Chrome.
BUG=76697 Review URL: http://codereview.chromium.org/7351020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92427 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/content_browser_client.h')
-rw-r--r--content/browser/content_browser_client.h17
1 files changed, 11 insertions, 6 deletions
diff --git a/content/browser/content_browser_client.h b/content/browser/content_browser_client.h
index 79c88bc..2086537 100644
--- a/content/browser/content_browser_client.h
+++ b/content/browser/content_browser_client.h
@@ -14,6 +14,7 @@
#include "third_party/WebKit/Source/WebKit/chromium/public/WebNotificationPresenter.h"
class BrowserRenderProcessHost;
+class BrowserURLHandler;
class CommandLine;
class FilePath;
class GURL;
@@ -243,6 +244,16 @@ class ContentBrowserClient {
// Clear the Inspector settings.
virtual void ClearInspectorSettings(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;
+
+ // Clears browser cookies.
+ virtual void ClearCookies(RenderViewHost* rvh) = 0;
+
#if defined(OS_POSIX) && !defined(OS_MACOSX)
// Can return an optional fd for crash handling, otherwise returns -1.
virtual int GetCrashSignalFD(const std::string& process_type) = 0;
@@ -255,12 +266,6 @@ class ContentBrowserClient {
crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate(
const GURL& url) = 0;
#endif
-
- // Clears browser cache.
- virtual void ClearCache(RenderViewHost* rvh) = 0;
-
- // Clears browser cookies.
- virtual void ClearCookies(RenderViewHost* rvh) = 0;
};
} // namespace content