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

Side by Side Diff: third_party/WebKit/public/web/WebLocalFrame.h

Issue 2955573003: Set frame policy correctly in newly created renderer proxies (Closed)
Patch Set: Fix container policy replication bug in provisional frames Created 3 years, 5 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/web/WebLocalFrameImpl.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 WebLocalFrame_h 5 #ifndef WebLocalFrame_h
6 #define WebLocalFrame_h 6 #define WebLocalFrame_h
7 7
8 #include <memory> 8 #include <memory>
9 #include <set> 9 #include <set>
10 10
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 // Blink unless the navigation commits and the provisional frame is fully 86 // Blink unless the navigation commits and the provisional frame is fully
87 // attached to the frame tree by calling swap(). 87 // attached to the frame tree by calling swap().
88 // 88 //
89 // Otherwise, if the load should not commit, call detach() to discard the 89 // Otherwise, if the load should not commit, call detach() to discard the
90 // frame. 90 // frame.
91 BLINK_EXPORT static WebLocalFrame* CreateProvisional( 91 BLINK_EXPORT static WebLocalFrame* CreateProvisional(
92 WebFrameClient*, 92 WebFrameClient*,
93 blink::InterfaceProvider*, 93 blink::InterfaceProvider*,
94 blink::InterfaceRegistry*, 94 blink::InterfaceRegistry*,
95 WebRemoteFrame*, 95 WebRemoteFrame*,
96 WebSandboxFlags); 96 WebSandboxFlags,
97 WebParsedFeaturePolicy);
97 98
98 // Creates a new local child of this frame. Similar to the other methods that 99 // Creates a new local child of this frame. Similar to the other methods that
99 // create frames, the returned frame should be freed by calling Close() when 100 // create frames, the returned frame should be freed by calling Close() when
100 // it's no longer needed. 101 // it's no longer needed.
101 virtual WebLocalFrame* CreateLocalChild(WebTreeScopeType, 102 virtual WebLocalFrame* CreateLocalChild(WebTreeScopeType,
102 WebFrameClient*, 103 WebFrameClient*,
103 blink::InterfaceProvider*, 104 blink::InterfaceProvider*,
104 blink::InterfaceRegistry*) = 0; 105 blink::InterfaceRegistry*) = 0;
105 106
106 // Returns the WebFrame associated with the current V8 context. This 107 // Returns the WebFrame associated with the current V8 context. This
(...skipping 666 matching lines...) Expand 10 before | Expand all | Expand 10 after
773 // to call these on a WebLocalFrame. 774 // to call these on a WebLocalFrame.
774 bool IsWebLocalFrame() const override = 0; 775 bool IsWebLocalFrame() const override = 0;
775 WebLocalFrame* ToWebLocalFrame() override = 0; 776 WebLocalFrame* ToWebLocalFrame() override = 0;
776 bool IsWebRemoteFrame() const override = 0; 777 bool IsWebRemoteFrame() const override = 0;
777 WebRemoteFrame* ToWebRemoteFrame() override = 0; 778 WebRemoteFrame* ToWebRemoteFrame() override = 0;
778 }; 779 };
779 780
780 } // namespace blink 781 } // namespace blink
781 782
782 #endif // WebLocalFrame_h 783 #endif // WebLocalFrame_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebLocalFrameImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698