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

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

Issue 799923006: Make canNavigate() OOPI-friendly (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Address dcheng's comments 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 136b8adf6c3765f855f8e523a016af4e01d8771d..8c7b0540855a4fa132a1a0695a3c3457933861b6 100644
--- a/Source/core/frame/Frame.h
+++ b/Source/core/frame/Frame.h
@@ -88,6 +88,12 @@ public:
virtual SecurityContext* securityContext() const = 0;
+ Frame* findFrameForNavigation(const AtomicString& name, Frame& activeFrame);
+ Frame* findUnsafeParentScrollPropagationBoundary();
+
+ bool canNavigate(const Frame&);
+ virtual void printNavigationErrorMessage(const Frame&, const char* reason) = 0;
+
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