| 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> |
| 11 | 11 |
| 12 #include "base/callback.h" | 12 #include "base/callback.h" |
| 13 #include "content/public/common/window_container_type.h" | 13 #include "content/public/common/window_container_type.h" |
| 14 #include "content/public/common/content_client.h" | 14 #include "content/public/common/content_client.h" |
| 15 #include "third_party/WebKit/Source/WebKit/chromium/public/WebNotificationPresen
ter.h" | 15 #include "third_party/WebKit/Source/WebKit/chromium/public/WebNotificationPresen
ter.h" |
| 16 | 16 |
| 17 class AccessTokenStore; | 17 class AccessTokenStore; |
| 18 class BrowserURLHandler; | 18 class BrowserURLHandler; |
| 19 class CommandLine; | 19 class CommandLine; |
| 20 class DevToolsManager; | |
| 21 class FilePath; | 20 class FilePath; |
| 22 class GURL; | 21 class GURL; |
| 23 class MHTMLGenerationManager; | 22 class MHTMLGenerationManager; |
| 24 class PluginProcessHost; | 23 class PluginProcessHost; |
| 25 class QuotaPermissionContext; | 24 class QuotaPermissionContext; |
| 26 class RenderViewHost; | 25 class RenderViewHost; |
| 27 class RenderWidgetHost; | 26 class RenderWidgetHost; |
| 28 class RenderWidgetHostView; | 27 class RenderWidgetHostView; |
| 29 class ResourceDispatcherHost; | 28 class ResourceDispatcherHost; |
| 30 class SiteInstance; | 29 class SiteInstance; |
| (...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 301 // 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 |
| 302 // 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. |
| 303 // This is called on the IO thread. | 302 // This is called on the IO thread. |
| 304 virtual std::string GetWorkerProcessTitle( | 303 virtual std::string GetWorkerProcessTitle( |
| 305 const GURL& url, const content::ResourceContext& context) = 0; | 304 const GURL& url, const content::ResourceContext& context) = 0; |
| 306 | 305 |
| 307 // Getters for common objects. | 306 // Getters for common objects. |
| 308 virtual ResourceDispatcherHost* GetResourceDispatcherHost() = 0; | 307 virtual ResourceDispatcherHost* GetResourceDispatcherHost() = 0; |
| 309 virtual ui::Clipboard* GetClipboard() = 0; | 308 virtual ui::Clipboard* GetClipboard() = 0; |
| 310 virtual MHTMLGenerationManager* GetMHTMLGenerationManager() = 0; | 309 virtual MHTMLGenerationManager* GetMHTMLGenerationManager() = 0; |
| 311 virtual DevToolsManager* GetDevToolsManager() = 0; | |
| 312 virtual net::NetLog* GetNetLog() = 0; | 310 virtual net::NetLog* GetNetLog() = 0; |
| 313 virtual speech_input::SpeechInputManager* GetSpeechInputManager() = 0; | 311 virtual speech_input::SpeechInputManager* GetSpeechInputManager() = 0; |
| 314 | 312 |
| 315 // Creates a new AccessTokenStore for gelocation. | 313 // Creates a new AccessTokenStore for gelocation. |
| 316 virtual AccessTokenStore* CreateAccessTokenStore() = 0; | 314 virtual AccessTokenStore* CreateAccessTokenStore() = 0; |
| 317 | 315 |
| 318 // Returns true if fast shutdown is possible. | 316 // Returns true if fast shutdown is possible. |
| 319 virtual bool IsFastShutdownPossible() = 0; | 317 virtual bool IsFastShutdownPossible() = 0; |
| 320 | 318 |
| 321 // Returns the WebKit preferences that are used by the renderer. | 319 // Returns the WebKit preferences that are used by the renderer. |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 363 // This is called on a worker thread. | 361 // This is called on a worker thread. |
| 364 virtual | 362 virtual |
| 365 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( | 363 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( |
| 366 const GURL& url) = 0; | 364 const GURL& url) = 0; |
| 367 #endif | 365 #endif |
| 368 }; | 366 }; |
| 369 | 367 |
| 370 } // namespace content | 368 } // namespace content |
| 371 | 369 |
| 372 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ | 370 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |