| 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 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 123 virtual bool CanCreateWindow( | 123 virtual bool CanCreateWindow( |
| 124 const GURL& source_origin, | 124 const GURL& source_origin, |
| 125 WindowContainerType container_type, | 125 WindowContainerType container_type, |
| 126 const content::ResourceContext& context, | 126 const content::ResourceContext& context, |
| 127 int render_process_id) OVERRIDE; | 127 int render_process_id) OVERRIDE; |
| 128 virtual std::string GetWorkerProcessTitle( | 128 virtual std::string GetWorkerProcessTitle( |
| 129 const GURL& url, const content::ResourceContext& context) OVERRIDE; | 129 const GURL& url, const content::ResourceContext& context) OVERRIDE; |
| 130 virtual ResourceDispatcherHost* GetResourceDispatcherHost() OVERRIDE; | 130 virtual ResourceDispatcherHost* GetResourceDispatcherHost() OVERRIDE; |
| 131 virtual ui::Clipboard* GetClipboard() OVERRIDE; | 131 virtual ui::Clipboard* GetClipboard() OVERRIDE; |
| 132 virtual MHTMLGenerationManager* GetMHTMLGenerationManager() OVERRIDE; | 132 virtual MHTMLGenerationManager* GetMHTMLGenerationManager() OVERRIDE; |
| 133 virtual DevToolsManager* GetDevToolsManager() OVERRIDE; | |
| 134 virtual net::NetLog* GetNetLog() OVERRIDE; | 133 virtual net::NetLog* GetNetLog() OVERRIDE; |
| 135 virtual speech_input::SpeechInputManager* GetSpeechInputManager() OVERRIDE; | 134 virtual speech_input::SpeechInputManager* GetSpeechInputManager() OVERRIDE; |
| 136 virtual AccessTokenStore* CreateAccessTokenStore() OVERRIDE; | 135 virtual AccessTokenStore* CreateAccessTokenStore() OVERRIDE; |
| 137 virtual bool IsFastShutdownPossible() OVERRIDE; | 136 virtual bool IsFastShutdownPossible() OVERRIDE; |
| 138 virtual WebPreferences GetWebkitPrefs(RenderViewHost* rvh) OVERRIDE; | 137 virtual WebPreferences GetWebkitPrefs(RenderViewHost* rvh) OVERRIDE; |
| 139 virtual void UpdateInspectorSetting(RenderViewHost* rvh, | 138 virtual void UpdateInspectorSetting(RenderViewHost* rvh, |
| 140 const std::string& key, | 139 const std::string& key, |
| 141 const std::string& value) OVERRIDE; | 140 const std::string& value) OVERRIDE; |
| 142 virtual void ClearInspectorSettings(RenderViewHost* rvh) OVERRIDE; | 141 virtual void ClearInspectorSettings(RenderViewHost* rvh) OVERRIDE; |
| 143 virtual void BrowserURLHandlerCreated(BrowserURLHandler* handler) OVERRIDE; | 142 virtual void BrowserURLHandlerCreated(BrowserURLHandler* handler) OVERRIDE; |
| (...skipping 19 matching lines...) Expand all Loading... |
| 163 private: | 162 private: |
| 164 // Temporary directory for GetDefaultDownloadDirectory. | 163 // Temporary directory for GetDefaultDownloadDirectory. |
| 165 ScopedTempDir download_dir_; | 164 ScopedTempDir download_dir_; |
| 166 | 165 |
| 167 DISALLOW_COPY_AND_ASSIGN(MockContentBrowserClient); | 166 DISALLOW_COPY_AND_ASSIGN(MockContentBrowserClient); |
| 168 }; | 167 }; |
| 169 | 168 |
| 170 } // namespace content | 169 } // namespace content |
| 171 | 170 |
| 172 #endif // CONTENT_BROWSER_MOCK_CONTENT_BROWSER_CLIENT_H_ | 171 #endif // CONTENT_BROWSER_MOCK_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |