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

Side by Side Diff: third_party/WebKit/Source/core/frame/RemoteFrame.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
« no previous file with comments | « third_party/WebKit/Source/core/frame/LocalFrame.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef RemoteFrame_h 5 #ifndef RemoteFrame_h
6 #define RemoteFrame_h 6 #define RemoteFrame_h
7 7
8 #include "core/CoreExport.h" 8 #include "core/CoreExport.h"
9 #include "core/dom/RemoteSecurityContext.h" 9 #include "core/dom/RemoteSecurityContext.h"
10 #include "core/frame/Frame.h" 10 #include "core/frame/Frame.h"
(...skipping 21 matching lines...) Expand all
32 WindowProxy* windowProxy(DOMWrapperWorld&) override; 32 WindowProxy* windowProxy(DOMWrapperWorld&) override;
33 void navigate(Document& originDocument, 33 void navigate(Document& originDocument,
34 const KURL&, 34 const KURL&,
35 bool replaceCurrentItem, 35 bool replaceCurrentItem,
36 UserGestureStatus) override; 36 UserGestureStatus) override;
37 void navigate(const FrameLoadRequest& passedRequest) override; 37 void navigate(const FrameLoadRequest& passedRequest) override;
38 void reload(FrameLoadType, ClientRedirectPolicy) override; 38 void reload(FrameLoadType, ClientRedirectPolicy) override;
39 void detach(FrameDetachType) override; 39 void detach(FrameDetachType) override;
40 RemoteSecurityContext* securityContext() const override; 40 RemoteSecurityContext* securityContext() const override;
41 void printNavigationErrorMessage(const Frame&, const char* reason) override {} 41 void printNavigationErrorMessage(const Frame&, const char* reason) override {}
42 void printNavigationWarning(const String&) override {} 42 void printNavigationWarning(const Frame&, const char* reason) override {}
43 bool prepareForCommit() override; 43 bool prepareForCommit() override;
44 bool shouldClose() override; 44 bool shouldClose() override;
45 void setDocumentHasReceivedUserGesture() override; 45 void setDocumentHasReceivedUserGesture() override;
46 46
47 // FIXME: Remove this method once we have input routing in the browser 47 // FIXME: Remove this method once we have input routing in the browser
48 // process. See http://crbug.com/339659. 48 // process. See http://crbug.com/339659.
49 void forwardInputEvent(Event*); 49 void forwardInputEvent(Event*);
50 50
51 void frameRectsChanged(const IntRect& frameRect); 51 void frameRectsChanged(const IntRect& frameRect);
52 52
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 90
91 DEFINE_TYPE_CASTS(RemoteFrame, 91 DEFINE_TYPE_CASTS(RemoteFrame,
92 Frame, 92 Frame,
93 remoteFrame, 93 remoteFrame,
94 remoteFrame->isRemoteFrame(), 94 remoteFrame->isRemoteFrame(),
95 remoteFrame.isRemoteFrame()); 95 remoteFrame.isRemoteFrame());
96 96
97 } // namespace blink 97 } // namespace blink
98 98
99 #endif // RemoteFrame_h 99 #endif // RemoteFrame_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/LocalFrame.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698