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

Unified Diff: public/web/WebViewClient.h

Issue 1226113002: Move protocol registration from WebViewClient to WebFrameClient, part 2/3. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « public/web/WebFrameClient.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebViewClient.h
diff --git a/public/web/WebViewClient.h b/public/web/WebViewClient.h
index 38cfe651e05f3bb5de163e63fdd5fdce37736e7d..528364355bb3785a8d4db2efd906502e0198005d 100644
--- a/public/web/WebViewClient.h
+++ b/public/web/WebViewClient.h
@@ -40,7 +40,6 @@
#include "WebFileChooserCompletion.h"
#include "WebFileChooserParams.h"
#include "WebFrame.h"
-#include "WebNavigatorContentUtilsClient.h"
#include "WebPopupType.h"
#include "WebTextAffinity.h"
#include "WebTextDirection.h"
@@ -245,22 +244,6 @@ public:
// Informs the browser that the page scale has changed.
virtual void pageScaleFactorChanged() { }
- // Navigator Content Utils --------------------------------------------
-
- // Registers a new URL handler for the given protocol.
- virtual void registerProtocolHandler(const WebString& scheme,
- const WebURL& url,
- const WebString& title) { }
-
- // Unregisters a given URL handler for the given protocol.
- virtual void unregisterProtocolHandler(const WebString& scheme, const WebURL& url) { }
-
- // Check if a given URL handler is registered for the given protocol.
- virtual WebCustomHandlersState isProtocolHandlerRegistered(const WebString& scheme, const WebURL& url)
- {
- return WebCustomHandlersNew;
- }
-
// Visibility -----------------------------------------------------------
« no previous file with comments | « public/web/WebFrameClient.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698