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

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

Issue 1307013004: Propagate scrolling/marginwidth/marginheight property values to child frame. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments from Daniel Created 5 years, 2 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 // 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 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 // Returns the effective sandbox flags which are inherited from their parent frame. 180 // Returns the effective sandbox flags which are inherited from their parent frame.
181 virtual WebSandboxFlags effectiveSandboxFlags() const = 0; 181 virtual WebSandboxFlags effectiveSandboxFlags() const = 0;
182 182
183 protected: 183 protected:
184 explicit WebLocalFrame(WebTreeScopeType scope) : WebFrame(scope) { } 184 explicit WebLocalFrame(WebTreeScopeType scope) : WebFrame(scope) { }
185 }; 185 };
186 186
187 } // namespace blink 187 } // namespace blink
188 188
189 #endif // WebLocalFrame_h 189 #endif // WebLocalFrame_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698