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 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
128 int render_view_id, | 128 int render_view_id, |
129 int notification_id) OVERRIDE; | 129 int notification_id) OVERRIDE; |
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 SpeechRecognitionManagerDelegate* |
| 139 GetSpeechRecognitionManagerDelegate() OVERRIDE; |
139 virtual ui::Clipboard* GetClipboard() OVERRIDE; | 140 virtual ui::Clipboard* GetClipboard() OVERRIDE; |
140 virtual MHTMLGenerationManager* GetMHTMLGenerationManager() OVERRIDE; | 141 virtual MHTMLGenerationManager* GetMHTMLGenerationManager() OVERRIDE; |
141 virtual net::NetLog* GetNetLog() OVERRIDE; | 142 virtual net::NetLog* GetNetLog() OVERRIDE; |
142 virtual AccessTokenStore* CreateAccessTokenStore() OVERRIDE; | 143 virtual AccessTokenStore* CreateAccessTokenStore() OVERRIDE; |
143 virtual bool IsFastShutdownPossible() OVERRIDE; | 144 virtual bool IsFastShutdownPossible() OVERRIDE; |
144 virtual void OverrideWebkitPrefs(RenderViewHost* rvh, | 145 virtual void OverrideWebkitPrefs(RenderViewHost* rvh, |
145 WebPreferences* prefs) OVERRIDE; | 146 WebPreferences* prefs) OVERRIDE; |
146 virtual void UpdateInspectorSetting(RenderViewHost* rvh, | 147 virtual void UpdateInspectorSetting(RenderViewHost* rvh, |
147 const std::string& key, | 148 const std::string& key, |
148 const std::string& value) OVERRIDE; | 149 const std::string& value) OVERRIDE; |
(...skipping 22 matching lines...) Expand all Loading... |
171 private: | 172 private: |
172 // Temporary directory for GetDefaultDownloadDirectory. | 173 // Temporary directory for GetDefaultDownloadDirectory. |
173 ScopedTempDir download_dir_; | 174 ScopedTempDir download_dir_; |
174 | 175 |
175 DISALLOW_COPY_AND_ASSIGN(MockContentBrowserClient); | 176 DISALLOW_COPY_AND_ASSIGN(MockContentBrowserClient); |
176 }; | 177 }; |
177 | 178 |
178 } // namespace content | 179 } // namespace content |
179 | 180 |
180 #endif // CONTENT_BROWSER_MOCK_CONTENT_BROWSER_CLIENT_H_ | 181 #endif // CONTENT_BROWSER_MOCK_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |