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 CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 5 #ifndef CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
6 #define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 6 #define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 const GURL& source_url, | 92 const GURL& source_url, |
93 WindowContainerType container_type, | 93 WindowContainerType container_type, |
94 const content::ResourceContext& context) OVERRIDE; | 94 const content::ResourceContext& context) OVERRIDE; |
95 virtual std::string GetWorkerProcessTitle( | 95 virtual std::string GetWorkerProcessTitle( |
96 const GURL& url, const content::ResourceContext& context) OVERRIDE; | 96 const GURL& url, const content::ResourceContext& context) OVERRIDE; |
97 virtual ResourceDispatcherHost* GetResourceDispatcherHost() OVERRIDE; | 97 virtual ResourceDispatcherHost* GetResourceDispatcherHost() OVERRIDE; |
98 virtual ui::Clipboard* GetClipboard() OVERRIDE; | 98 virtual ui::Clipboard* GetClipboard() OVERRIDE; |
99 virtual MHTMLGenerationManager* GetMHTMLGenerationManager() OVERRIDE; | 99 virtual MHTMLGenerationManager* GetMHTMLGenerationManager() OVERRIDE; |
100 virtual DevToolsManager* GetDevToolsManager() OVERRIDE; | 100 virtual DevToolsManager* GetDevToolsManager() OVERRIDE; |
101 virtual net::NetLog* GetNetLog() OVERRIDE; | 101 virtual net::NetLog* GetNetLog() OVERRIDE; |
| 102 virtual speech_input::SpeechInputManager* GetSpeechInputManager() OVERRIDE; |
102 virtual bool IsFastShutdownPossible() OVERRIDE; | 103 virtual bool IsFastShutdownPossible() OVERRIDE; |
103 virtual WebPreferences GetWebkitPrefs( | 104 virtual WebPreferences GetWebkitPrefs( |
104 content::BrowserContext* browser_context, | 105 content::BrowserContext* browser_context, |
105 bool is_web_ui) OVERRIDE; | 106 bool is_web_ui) OVERRIDE; |
106 virtual void UpdateInspectorSetting(RenderViewHost* rvh, | 107 virtual void UpdateInspectorSetting(RenderViewHost* rvh, |
107 const std::string& key, | 108 const std::string& key, |
108 const std::string& value) OVERRIDE; | 109 const std::string& value) OVERRIDE; |
109 virtual void ClearInspectorSettings(RenderViewHost* rvh) OVERRIDE; | 110 virtual void ClearInspectorSettings(RenderViewHost* rvh) OVERRIDE; |
110 virtual void BrowserURLHandlerCreated(BrowserURLHandler* handler) OVERRIDE; | 111 virtual void BrowserURLHandlerCreated(BrowserURLHandler* handler) OVERRIDE; |
111 virtual void ClearCache(RenderViewHost* rvh) OVERRIDE; | 112 virtual void ClearCache(RenderViewHost* rvh) OVERRIDE; |
112 virtual void ClearCookies(RenderViewHost* rvh) OVERRIDE; | 113 virtual void ClearCookies(RenderViewHost* rvh) OVERRIDE; |
113 virtual FilePath GetDefaultDownloadDirectory() OVERRIDE; | 114 virtual FilePath GetDefaultDownloadDirectory() OVERRIDE; |
114 virtual net::URLRequestContextGetter* | 115 virtual net::URLRequestContextGetter* |
115 GetDefaultRequestContextDeprecatedCrBug64339() OVERRIDE; | 116 GetDefaultRequestContextDeprecatedCrBug64339() OVERRIDE; |
116 | 117 |
117 #if defined(OS_POSIX) && !defined(OS_MACOSX) | 118 #if defined(OS_POSIX) && !defined(OS_MACOSX) |
118 // Can return an optional fd for crash handling, otherwise returns -1. | 119 // Can return an optional fd for crash handling, otherwise returns -1. |
119 virtual int GetCrashSignalFD(const std::string& process_type) OVERRIDE; | 120 virtual int GetCrashSignalFD(const std::string& process_type) OVERRIDE; |
120 #endif | 121 #endif |
121 #if defined(USE_NSS) | 122 #if defined(USE_NSS) |
122 virtual | 123 virtual |
123 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( | 124 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( |
124 const GURL& url) OVERRIDE; | 125 const GURL& url) OVERRIDE; |
125 #endif | 126 #endif |
126 }; | 127 }; |
127 | 128 |
128 } // namespace chrome | 129 } // namespace chrome |
129 | 130 |
130 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 131 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |