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

Unified Diff: content/shell/browser/shell_content_browser_client.h

Issue 639293005: Content Shell: Introduce LayoutTestContentBrowserClient (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comment Created 6 years, 2 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/shell/browser/shell_content_browser_client.h
diff --git a/content/shell/browser/shell_content_browser_client.h b/content/shell/browser/shell_content_browser_client.h
index 9688e0fff590fc92ef1dd0d7ac0a312da73ea509..f6b050ccaeb92c65b536bb8b98bcdce9c069a27a 100644
--- a/content/shell/browser/shell_content_browser_client.h
+++ b/content/shell/browser/shell_content_browser_client.h
@@ -17,7 +17,6 @@ namespace content {
class ShellBrowserContext;
class ShellBrowserMainParts;
-class ShellNotificationManager;
class ShellResourceDispatcherHostDelegate;
class ShellContentBrowserClient : public ContentBrowserClient {
@@ -30,9 +29,6 @@ class ShellContentBrowserClient : public ContentBrowserClient {
ShellContentBrowserClient();
virtual ~ShellContentBrowserClient();
- // Will be lazily created when running layout tests.
- ShellNotificationManager* GetShellNotificationManager();
-
// ContentBrowserClient overrides.
virtual BrowserMainParts* CreateBrowserMainParts(
const MainFunctionParams& parameters) override;
@@ -59,16 +55,6 @@ class ShellContentBrowserClient : public ContentBrowserClient {
virtual WebContentsViewDelegate* GetWebContentsViewDelegate(
WebContents* web_contents) override;
virtual QuotaPermissionContext* CreateQuotaPermissionContext() override;
- virtual void RequestDesktopNotificationPermission(
- const GURL& source_origin,
- RenderFrameHost* render_frame_host,
- const base::Callback<void(blink::WebNotificationPermission)>& callback)
- override;
- virtual blink::WebNotificationPermission
- CheckDesktopNotificationPermission(
- const GURL& source_url,
- ResourceContext* context,
- int render_process_id) override;
virtual SpeechRecognitionManagerDelegate*
GetSpeechRecognitionManagerDelegate() override;
virtual net::NetLog* GetNetLog() override;
@@ -101,8 +87,6 @@ class ShellContentBrowserClient : public ContentBrowserClient {
ShellBrowserContext* ShellBrowserContextForBrowserContext(
BrowserContext* content_browser_context);
- scoped_ptr<ShellNotificationManager> shell_notification_manager_;
-
scoped_ptr<ShellResourceDispatcherHostDelegate>
resource_dispatcher_host_delegate_;

Powered by Google App Engine
This is Rietveld 408576698