| 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 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 132 int notification_id) OVERRIDE; | 132 int notification_id) OVERRIDE; |
| 133 virtual bool CanCreateWindow( | 133 virtual bool CanCreateWindow( |
| 134 const GURL& opener_url, | 134 const GURL& opener_url, |
| 135 const GURL& source_origin, | 135 const GURL& source_origin, |
| 136 WindowContainerType container_type, | 136 WindowContainerType container_type, |
| 137 ResourceContext* context, | 137 ResourceContext* context, |
| 138 int render_process_id) OVERRIDE; | 138 int render_process_id) OVERRIDE; |
| 139 virtual std::string GetWorkerProcessTitle(const GURL& url, | 139 virtual std::string GetWorkerProcessTitle(const GURL& url, |
| 140 ResourceContext* context) OVERRIDE; | 140 ResourceContext* context) OVERRIDE; |
| 141 virtual void ResourceDispatcherHostCreated() OVERRIDE; | 141 virtual void ResourceDispatcherHostCreated() OVERRIDE; |
| 142 virtual SpeechInputManagerDelegate* GetSpeechInputManagerDelegate() OVERRIDE; | 142 virtual SpeechRecognitionManagerDelegate* |
| 143 GetSpeechRecognitionManagerDelegate() OVERRIDE; |
| 143 virtual ui::Clipboard* GetClipboard() OVERRIDE; | 144 virtual ui::Clipboard* GetClipboard() OVERRIDE; |
| 144 virtual net::NetLog* GetNetLog() OVERRIDE; | 145 virtual net::NetLog* GetNetLog() OVERRIDE; |
| 145 virtual AccessTokenStore* CreateAccessTokenStore() OVERRIDE; | 146 virtual AccessTokenStore* CreateAccessTokenStore() OVERRIDE; |
| 146 virtual bool IsFastShutdownPossible() OVERRIDE; | 147 virtual bool IsFastShutdownPossible() OVERRIDE; |
| 147 virtual void OverrideWebkitPrefs(RenderViewHost* rvh, | 148 virtual void OverrideWebkitPrefs(RenderViewHost* rvh, |
| 148 const GURL& url, | 149 const GURL& url, |
| 149 WebPreferences* prefs) OVERRIDE; | 150 WebPreferences* prefs) OVERRIDE; |
| 150 virtual void UpdateInspectorSetting(RenderViewHost* rvh, | 151 virtual void UpdateInspectorSetting(RenderViewHost* rvh, |
| 151 const std::string& key, | 152 const std::string& key, |
| 152 const std::string& value) OVERRIDE; | 153 const std::string& value) OVERRIDE; |
| (...skipping 23 matching lines...) Expand all Loading... |
| 176 private: | 177 private: |
| 177 // Temporary directory for GetDefaultDownloadDirectory. | 178 // Temporary directory for GetDefaultDownloadDirectory. |
| 178 ScopedTempDir download_dir_; | 179 ScopedTempDir download_dir_; |
| 179 | 180 |
| 180 DISALLOW_COPY_AND_ASSIGN(MockContentBrowserClient); | 181 DISALLOW_COPY_AND_ASSIGN(MockContentBrowserClient); |
| 181 }; | 182 }; |
| 182 | 183 |
| 183 } // namespace content | 184 } // namespace content |
| 184 | 185 |
| 185 #endif // CONTENT_BROWSER_MOCK_CONTENT_BROWSER_CLIENT_H_ | 186 #endif // CONTENT_BROWSER_MOCK_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |