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

Unified Diff: Source/modules/navigatorcontentutils/NavigatorContentUtils.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 | « no previous file | Source/modules/navigatorcontentutils/NavigatorContentUtils.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/navigatorcontentutils/NavigatorContentUtils.h
diff --git a/Source/modules/navigatorcontentutils/NavigatorContentUtils.h b/Source/modules/navigatorcontentutils/NavigatorContentUtils.h
index 41cc07c93763359a23467ef2110cb3ecf5482655..6ce509f4e0bee2aabae58b63dc7478f4c0d16a7c 100644
--- a/Source/modules/navigatorcontentutils/NavigatorContentUtils.h
+++ b/Source/modules/navigatorcontentutils/NavigatorContentUtils.h
@@ -27,7 +27,6 @@
#ifndef NavigatorContentUtils_h
#define NavigatorContentUtils_h
-#include "core/page/Page.h"
#include "modules/ModulesExport.h"
#include "modules/navigatorcontentutils/NavigatorContentUtilsClient.h"
#include "platform/Supplementable.h"
@@ -38,15 +37,15 @@
namespace blink {
class ExceptionState;
+class LocalFrame;
class Navigator;
-class Page;
-class MODULES_EXPORT NavigatorContentUtils final : public NoBaseWillBeGarbageCollectedFinalized<NavigatorContentUtils>, public WillBeHeapSupplement<Page> {
+class MODULES_EXPORT NavigatorContentUtils final : public NoBaseWillBeGarbageCollectedFinalized<NavigatorContentUtils>, public WillBeHeapSupplement<LocalFrame> {
WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(NavigatorContentUtils);
public:
virtual ~NavigatorContentUtils();
- static NavigatorContentUtils* from(Page&);
+ static NavigatorContentUtils* from(LocalFrame&);
static const char* supplementName();
static void registerProtocolHandler(Navigator&, const String& scheme, const String& url, const String& title, ExceptionState&);
@@ -55,7 +54,7 @@ public:
static PassOwnPtrWillBeRawPtr<NavigatorContentUtils> create(PassOwnPtr<NavigatorContentUtilsClient>);
- DEFINE_INLINE_VIRTUAL_TRACE() { WillBeHeapSupplement<Page>::trace(visitor); }
+ DEFINE_INLINE_VIRTUAL_TRACE() { WillBeHeapSupplement<LocalFrame>::trace(visitor); }
void setClientForTest(PassOwnPtr<NavigatorContentUtilsClient> client) { m_client = client; }
« no previous file with comments | « no previous file | Source/modules/navigatorcontentutils/NavigatorContentUtils.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698