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