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

Unified Diff: third_party/WebKit/Source/core/frame/LocalFrame.h

Issue 2877893002: Make UseCounter take a LocaFrame instead of any Frame (Closed)
Patch Set: Fix compile Created 3 years, 7 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 | « third_party/WebKit/Source/core/frame/Frame.cpp ('k') | third_party/WebKit/Source/core/frame/LocalFrame.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/frame/LocalFrame.h
diff --git a/third_party/WebKit/Source/core/frame/LocalFrame.h b/third_party/WebKit/Source/core/frame/LocalFrame.h
index a2be0d23f1f7591ff1ff984c792a16916d32a7cf..d29aea93f4fc45ca49f5bbc9166070b8e65e7dbd 100644
--- a/third_party/WebKit/Source/core/frame/LocalFrame.h
+++ b/third_party/WebKit/Source/core/frame/LocalFrame.h
@@ -220,6 +220,8 @@ class CORE_EXPORT LocalFrame final : public Frame,
bool IsNavigationAllowed() const { return navigation_disable_count_ == 0; }
+ bool CanNavigate(const Frame&);
+
InterfaceProvider* GetInterfaceProvider() { return interface_provider_; }
InterfaceRegistry* GetInterfaceRegistry() { return interface_registry_; }
@@ -270,6 +272,8 @@ class CORE_EXPORT LocalFrame final : public Frame,
void EnableNavigation() { --navigation_disable_count_; }
void DisableNavigation() { ++navigation_disable_count_; }
+ bool CanNavigateWithoutFramebusting(const Frame&, String& error_reason);
+
std::unique_ptr<WebFrameScheduler> frame_scheduler_;
mutable FrameLoader loader_;
« no previous file with comments | « third_party/WebKit/Source/core/frame/Frame.cpp ('k') | third_party/WebKit/Source/core/frame/LocalFrame.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698