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

Unified Diff: Source/core/frame/Frame.h

Issue 799923006: Make canNavigate() OOPI-friendly (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years 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/core/frame/Frame.h
diff --git a/Source/core/frame/Frame.h b/Source/core/frame/Frame.h
index 8c72c8b18225e980ecaa909b9cce10f2bd158000..97d33fe0b1bddd9765dd542bbfd4bc580724211d 100644
--- a/Source/core/frame/Frame.h
+++ b/Source/core/frame/Frame.h
@@ -86,6 +86,11 @@ public:
virtual SecurityContext* securityContext() const = 0;
+ Frame* findFrameForNavigation(const AtomicString& name, Frame* activeFrame);
+
+ bool canNavigate(const Frame&);
+ virtual void printNavigationErrorMessage(const Frame&, const char* reason) { }
dcheng 2014/12/13 01:55:48 Perhaps keep this pure virtual for consistency? Th
Nate Chapin 2014/12/20 00:09:14 Done.
+
RenderPart* ownerRenderer() const; // Renderer for the element that contains this frame.
// FIXME: These should move to RemoteFrame when that is instantiated.

Powered by Google App Engine
This is Rietveld 408576698