OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_BROWSER_MOCK_CONTENT_BROWSER_CLIENT_H_ | 5 #ifndef CONTENT_BROWSER_MOCK_CONTENT_BROWSER_CLIENT_H_ |
6 #define CONTENT_BROWSER_MOCK_CONTENT_BROWSER_CLIENT_H_ | 6 #define CONTENT_BROWSER_MOCK_CONTENT_BROWSER_CLIENT_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 const GURL& source_origin, | 94 const GURL& source_origin, |
95 int callback_context, | 95 int callback_context, |
96 int render_process_id, | 96 int render_process_id, |
97 int render_view_id) OVERRIDE; | 97 int render_view_id) OVERRIDE; |
98 virtual WebKit::WebNotificationPresenter::Permission | 98 virtual WebKit::WebNotificationPresenter::Permission |
99 CheckDesktopNotificationPermission( | 99 CheckDesktopNotificationPermission( |
100 const GURL& source_origin, | 100 const GURL& source_origin, |
101 const content::ResourceContext& context, | 101 const content::ResourceContext& context, |
102 int render_process_id) OVERRIDE; | 102 int render_process_id) OVERRIDE; |
103 virtual void ShowDesktopNotification( | 103 virtual void ShowDesktopNotification( |
104 const DesktopNotificationHostMsg_Show_Params& params, | 104 const content::ShowDesktopNotificationHostMsgParams& params, |
105 int render_process_id, | 105 int render_process_id, |
106 int render_view_id, | 106 int render_view_id, |
107 bool worker) OVERRIDE; | 107 bool worker) OVERRIDE; |
108 virtual void CancelDesktopNotification( | 108 virtual void CancelDesktopNotification( |
109 int render_process_id, | 109 int render_process_id, |
110 int render_view_id, | 110 int render_view_id, |
111 int notification_id) OVERRIDE; | 111 int notification_id) OVERRIDE; |
112 virtual bool CanCreateWindow( | 112 virtual bool CanCreateWindow( |
113 const GURL& source_origin, | 113 const GURL& source_origin, |
114 WindowContainerType container_type, | 114 WindowContainerType container_type, |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
152 private: | 152 private: |
153 // Temporary directory for GetDefaultDownloadDirectory. | 153 // Temporary directory for GetDefaultDownloadDirectory. |
154 ScopedTempDir download_dir_; | 154 ScopedTempDir download_dir_; |
155 | 155 |
156 DISALLOW_COPY_AND_ASSIGN(MockContentBrowserClient); | 156 DISALLOW_COPY_AND_ASSIGN(MockContentBrowserClient); |
157 }; | 157 }; |
158 | 158 |
159 } // namespace content | 159 } // namespace content |
160 | 160 |
161 #endif // CONTENT_BROWSER_MOCK_CONTENT_BROWSER_CLIENT_H_ | 161 #endif // CONTENT_BROWSER_MOCK_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |