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

Unified Diff: Source/web/NavigatorContentUtilsClientImpl.h

Issue 331223002: NavigatorContentUtilsClientImpl has own files (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 6 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 | « Source/web/ChromeClientImpl.cpp ('k') | Source/web/NavigatorContentUtilsClientImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/NavigatorContentUtilsClientImpl.h
diff --git a/Source/web/NavigatorContentUtilsClientImpl.h b/Source/web/NavigatorContentUtilsClientImpl.h
new file mode 100644
index 0000000000000000000000000000000000000000..58b21b31ad0361f89dcf8a44fb796299d8cf7a6e
--- /dev/null
+++ b/Source/web/NavigatorContentUtilsClientImpl.h
@@ -0,0 +1,32 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef NavigatorContentUtilsClientImpl_h
+#define NavigatorContentUtilsClientImpl_h
+
+#include "modules/navigatorcontentutils/NavigatorContentUtilsClient.h"
+#include "platform/weborigin/KURL.h"
+
+namespace blink {
+
+class WebViewImpl;
+
+class NavigatorContentUtilsClientImpl FINAL : public WebCore::NavigatorContentUtilsClient {
+public:
+ static PassOwnPtr<NavigatorContentUtilsClientImpl> create(WebViewImpl*);
+ virtual ~NavigatorContentUtilsClientImpl() { }
+
+ virtual void registerProtocolHandler(const String& scheme, const WebCore::KURL& baseURL, const WebCore::KURL&, const String& title) OVERRIDE;
+ virtual CustomHandlersState isProtocolHandlerRegistered(const String& scheme, const WebCore::KURL& baseURL, const WebCore::KURL&) OVERRIDE;
+ virtual void unregisterProtocolHandler(const String& scheme, const WebCore::KURL& baseURL, const WebCore::KURL&) OVERRIDE;
+
+private:
+ explicit NavigatorContentUtilsClientImpl(WebViewImpl*);
+
+ WebViewImpl* m_webView;
+};
+
+} // namespace blink
+
+#endif // NavigatorContentUtilsClientImpl_h
« no previous file with comments | « Source/web/ChromeClientImpl.cpp ('k') | Source/web/NavigatorContentUtilsClientImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698