| 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_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 #include <utility> | 10 #include <utility> |
| (...skipping 317 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 328 // Creates a new AccessTokenStore for gelocation. | 328 // Creates a new AccessTokenStore for gelocation. |
| 329 virtual AccessTokenStore* CreateAccessTokenStore() = 0; | 329 virtual AccessTokenStore* CreateAccessTokenStore() = 0; |
| 330 | 330 |
| 331 // Returns true if fast shutdown is possible. | 331 // Returns true if fast shutdown is possible. |
| 332 virtual bool IsFastShutdownPossible() = 0; | 332 virtual bool IsFastShutdownPossible() = 0; |
| 333 | 333 |
| 334 // Called by WebContents to override the WebKit preferences that are used by | 334 // Called by WebContents to override the WebKit preferences that are used by |
| 335 // the renderer. The content layer will add its own settings, and then it's up | 335 // the renderer. The content layer will add its own settings, and then it's up |
| 336 // to the embedder to update it if it wants. | 336 // to the embedder to update it if it wants. |
| 337 virtual void OverrideWebkitPrefs(RenderViewHost* render_view_host, | 337 virtual void OverrideWebkitPrefs(RenderViewHost* render_view_host, |
| 338 const GURL& url, |
| 338 WebPreferences* prefs) = 0; | 339 WebPreferences* prefs) = 0; |
| 339 | 340 |
| 340 // Inspector setting was changed and should be persisted. | 341 // Inspector setting was changed and should be persisted. |
| 341 virtual void UpdateInspectorSetting(RenderViewHost* rvh, | 342 virtual void UpdateInspectorSetting(RenderViewHost* rvh, |
| 342 const std::string& key, | 343 const std::string& key, |
| 343 const std::string& value) = 0; | 344 const std::string& value) = 0; |
| 344 | 345 |
| 345 // Clear the Inspector settings. | 346 // Clear the Inspector settings. |
| 346 virtual void ClearInspectorSettings(RenderViewHost* rvh) = 0; | 347 virtual void ClearInspectorSettings(RenderViewHost* rvh) = 0; |
| 347 | 348 |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 382 // This is called on a worker thread. | 383 // This is called on a worker thread. |
| 383 virtual | 384 virtual |
| 384 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( | 385 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( |
| 385 const GURL& url) = 0; | 386 const GURL& url) = 0; |
| 386 #endif | 387 #endif |
| 387 }; | 388 }; |
| 388 | 389 |
| 389 } // namespace content | 390 } // namespace content |
| 390 | 391 |
| 391 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ | 392 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |