| 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 273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 284 WindowContainerType container_type, | 284 WindowContainerType container_type, |
| 285 const content::ResourceContext& context, | 285 const content::ResourceContext& context, |
| 286 int render_process_id) = 0; | 286 int render_process_id) = 0; |
| 287 | 287 |
| 288 // Returns a title string to use in the task manager for a process host with | 288 // Returns a title string to use in the task manager for a process host with |
| 289 // the given URL, or the empty string to fall back to the default logic. | 289 // the given URL, or the empty string to fall back to the default logic. |
| 290 // This is called on the IO thread. | 290 // This is called on the IO thread. |
| 291 virtual std::string GetWorkerProcessTitle( | 291 virtual std::string GetWorkerProcessTitle( |
| 292 const GURL& url, const content::ResourceContext& context) = 0; | 292 const GURL& url, const content::ResourceContext& context) = 0; |
| 293 | 293 |
| 294 // Notifies the embedder that the ResourceDispatcherHost has been created. |
| 295 // This is when it can optionally add a delegate or ResourceQueueDelegates. |
| 296 virtual void ResourceDispatcherHostCreated() = 0; |
| 297 |
| 294 // Getters for common objects. | 298 // Getters for common objects. |
| 295 virtual ResourceDispatcherHost* GetResourceDispatcherHost() = 0; | |
| 296 virtual ui::Clipboard* GetClipboard() = 0; | 299 virtual ui::Clipboard* GetClipboard() = 0; |
| 297 virtual MHTMLGenerationManager* GetMHTMLGenerationManager() = 0; | 300 virtual MHTMLGenerationManager* GetMHTMLGenerationManager() = 0; |
| 298 virtual net::NetLog* GetNetLog() = 0; | 301 virtual net::NetLog* GetNetLog() = 0; |
| 299 virtual speech_input::SpeechInputManager* GetSpeechInputManager() = 0; | 302 virtual speech_input::SpeechInputManager* GetSpeechInputManager() = 0; |
| 300 | 303 |
| 301 // Creates a new AccessTokenStore for gelocation. | 304 // Creates a new AccessTokenStore for gelocation. |
| 302 virtual AccessTokenStore* CreateAccessTokenStore() = 0; | 305 virtual AccessTokenStore* CreateAccessTokenStore() = 0; |
| 303 | 306 |
| 304 // Returns true if fast shutdown is possible. | 307 // Returns true if fast shutdown is possible. |
| 305 virtual bool IsFastShutdownPossible() = 0; | 308 virtual bool IsFastShutdownPossible() = 0; |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 349 // This is called on a worker thread. | 352 // This is called on a worker thread. |
| 350 virtual | 353 virtual |
| 351 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( | 354 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( |
| 352 const GURL& url) = 0; | 355 const GURL& url) = 0; |
| 353 #endif | 356 #endif |
| 354 }; | 357 }; |
| 355 | 358 |
| 356 } // namespace content | 359 } // namespace content |
| 357 | 360 |
| 358 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ | 361 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |