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

Side by Side Diff: third_party/WebKit/Source/core/frame/LocalFrame.h

Issue 2617313002: Add deprecation message for top navigations from sandbox w/ 'allow-top-navigation' but no gesture (Closed)
Patch Set: Add the deprecation message to fix the broken tests in LayoutTests/fast/frames/. 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 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 WindowProxy* windowProxy(DOMWrapperWorld&) override; 110 WindowProxy* windowProxy(DOMWrapperWorld&) override;
111 void navigate(Document& originDocument, 111 void navigate(Document& originDocument,
112 const KURL&, 112 const KURL&,
113 bool replaceCurrentItem, 113 bool replaceCurrentItem,
114 UserGestureStatus) override; 114 UserGestureStatus) override;
115 void navigate(const FrameLoadRequest&) override; 115 void navigate(const FrameLoadRequest&) override;
116 void reload(FrameLoadType, ClientRedirectPolicy) override; 116 void reload(FrameLoadType, ClientRedirectPolicy) override;
117 void detach(FrameDetachType) override; 117 void detach(FrameDetachType) override;
118 bool shouldClose() override; 118 bool shouldClose() override;
119 SecurityContext* securityContext() const override; 119 SecurityContext* securityContext() const override;
120 String getTargetFrameDescription(const Frame& targetFrame) const;
120 void printNavigationErrorMessage(const Frame&, const char* reason) override; 121 void printNavigationErrorMessage(const Frame&, const char* reason) override;
121 void printNavigationWarning(const String&) override; 122 void printNavigationWarning(const Frame&, const char* reason) override;
122 bool prepareForCommit() override; 123 bool prepareForCommit() override;
123 void didChangeVisibilityState() override; 124 void didChangeVisibilityState() override;
124 void setDocumentHasReceivedUserGesture() override; 125 void setDocumentHasReceivedUserGesture() override;
125 126
126 void detachChildren(); 127 void detachChildren();
127 void documentAttached(); 128 void documentAttached();
128 129
129 LocalDOMWindow* domWindow() const; 130 LocalDOMWindow* domWindow() const;
130 void setDOMWindow(LocalDOMWindow*); 131 void setDOMWindow(LocalDOMWindow*);
131 FrameView* view() const; 132 FrameView* view() const;
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after
378 explicit ScopedFrameBlamer(LocalFrame*); 379 explicit ScopedFrameBlamer(LocalFrame*);
379 ~ScopedFrameBlamer(); 380 ~ScopedFrameBlamer();
380 381
381 private: 382 private:
382 Member<LocalFrame> m_frame; 383 Member<LocalFrame> m_frame;
383 }; 384 };
384 385
385 } // namespace blink 386 } // namespace blink
386 387
387 #endif // LocalFrame_h 388 #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