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_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ | 5 #ifndef CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ |
6 #define CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ | 6 #define CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
300 // Returns a title string to use in the task manager for a process host with | 300 // Returns a title string to use in the task manager for a process host with |
301 // the given URL, or the empty string to fall back to the default logic. | 301 // the given URL, or the empty string to fall back to the default logic. |
302 // This is called on the IO thread. | 302 // This is called on the IO thread. |
303 virtual std::string GetWorkerProcessTitle( | 303 virtual std::string GetWorkerProcessTitle( |
304 const GURL& url, const content::ResourceContext& context) = 0; | 304 const GURL& url, const content::ResourceContext& context) = 0; |
305 | 305 |
306 // Getters for common objects. | 306 // Getters for common objects. |
307 virtual ResourceDispatcherHost* GetResourceDispatcherHost() = 0; | 307 virtual ResourceDispatcherHost* GetResourceDispatcherHost() = 0; |
308 virtual ui::Clipboard* GetClipboard() = 0; | 308 virtual ui::Clipboard* GetClipboard() = 0; |
309 virtual MHTMLGenerationManager* GetMHTMLGenerationManager() = 0; | 309 virtual MHTMLGenerationManager* GetMHTMLGenerationManager() = 0; |
310 virtual DevToolsManager* GetDevToolsManager() = 0; | 310 virtual ::DevToolsManager* GetDevToolsManager() = 0; |
311 virtual net::NetLog* GetNetLog() = 0; | 311 virtual net::NetLog* GetNetLog() = 0; |
312 virtual speech_input::SpeechInputManager* GetSpeechInputManager() = 0; | 312 virtual speech_input::SpeechInputManager* GetSpeechInputManager() = 0; |
313 | 313 |
314 // Creates a new AccessTokenStore for gelocation. | 314 // Creates a new AccessTokenStore for gelocation. |
315 virtual AccessTokenStore* CreateAccessTokenStore() = 0; | 315 virtual AccessTokenStore* CreateAccessTokenStore() = 0; |
316 | 316 |
317 // Returns true if fast shutdown is possible. | 317 // Returns true if fast shutdown is possible. |
318 virtual bool IsFastShutdownPossible() = 0; | 318 virtual bool IsFastShutdownPossible() = 0; |
319 | 319 |
320 // Returns the WebKit preferences that are used by the renderer. | 320 // Returns the WebKit preferences that are used by the renderer. |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
362 // This is called on a worker thread. | 362 // This is called on a worker thread. |
363 virtual | 363 virtual |
364 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( | 364 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( |
365 const GURL& url) = 0; | 365 const GURL& url) = 0; |
366 #endif | 366 #endif |
367 }; | 367 }; |
368 | 368 |
369 } // namespace content | 369 } // namespace content |
370 | 370 |
371 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ | 371 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |