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 CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 5 #ifndef CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
6 #define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 6 #define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
134 const GURL& url, content::ResourceContext* context) OVERRIDE; | 134 const GURL& url, content::ResourceContext* context) OVERRIDE; |
135 virtual void ResourceDispatcherHostCreated() OVERRIDE; | 135 virtual void ResourceDispatcherHostCreated() OVERRIDE; |
136 virtual content::SpeechInputManagerDelegate* | 136 virtual content::SpeechInputManagerDelegate* |
137 GetSpeechInputManagerDelegate() OVERRIDE; | 137 GetSpeechInputManagerDelegate() OVERRIDE; |
138 virtual ui::Clipboard* GetClipboard() OVERRIDE; | 138 virtual ui::Clipboard* GetClipboard() OVERRIDE; |
139 virtual MHTMLGenerationManager* GetMHTMLGenerationManager() OVERRIDE; | 139 virtual MHTMLGenerationManager* GetMHTMLGenerationManager() OVERRIDE; |
140 virtual net::NetLog* GetNetLog() OVERRIDE; | 140 virtual net::NetLog* GetNetLog() OVERRIDE; |
141 virtual content::AccessTokenStore* CreateAccessTokenStore() OVERRIDE; | 141 virtual content::AccessTokenStore* CreateAccessTokenStore() OVERRIDE; |
142 virtual bool IsFastShutdownPossible() OVERRIDE; | 142 virtual bool IsFastShutdownPossible() OVERRIDE; |
143 virtual void OverrideWebkitPrefs(RenderViewHost* rvh, | 143 virtual void OverrideWebkitPrefs(RenderViewHost* rvh, |
| 144 const GURL& url, |
144 WebPreferences* prefs) OVERRIDE; | 145 WebPreferences* prefs) OVERRIDE; |
145 virtual void UpdateInspectorSetting(RenderViewHost* rvh, | 146 virtual void UpdateInspectorSetting(RenderViewHost* rvh, |
146 const std::string& key, | 147 const std::string& key, |
147 const std::string& value) OVERRIDE; | 148 const std::string& value) OVERRIDE; |
148 virtual void ClearInspectorSettings(RenderViewHost* rvh) OVERRIDE; | 149 virtual void ClearInspectorSettings(RenderViewHost* rvh) OVERRIDE; |
149 virtual void BrowserURLHandlerCreated(BrowserURLHandler* handler) OVERRIDE; | 150 virtual void BrowserURLHandlerCreated(BrowserURLHandler* handler) OVERRIDE; |
150 virtual void ClearCache(RenderViewHost* rvh) OVERRIDE; | 151 virtual void ClearCache(RenderViewHost* rvh) OVERRIDE; |
151 virtual void ClearCookies(RenderViewHost* rvh) OVERRIDE; | 152 virtual void ClearCookies(RenderViewHost* rvh) OVERRIDE; |
152 virtual FilePath GetDefaultDownloadDirectory() OVERRIDE; | 153 virtual FilePath GetDefaultDownloadDirectory() OVERRIDE; |
153 virtual std::string GetDefaultDownloadName() OVERRIDE; | 154 virtual std::string GetDefaultDownloadName() OVERRIDE; |
(...skipping 14 matching lines...) Expand all Loading... |
168 private: | 169 private: |
169 // Set of origins that can use TCP/UDP private APIs from NaCl. | 170 // Set of origins that can use TCP/UDP private APIs from NaCl. |
170 std::set<std::string> allowed_socket_origins_; | 171 std::set<std::string> allowed_socket_origins_; |
171 | 172 |
172 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 173 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
173 }; | 174 }; |
174 | 175 |
175 } // namespace chrome | 176 } // namespace chrome |
176 | 177 |
177 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 178 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |