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

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

Issue 2623633002: Turn off requirement that cross-origin top navigation be accompanied by a user gesture. (Closed)
Patch Set: Created 3 years, 11 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
Index: third_party/WebKit/Source/core/frame/Frame.h
diff --git a/third_party/WebKit/Source/core/frame/Frame.h b/third_party/WebKit/Source/core/frame/Frame.h
index 098c6031594dbe2b41733332d83c1e893f2900d5..370ccb79c79767c3b21f3da43918c1b836131146 100644
--- a/third_party/WebKit/Source/core/frame/Frame.h
+++ b/third_party/WebKit/Source/core/frame/Frame.h
@@ -121,9 +121,11 @@ class CORE_EXPORT Frame : public GarbageCollectedFinalized<Frame> {
// otherwise.
virtual bool prepareForCommit() = 0;
+ // TODO(japhet): These should all move to LocalFrame.
bool canNavigate(const Frame&);
virtual void printNavigationErrorMessage(const Frame&,
const char* reason) = 0;
+ virtual void printNavigationWarning(const String&) = 0;
// TODO(pilgrim): Replace all instances of ownerLayoutObject() with
// ownerLayoutItem(), https://crbug.com/499321

Powered by Google App Engine
This is Rietveld 408576698