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

Side by Side Diff: content/shell/browser/layout_test/layout_test_content_browser_client.h

Issue 659043003: Implement the ability to layout test Web Worker-based Notifications. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comment Created 6 years, 1 month 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 unified diff | Download patch
« no previous file with comments | « no previous file | content/shell/browser/layout_test/layout_test_content_browser_client.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_CONTENT_BROWSER_CLIENT_H_
6 #define CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_CONTENT_BROWSER_CLIENT_H_ 6 #define CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_CONTENT_BROWSER_CLIENT_H_
7 7
8 #include "content/shell/browser/shell_content_browser_client.h" 8 #include "content/shell/browser/shell_content_browser_client.h"
9 9
10 namespace content { 10 namespace content {
(...skipping 15 matching lines...) Expand all
26 void RenderProcessWillLaunch(RenderProcessHost* host) override; 26 void RenderProcessWillLaunch(RenderProcessHost* host) override;
27 void RequestDesktopNotificationPermission( 27 void RequestDesktopNotificationPermission(
28 const GURL& source_origin, 28 const GURL& source_origin,
29 RenderFrameHost* render_frame_host, 29 RenderFrameHost* render_frame_host,
30 const base::Callback<void(blink::WebNotificationPermission)>& callback) 30 const base::Callback<void(blink::WebNotificationPermission)>& callback)
31 override; 31 override;
32 blink::WebNotificationPermission CheckDesktopNotificationPermission( 32 blink::WebNotificationPermission CheckDesktopNotificationPermission(
33 const GURL& source_url, 33 const GURL& source_url,
34 ResourceContext* context, 34 ResourceContext* context,
35 int render_process_id) override; 35 int render_process_id) override;
36 void ShowDesktopNotification(
37 const ShowDesktopNotificationHostMsgParams& params,
38 RenderFrameHost* render_frame_host,
39 scoped_ptr<DesktopNotificationDelegate> delegate,
40 base::Closure* cancel_callback) override;
36 41
37 private: 42 private:
38 scoped_ptr<LayoutTestNotificationManager> layout_test_notification_manager_; 43 scoped_ptr<LayoutTestNotificationManager> layout_test_notification_manager_;
39 }; 44 };
40 45
41 } // content 46 } // content
42 47
43 #endif // CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_CONTENT_BROWSER_CLIENT_ H_ 48 #endif // CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_CONTENT_BROWSER_CLIENT_ H_
OLDNEW
« no previous file with comments | « no previous file | content/shell/browser/layout_test/layout_test_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698