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 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 #include <utility> | 10 #include <utility> |
(...skipping 430 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
441 // to the embedder to update it if it wants. | 441 // to the embedder to update it if it wants. |
442 virtual void OverrideWebkitPrefs(RenderViewHost* render_view_host, | 442 virtual void OverrideWebkitPrefs(RenderViewHost* render_view_host, |
443 const GURL& url, | 443 const GURL& url, |
444 webkit_glue::WebPreferences* prefs) {} | 444 webkit_glue::WebPreferences* prefs) {} |
445 | 445 |
446 // Inspector setting was changed and should be persisted. | 446 // Inspector setting was changed and should be persisted. |
447 virtual void UpdateInspectorSetting(RenderViewHost* rvh, | 447 virtual void UpdateInspectorSetting(RenderViewHost* rvh, |
448 const std::string& key, | 448 const std::string& key, |
449 const std::string& value) {} | 449 const std::string& value) {} |
450 | 450 |
451 // Clear the Inspector settings. | |
452 virtual void ClearInspectorSettings(RenderViewHost* rvh) {} | |
453 | |
454 // Notifies that BrowserURLHandler has been created, so that the embedder can | 451 // Notifies that BrowserURLHandler has been created, so that the embedder can |
455 // optionally add their own handlers. | 452 // optionally add their own handlers. |
456 virtual void BrowserURLHandlerCreated(BrowserURLHandler* handler) {} | 453 virtual void BrowserURLHandlerCreated(BrowserURLHandler* handler) {} |
457 | 454 |
458 // Clears browser cache. | 455 // Clears browser cache. |
459 virtual void ClearCache(RenderViewHost* rvh) {} | 456 virtual void ClearCache(RenderViewHost* rvh) {} |
460 | 457 |
461 // Clears browser cookies. | 458 // Clears browser cookies. |
462 virtual void ClearCookies(RenderViewHost* rvh) {} | 459 virtual void ClearCookies(RenderViewHost* rvh) {} |
463 | 460 |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
521 // This is called on a worker thread. | 518 // This is called on a worker thread. |
522 virtual | 519 virtual |
523 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( | 520 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( |
524 const GURL& url); | 521 const GURL& url); |
525 #endif | 522 #endif |
526 }; | 523 }; |
527 | 524 |
528 } // namespace content | 525 } // namespace content |
529 | 526 |
530 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ | 527 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |