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

Unified Diff: Source/web/NavigatorContentUtilsClientImpl.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
Index: Source/web/NavigatorContentUtilsClientImpl.h
diff --git a/Source/web/NavigatorContentUtilsClientImpl.h b/Source/web/NavigatorContentUtilsClientImpl.h
index e8de7563da342eb1a92ec7ab2534290671096001..c2f6dd65c23b35ac601ca357a3a92ca9cd6c3195 100644
--- a/Source/web/NavigatorContentUtilsClientImpl.h
+++ b/Source/web/NavigatorContentUtilsClientImpl.h
@@ -10,11 +10,11 @@
namespace blink {
-class WebViewImpl;
+class WebLocalFrameImpl;
class NavigatorContentUtilsClientImpl final : public NavigatorContentUtilsClient {
public:
- static PassOwnPtr<NavigatorContentUtilsClientImpl> create(WebViewImpl*);
+ static PassOwnPtr<NavigatorContentUtilsClientImpl> create(WebLocalFrameImpl*);
~NavigatorContentUtilsClientImpl() override { }
void registerProtocolHandler(const String& scheme, const KURL&, const String& title) override;
@@ -22,9 +22,9 @@ public:
void unregisterProtocolHandler(const String& scheme, const KURL&) override;
private:
- explicit NavigatorContentUtilsClientImpl(WebViewImpl*);
+ explicit NavigatorContentUtilsClientImpl(WebLocalFrameImpl*);
- WebViewImpl* m_webView;
+ WebLocalFrameImpl* m_webFrame;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698