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

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

Issue 1319863006: (blink) Propagate scrolling/marginwidth/marginheight property values to child frame. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: address nits Created 5 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « public/web/WebFrameOwnerProperties.h ('k') | public/web/WebRemoteFrame.h » ('j') | 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 "WebFrame.h" 8 #include "WebFrame.h"
9 #include "WebFrameLoadType.h" 9 #include "WebFrameLoadType.h"
10 10
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 45
46 // Returns the frame inside a given frame or iframe element. Returns 0 if 46 // Returns the frame inside a given frame or iframe element. Returns 0 if
47 // the given element is not a frame, iframe or if the frame is empty. 47 // the given element is not a frame, iframe or if the frame is empty.
48 BLINK_EXPORT static WebLocalFrame* fromFrameOwnerElement(const WebElement&); 48 BLINK_EXPORT static WebLocalFrame* fromFrameOwnerElement(const WebElement&);
49 49
50 // Initialization --------------------------------------------------------- 50 // Initialization ---------------------------------------------------------
51 51
52 // Used when we might swap from a remote frame to a local frame. 52 // Used when we might swap from a remote frame to a local frame.
53 // Creates a provisional, semi-attached frame that will be fully 53 // Creates a provisional, semi-attached frame that will be fully
54 // swapped into the frame tree if it commits. 54 // swapped into the frame tree if it commits.
55 virtual void initializeToReplaceRemoteFrame(WebRemoteFrame*, const WebString & name, WebSandboxFlags) = 0; 55 virtual void initializeToReplaceRemoteFrame(WebRemoteFrame*, const WebString & name, WebSandboxFlags, const WebFrameOwnerProperties&) = 0;
56 56
57 virtual void setAutofillClient(WebAutofillClient*) = 0; 57 virtual void setAutofillClient(WebAutofillClient*) = 0;
58 virtual WebAutofillClient* autofillClient() = 0; 58 virtual WebAutofillClient* autofillClient() = 0;
59 virtual void setDevToolsAgentClient(WebDevToolsAgentClient*) = 0; 59 virtual void setDevToolsAgentClient(WebDevToolsAgentClient*) = 0;
60 virtual WebDevToolsAgent* devToolsAgent() = 0; 60 virtual WebDevToolsAgent* devToolsAgent() = 0;
61 61
62 // Navigation Ping -------------------------------------------------------- 62 // Navigation Ping --------------------------------------------------------
63 virtual void sendPings(const WebNode& contextNode, const WebURL& destination URL) = 0; 63 virtual void sendPings(const WebNode& contextNode, const WebURL& destination URL) = 0;
64 64
65 // Navigation ---------------------------------------------------------- 65 // Navigation ----------------------------------------------------------
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 // Returns the effective sandbox flags which are inherited from their parent frame. 175 // Returns the effective sandbox flags which are inherited from their parent frame.
176 virtual WebSandboxFlags effectiveSandboxFlags() const = 0; 176 virtual WebSandboxFlags effectiveSandboxFlags() const = 0;
177 177
178 protected: 178 protected:
179 explicit WebLocalFrame(WebTreeScopeType scope) : WebFrame(scope) { } 179 explicit WebLocalFrame(WebTreeScopeType scope) : WebFrame(scope) { }
180 }; 180 };
181 181
182 } // namespace blink 182 } // namespace blink
183 183
184 #endif // WebLocalFrame_h 184 #endif // WebLocalFrame_h
OLDNEW
« no previous file with comments | « public/web/WebFrameOwnerProperties.h ('k') | public/web/WebRemoteFrame.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698