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

Side by Side Diff: third_party/WebKit/Source/core/frame/LocalFrame.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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 1998, 1999 Torben Weis <weis@kde.org> 2 * Copyright (C) 1998, 1999 Torben Weis <weis@kde.org>
3 * 1999-2001 Lars Knoll <knoll@kde.org> 3 * 1999-2001 Lars Knoll <knoll@kde.org>
4 * 1999-2001 Antti Koivisto <koivisto@kde.org> 4 * 1999-2001 Antti Koivisto <koivisto@kde.org>
5 * 2000-2001 Simon Hausmann <hausmann@kde.org> 5 * 2000-2001 Simon Hausmann <hausmann@kde.org>
6 * 2000-2001 Dirk Mueller <mueller@kde.org> 6 * 2000-2001 Dirk Mueller <mueller@kde.org>
7 * 2000 Stefan Schimanski <1Stein@gmx.de> 7 * 2000 Stefan Schimanski <1Stein@gmx.de>
8 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights 8 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights
9 * reserved. 9 * reserved.
10 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) 10 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies)
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 void navigate(Document& originDocument, 113 void navigate(Document& originDocument,
114 const KURL&, 114 const KURL&,
115 bool replaceCurrentItem, 115 bool replaceCurrentItem,
116 UserGestureStatus) override; 116 UserGestureStatus) override;
117 void navigate(const FrameLoadRequest&) override; 117 void navigate(const FrameLoadRequest&) override;
118 void reload(FrameLoadType, ClientRedirectPolicy) override; 118 void reload(FrameLoadType, ClientRedirectPolicy) override;
119 void detach(FrameDetachType) override; 119 void detach(FrameDetachType) override;
120 bool shouldClose() override; 120 bool shouldClose() override;
121 SecurityContext* securityContext() const override; 121 SecurityContext* securityContext() const override;
122 void printNavigationErrorMessage(const Frame&, const char* reason) override; 122 void printNavigationErrorMessage(const Frame&, const char* reason) override;
123 void printNavigationWarning(const String&) override;
123 bool prepareForCommit() override; 124 bool prepareForCommit() override;
124 void didChangeVisibilityState() override; 125 void didChangeVisibilityState() override;
125 void setDocumentHasReceivedUserGesture() override; 126 void setDocumentHasReceivedUserGesture() override;
126 127
127 void detachChildren(); 128 void detachChildren();
128 void documentAttached(); 129 void documentAttached();
129 130
130 LocalDOMWindow* localDOMWindow() const; 131 LocalDOMWindow* localDOMWindow() const;
131 void setDOMWindow(LocalDOMWindow*); 132 void setDOMWindow(LocalDOMWindow*);
132 FrameView* view() const; 133 FrameView* view() const;
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after
377 explicit ScopedFrameBlamer(LocalFrame*); 378 explicit ScopedFrameBlamer(LocalFrame*);
378 ~ScopedFrameBlamer(); 379 ~ScopedFrameBlamer();
379 380
380 private: 381 private:
381 Member<LocalFrame> m_frame; 382 Member<LocalFrame> m_frame;
382 }; 383 };
383 384
384 } // namespace blink 385 } // namespace blink
385 386
386 #endif // LocalFrame_h 387 #endif // LocalFrame_h
OLDNEW
« 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