Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(367)

Side by Side Diff: content/public/browser/content_browser_client.h

Issue 1039543003: [DevTools] Move network protocol handler to RenderFrameHost. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix android_webview compile Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/browser/devtools/render_frame_devtools_agent_host.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 487 matching lines...) Expand 10 before | Expand all | Expand 10 after
498 // the renderer. The content layer will add its own settings, and then it's up 498 // the renderer. The content layer will add its own settings, and then it's up
499 // to the embedder to update it if it wants. 499 // to the embedder to update it if it wants.
500 virtual void OverrideWebkitPrefs(RenderViewHost* render_view_host, 500 virtual void OverrideWebkitPrefs(RenderViewHost* render_view_host,
501 WebPreferences* prefs) {} 501 WebPreferences* prefs) {}
502 502
503 // Notifies that BrowserURLHandler has been created, so that the embedder can 503 // Notifies that BrowserURLHandler has been created, so that the embedder can
504 // optionally add their own handlers. 504 // optionally add their own handlers.
505 virtual void BrowserURLHandlerCreated(BrowserURLHandler* handler) {} 505 virtual void BrowserURLHandlerCreated(BrowserURLHandler* handler) {}
506 506
507 // Clears browser cache. 507 // Clears browser cache.
508 virtual void ClearCache(RenderViewHost* rvh) {} 508 virtual void ClearCache(RenderFrameHost* rfh) {}
509 509
510 // Clears browser cookies. 510 // Clears browser cookies.
511 virtual void ClearCookies(RenderViewHost* rvh) {} 511 virtual void ClearCookies(RenderFrameHost* rfh) {}
512 512
513 // Returns the default download directory. 513 // Returns the default download directory.
514 // This can be called on any thread. 514 // This can be called on any thread.
515 virtual base::FilePath GetDefaultDownloadDirectory(); 515 virtual base::FilePath GetDefaultDownloadDirectory();
516 516
517 // Returns the default filename used in downloads when we have no idea what 517 // Returns the default filename used in downloads when we have no idea what
518 // else we should do with the file. 518 // else we should do with the file.
519 virtual std::string GetDefaultDownloadName(); 519 virtual std::string GetDefaultDownloadName();
520 520
521 // Notification that a pepper plugin has just been spawned. This allows the 521 // Notification that a pepper plugin has just been spawned. This allows the
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
647 // Allows an embedder to provide its own ExternalVideoSurfaceContainer 647 // Allows an embedder to provide its own ExternalVideoSurfaceContainer
648 // implementation. Return nullptr to disable external surface video. 648 // implementation. Return nullptr to disable external surface video.
649 virtual ExternalVideoSurfaceContainer* 649 virtual ExternalVideoSurfaceContainer*
650 OverrideCreateExternalVideoSurfaceContainer(WebContents* web_contents); 650 OverrideCreateExternalVideoSurfaceContainer(WebContents* web_contents);
651 #endif 651 #endif
652 }; 652 };
653 653
654 } // namespace content 654 } // namespace content
655 655
656 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 656 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « content/browser/devtools/render_frame_devtools_agent_host.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698