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 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 virtual std::string GetWorkerProcessTitle( | 113 virtual std::string GetWorkerProcessTitle( |
114 const GURL& url, const content::ResourceContext& context) OVERRIDE; | 114 const GURL& url, const content::ResourceContext& context) OVERRIDE; |
115 virtual ResourceDispatcherHost* GetResourceDispatcherHost() OVERRIDE; | 115 virtual ResourceDispatcherHost* GetResourceDispatcherHost() OVERRIDE; |
116 virtual ui::Clipboard* GetClipboard() OVERRIDE; | 116 virtual ui::Clipboard* GetClipboard() OVERRIDE; |
117 virtual MHTMLGenerationManager* GetMHTMLGenerationManager() OVERRIDE; | 117 virtual MHTMLGenerationManager* GetMHTMLGenerationManager() OVERRIDE; |
118 virtual DevToolsManager* GetDevToolsManager() OVERRIDE; | 118 virtual DevToolsManager* GetDevToolsManager() OVERRIDE; |
119 virtual net::NetLog* GetNetLog() OVERRIDE; | 119 virtual net::NetLog* GetNetLog() OVERRIDE; |
120 virtual speech_input::SpeechInputManager* GetSpeechInputManager() OVERRIDE; | 120 virtual speech_input::SpeechInputManager* GetSpeechInputManager() OVERRIDE; |
121 virtual AccessTokenStore* CreateAccessTokenStore() OVERRIDE; | 121 virtual AccessTokenStore* CreateAccessTokenStore() OVERRIDE; |
122 virtual bool IsFastShutdownPossible() OVERRIDE; | 122 virtual bool IsFastShutdownPossible() OVERRIDE; |
123 virtual WebPreferences GetWebkitPrefs( | 123 virtual WebPreferences GetWebkitPrefs(RenderViewHost* rvh) OVERRIDE; |
124 content::BrowserContext* browser_context, | |
125 bool is_web_ui) OVERRIDE; | |
126 virtual void UpdateInspectorSetting(RenderViewHost* rvh, | 124 virtual void UpdateInspectorSetting(RenderViewHost* rvh, |
127 const std::string& key, | 125 const std::string& key, |
128 const std::string& value) OVERRIDE; | 126 const std::string& value) OVERRIDE; |
129 virtual void ClearInspectorSettings(RenderViewHost* rvh) OVERRIDE; | 127 virtual void ClearInspectorSettings(RenderViewHost* rvh) OVERRIDE; |
130 virtual void BrowserURLHandlerCreated(BrowserURLHandler* handler) OVERRIDE; | 128 virtual void BrowserURLHandlerCreated(BrowserURLHandler* handler) OVERRIDE; |
131 virtual void ClearCache(RenderViewHost* rvh) OVERRIDE; | 129 virtual void ClearCache(RenderViewHost* rvh) OVERRIDE; |
132 virtual void ClearCookies(RenderViewHost* rvh) OVERRIDE; | 130 virtual void ClearCookies(RenderViewHost* rvh) OVERRIDE; |
133 virtual FilePath GetDefaultDownloadDirectory() OVERRIDE; | 131 virtual FilePath GetDefaultDownloadDirectory() OVERRIDE; |
134 virtual std::string GetDefaultDownloadName() OVERRIDE; | 132 virtual std::string GetDefaultDownloadName() OVERRIDE; |
135 | 133 |
(...skipping 14 matching lines...) Expand all Loading... |
150 private: | 148 private: |
151 // Temporary directory for GetDefaultDownloadDirectory. | 149 // Temporary directory for GetDefaultDownloadDirectory. |
152 ScopedTempDir download_dir_; | 150 ScopedTempDir download_dir_; |
153 | 151 |
154 DISALLOW_COPY_AND_ASSIGN(MockContentBrowserClient); | 152 DISALLOW_COPY_AND_ASSIGN(MockContentBrowserClient); |
155 }; | 153 }; |
156 | 154 |
157 } // namespace content | 155 } // namespace content |
158 | 156 |
159 #endif // CONTENT_BROWSER_MOCK_CONTENT_BROWSER_CLIENT_H_ | 157 #endif // CONTENT_BROWSER_MOCK_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |