| 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 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 144 ResourceContext* context) OVERRIDE; | 144 ResourceContext* context) OVERRIDE; |
| 145 virtual void ResourceDispatcherHostCreated() OVERRIDE; | 145 virtual void ResourceDispatcherHostCreated() OVERRIDE; |
| 146 virtual SpeechRecognitionManagerDelegate* | 146 virtual SpeechRecognitionManagerDelegate* |
| 147 GetSpeechRecognitionManagerDelegate() OVERRIDE; | 147 GetSpeechRecognitionManagerDelegate() OVERRIDE; |
| 148 virtual ui::Clipboard* GetClipboard() OVERRIDE; | 148 virtual ui::Clipboard* GetClipboard() OVERRIDE; |
| 149 virtual net::NetLog* GetNetLog() OVERRIDE; | 149 virtual net::NetLog* GetNetLog() OVERRIDE; |
| 150 virtual AccessTokenStore* CreateAccessTokenStore() OVERRIDE; | 150 virtual AccessTokenStore* CreateAccessTokenStore() OVERRIDE; |
| 151 virtual bool IsFastShutdownPossible() OVERRIDE; | 151 virtual bool IsFastShutdownPossible() OVERRIDE; |
| 152 virtual void OverrideWebkitPrefs(RenderViewHost* rvh, | 152 virtual void OverrideWebkitPrefs(RenderViewHost* rvh, |
| 153 const GURL& url, | 153 const GURL& url, |
| 154 WebPreferences* prefs) OVERRIDE; | 154 webkit_glue::WebPreferences* prefs) OVERRIDE; |
| 155 virtual void UpdateInspectorSetting(RenderViewHost* rvh, | 155 virtual void UpdateInspectorSetting(RenderViewHost* rvh, |
| 156 const std::string& key, | 156 const std::string& key, |
| 157 const std::string& value) OVERRIDE; | 157 const std::string& value) OVERRIDE; |
| 158 virtual void ClearInspectorSettings(RenderViewHost* rvh) OVERRIDE; | 158 virtual void ClearInspectorSettings(RenderViewHost* rvh) OVERRIDE; |
| 159 virtual void BrowserURLHandlerCreated(BrowserURLHandler* handler) OVERRIDE; | 159 virtual void BrowserURLHandlerCreated(BrowserURLHandler* handler) OVERRIDE; |
| 160 virtual void ClearCache(RenderViewHost* rvh) OVERRIDE; | 160 virtual void ClearCache(RenderViewHost* rvh) OVERRIDE; |
| 161 virtual void ClearCookies(RenderViewHost* rvh) OVERRIDE; | 161 virtual void ClearCookies(RenderViewHost* rvh) OVERRIDE; |
| 162 virtual FilePath GetDefaultDownloadDirectory() OVERRIDE; | 162 virtual FilePath GetDefaultDownloadDirectory() OVERRIDE; |
| 163 virtual std::string GetDefaultDownloadName() OVERRIDE; | 163 virtual std::string GetDefaultDownloadName() OVERRIDE; |
| 164 virtual bool AllowSocketAPI(BrowserContext* browser_context, | 164 virtual bool AllowSocketAPI(BrowserContext* browser_context, |
| (...skipping 16 matching lines...) Expand all Loading... |
| 181 private: | 181 private: |
| 182 // Temporary directory for GetDefaultDownloadDirectory. | 182 // Temporary directory for GetDefaultDownloadDirectory. |
| 183 ScopedTempDir download_dir_; | 183 ScopedTempDir download_dir_; |
| 184 | 184 |
| 185 DISALLOW_COPY_AND_ASSIGN(MockContentBrowserClient); | 185 DISALLOW_COPY_AND_ASSIGN(MockContentBrowserClient); |
| 186 }; | 186 }; |
| 187 | 187 |
| 188 } // namespace content | 188 } // namespace content |
| 189 | 189 |
| 190 #endif // CONTENT_BROWSER_MOCK_CONTENT_BROWSER_CLIENT_H_ | 190 #endif // CONTENT_BROWSER_MOCK_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |