OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 virtual void ShowDesktopNotification( | 124 virtual void ShowDesktopNotification( |
125 const content::ShowDesktopNotificationHostMsgParams& params, | 125 const content::ShowDesktopNotificationHostMsgParams& params, |
126 int render_process_id, | 126 int render_process_id, |
127 int render_view_id, | 127 int render_view_id, |
128 bool worker) OVERRIDE; | 128 bool worker) OVERRIDE; |
129 virtual void CancelDesktopNotification( | 129 virtual void CancelDesktopNotification( |
130 int render_process_id, | 130 int render_process_id, |
131 int render_view_id, | 131 int render_view_id, |
132 int notification_id) OVERRIDE; | 132 int notification_id) OVERRIDE; |
133 virtual bool CanCreateWindow( | 133 virtual bool CanCreateWindow( |
| 134 const GURL& opener_url, |
134 const GURL& source_origin, | 135 const GURL& source_origin, |
135 WindowContainerType container_type, | 136 WindowContainerType container_type, |
136 ResourceContext* context, | 137 ResourceContext* context, |
137 int render_process_id) OVERRIDE; | 138 int render_process_id) OVERRIDE; |
138 virtual std::string GetWorkerProcessTitle(const GURL& url, | 139 virtual std::string GetWorkerProcessTitle(const GURL& url, |
139 ResourceContext* context) OVERRIDE; | 140 ResourceContext* context) OVERRIDE; |
140 virtual void ResourceDispatcherHostCreated() OVERRIDE; | 141 virtual void ResourceDispatcherHostCreated() OVERRIDE; |
141 virtual SpeechInputManagerDelegate* GetSpeechInputManagerDelegate() OVERRIDE; | 142 virtual SpeechInputManagerDelegate* GetSpeechInputManagerDelegate() OVERRIDE; |
142 virtual ui::Clipboard* GetClipboard() OVERRIDE; | 143 virtual ui::Clipboard* GetClipboard() OVERRIDE; |
143 virtual net::NetLog* GetNetLog() OVERRIDE; | 144 virtual net::NetLog* GetNetLog() OVERRIDE; |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
175 private: | 176 private: |
176 // Temporary directory for GetDefaultDownloadDirectory. | 177 // Temporary directory for GetDefaultDownloadDirectory. |
177 ScopedTempDir download_dir_; | 178 ScopedTempDir download_dir_; |
178 | 179 |
179 DISALLOW_COPY_AND_ASSIGN(MockContentBrowserClient); | 180 DISALLOW_COPY_AND_ASSIGN(MockContentBrowserClient); |
180 }; | 181 }; |
181 | 182 |
182 } // namespace content | 183 } // namespace content |
183 | 184 |
184 #endif // CONTENT_BROWSER_MOCK_CONTENT_BROWSER_CLIENT_H_ | 185 #endif // CONTENT_BROWSER_MOCK_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |