| 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_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ | 5 #ifndef CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ |
| 6 #define CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ | 6 #define CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 290 virtual net::NetLog* GetNetLog() = 0; | 290 virtual net::NetLog* GetNetLog() = 0; |
| 291 virtual speech_input::SpeechInputManager* GetSpeechInputManager() = 0; | 291 virtual speech_input::SpeechInputManager* GetSpeechInputManager() = 0; |
| 292 | 292 |
| 293 // Creates a new AccessTokenStore for gelocation. | 293 // Creates a new AccessTokenStore for gelocation. |
| 294 virtual AccessTokenStore* CreateAccessTokenStore() = 0; | 294 virtual AccessTokenStore* CreateAccessTokenStore() = 0; |
| 295 | 295 |
| 296 // Returns true if fast shutdown is possible. | 296 // Returns true if fast shutdown is possible. |
| 297 virtual bool IsFastShutdownPossible() = 0; | 297 virtual bool IsFastShutdownPossible() = 0; |
| 298 | 298 |
| 299 // Returns the WebKit preferences that are used by the renderer. | 299 // Returns the WebKit preferences that are used by the renderer. |
| 300 virtual WebPreferences GetWebkitPrefs(BrowserContext* browser_context, | 300 virtual WebPreferences GetWebkitPrefs(RenderViewHost* render_view_host) = 0; |
| 301 bool is_web_ui) = 0; | |
| 302 | 301 |
| 303 // Inspector setting was changed and should be persisted. | 302 // Inspector setting was changed and should be persisted. |
| 304 virtual void UpdateInspectorSetting(RenderViewHost* rvh, | 303 virtual void UpdateInspectorSetting(RenderViewHost* rvh, |
| 305 const std::string& key, | 304 const std::string& key, |
| 306 const std::string& value) = 0; | 305 const std::string& value) = 0; |
| 307 | 306 |
| 308 // Clear the Inspector settings. | 307 // Clear the Inspector settings. |
| 309 virtual void ClearInspectorSettings(RenderViewHost* rvh) = 0; | 308 virtual void ClearInspectorSettings(RenderViewHost* rvh) = 0; |
| 310 | 309 |
| 311 // Notifies that BrowserURLHandler has been created, so that the embedder can | 310 // Notifies that BrowserURLHandler has been created, so that the embedder can |
| (...skipping 30 matching lines...) Expand all Loading... |
| 342 // This is called on a worker thread. | 341 // This is called on a worker thread. |
| 343 virtual | 342 virtual |
| 344 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( | 343 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( |
| 345 const GURL& url) = 0; | 344 const GURL& url) = 0; |
| 346 #endif | 345 #endif |
| 347 }; | 346 }; |
| 348 | 347 |
| 349 } // namespace content | 348 } // namespace content |
| 350 | 349 |
| 351 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ | 350 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |