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_CONTENT_BROWSER_CLIENT_H_ | 5 #ifndef CONTENT_BROWSER_CONTENT_BROWSER_CLIENT_H_ |
6 #define CONTENT_BROWSER_CONTENT_BROWSER_CLIENT_H_ | 6 #define CONTENT_BROWSER_CONTENT_BROWSER_CLIENT_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 29 matching lines...) Expand all Loading... |
40 namespace net { | 40 namespace net { |
41 class CookieList; | 41 class CookieList; |
42 class CookieOptions; | 42 class CookieOptions; |
43 class NetLog; | 43 class NetLog; |
44 class URLRequest; | 44 class URLRequest; |
45 class URLRequestContext; | 45 class URLRequestContext; |
46 class URLRequestContextGetter; | 46 class URLRequestContextGetter; |
47 class X509Certificate; | 47 class X509Certificate; |
48 } | 48 } |
49 | 49 |
| 50 namespace speech_input { |
| 51 class SpeechInputManager; |
| 52 } |
| 53 |
50 namespace ui { | 54 namespace ui { |
51 class Clipboard; | 55 class Clipboard; |
52 } | 56 } |
53 | 57 |
54 namespace content { | 58 namespace content { |
55 | 59 |
56 class BrowserContext; | 60 class BrowserContext; |
57 class ResourceContext; | 61 class ResourceContext; |
58 class WebUIFactory; | 62 class WebUIFactory; |
59 | 63 |
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
236 // This is called on the IO thread. | 240 // This is called on the IO thread. |
237 virtual std::string GetWorkerProcessTitle( | 241 virtual std::string GetWorkerProcessTitle( |
238 const GURL& url, const content::ResourceContext& context) = 0; | 242 const GURL& url, const content::ResourceContext& context) = 0; |
239 | 243 |
240 // Getters for common objects. | 244 // Getters for common objects. |
241 virtual ResourceDispatcherHost* GetResourceDispatcherHost() = 0; | 245 virtual ResourceDispatcherHost* GetResourceDispatcherHost() = 0; |
242 virtual ui::Clipboard* GetClipboard() = 0; | 246 virtual ui::Clipboard* GetClipboard() = 0; |
243 virtual MHTMLGenerationManager* GetMHTMLGenerationManager() = 0; | 247 virtual MHTMLGenerationManager* GetMHTMLGenerationManager() = 0; |
244 virtual DevToolsManager* GetDevToolsManager() = 0; | 248 virtual DevToolsManager* GetDevToolsManager() = 0; |
245 virtual net::NetLog* GetNetLog() = 0; | 249 virtual net::NetLog* GetNetLog() = 0; |
| 250 virtual speech_input::SpeechInputManager* GetSpeechInputManager() = 0; |
246 | 251 |
247 // Returns true if fast shutdown is possible. | 252 // Returns true if fast shutdown is possible. |
248 virtual bool IsFastShutdownPossible() = 0; | 253 virtual bool IsFastShutdownPossible() = 0; |
249 | 254 |
250 // Returns the WebKit preferences that are used by the renderer. | 255 // Returns the WebKit preferences that are used by the renderer. |
251 virtual WebPreferences GetWebkitPrefs(BrowserContext* browser_context, | 256 virtual WebPreferences GetWebkitPrefs(BrowserContext* browser_context, |
252 bool is_web_ui) = 0; | 257 bool is_web_ui) = 0; |
253 | 258 |
254 // Inspector setting was changed and should be persisted. | 259 // Inspector setting was changed and should be persisted. |
255 virtual void UpdateInspectorSetting(RenderViewHost* rvh, | 260 virtual void UpdateInspectorSetting(RenderViewHost* rvh, |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
288 // This is called on a worker thread. | 293 // This is called on a worker thread. |
289 virtual | 294 virtual |
290 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( | 295 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( |
291 const GURL& url) = 0; | 296 const GURL& url) = 0; |
292 #endif | 297 #endif |
293 }; | 298 }; |
294 | 299 |
295 } // namespace content | 300 } // namespace content |
296 | 301 |
297 #endif // CONTENT_BROWSER_CONTENT_BROWSER_CLIENT_H_ | 302 #endif // CONTENT_BROWSER_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |