| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 130 virtual bool CanCreateWindow( | 130 virtual bool CanCreateWindow( |
| 131 const GURL& source_origin, | 131 const GURL& source_origin, |
| 132 WindowContainerType container_type, | 132 WindowContainerType container_type, |
| 133 content::ResourceContext* context, | 133 content::ResourceContext* context, |
| 134 int render_process_id) OVERRIDE; | 134 int render_process_id) OVERRIDE; |
| 135 virtual std::string GetWorkerProcessTitle( | 135 virtual std::string GetWorkerProcessTitle( |
| 136 const GURL& url, content::ResourceContext* context) OVERRIDE; | 136 const GURL& url, content::ResourceContext* context) OVERRIDE; |
| 137 virtual void ResourceDispatcherHostCreated() OVERRIDE; | 137 virtual void ResourceDispatcherHostCreated() OVERRIDE; |
| 138 virtual SpeechInputManagerDelegate* GetSpeechInputManagerDelegate() OVERRIDE; | 138 virtual SpeechInputManagerDelegate* GetSpeechInputManagerDelegate() OVERRIDE; |
| 139 virtual ui::Clipboard* GetClipboard() OVERRIDE; | 139 virtual ui::Clipboard* GetClipboard() OVERRIDE; |
| 140 virtual MHTMLGenerationManager* GetMHTMLGenerationManager() OVERRIDE; | |
| 141 virtual net::NetLog* GetNetLog() OVERRIDE; | 140 virtual net::NetLog* GetNetLog() OVERRIDE; |
| 142 virtual AccessTokenStore* CreateAccessTokenStore() OVERRIDE; | 141 virtual AccessTokenStore* CreateAccessTokenStore() OVERRIDE; |
| 143 virtual bool IsFastShutdownPossible() OVERRIDE; | 142 virtual bool IsFastShutdownPossible() OVERRIDE; |
| 144 virtual void OverrideWebkitPrefs(RenderViewHost* rvh, | 143 virtual void OverrideWebkitPrefs(RenderViewHost* rvh, |
| 145 WebPreferences* prefs) OVERRIDE; | 144 WebPreferences* prefs) OVERRIDE; |
| 146 virtual void UpdateInspectorSetting(RenderViewHost* rvh, | 145 virtual void UpdateInspectorSetting(RenderViewHost* rvh, |
| 147 const std::string& key, | 146 const std::string& key, |
| 148 const std::string& value) OVERRIDE; | 147 const std::string& value) OVERRIDE; |
| 149 virtual void ClearInspectorSettings(RenderViewHost* rvh) OVERRIDE; | 148 virtual void ClearInspectorSettings(RenderViewHost* rvh) OVERRIDE; |
| 150 virtual void BrowserURLHandlerCreated(BrowserURLHandler* handler) OVERRIDE; | 149 virtual void BrowserURLHandlerCreated(BrowserURLHandler* handler) OVERRIDE; |
| (...skipping 20 matching lines...) Expand all Loading... |
| 171 private: | 170 private: |
| 172 // Temporary directory for GetDefaultDownloadDirectory. | 171 // Temporary directory for GetDefaultDownloadDirectory. |
| 173 ScopedTempDir download_dir_; | 172 ScopedTempDir download_dir_; |
| 174 | 173 |
| 175 DISALLOW_COPY_AND_ASSIGN(MockContentBrowserClient); | 174 DISALLOW_COPY_AND_ASSIGN(MockContentBrowserClient); |
| 176 }; | 175 }; |
| 177 | 176 |
| 178 } // namespace content | 177 } // namespace content |
| 179 | 178 |
| 180 #endif // CONTENT_BROWSER_MOCK_CONTENT_BROWSER_CLIENT_H_ | 179 #endif // CONTENT_BROWSER_MOCK_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |