OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 class WebString; | 73 class WebString; |
74 class WebURL; | 74 class WebURL; |
75 class WebURLLoader; | 75 class WebURLLoader; |
76 class WebURLRequest; | 76 class WebURLRequest; |
77 class WebView; | 77 class WebView; |
78 enum class WebSandboxFlags; | 78 enum class WebSandboxFlags; |
79 struct WebConsoleMessage; | 79 struct WebConsoleMessage; |
80 struct WebFindOptions; | 80 struct WebFindOptions; |
81 struct WebFloatPoint; | 81 struct WebFloatPoint; |
82 struct WebFloatRect; | 82 struct WebFloatRect; |
| 83 struct WebFrameOwnerProperties; |
83 struct WebPoint; | 84 struct WebPoint; |
84 struct WebPrintParams; | 85 struct WebPrintParams; |
85 struct WebRect; | 86 struct WebRect; |
86 struct WebScriptSource; | 87 struct WebScriptSource; |
87 struct WebSize; | 88 struct WebSize; |
88 struct WebURLLoaderOptions; | 89 struct WebURLLoaderOptions; |
89 | 90 |
90 template <typename T> class WebVector; | 91 template <typename T> class WebVector; |
91 | 92 |
92 // Frames may be rendered in process ('local') or out of process ('remote'). | 93 // Frames may be rendered in process ('local') or out of process ('remote'). |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
166 | 167 |
167 // The security origin of this frame. | 168 // The security origin of this frame. |
168 BLINK_EXPORT WebSecurityOrigin securityOrigin() const; | 169 BLINK_EXPORT WebSecurityOrigin securityOrigin() const; |
169 | 170 |
170 // Updates the sandbox flags in the frame's FrameOwner. This is used when | 171 // Updates the sandbox flags in the frame's FrameOwner. This is used when |
171 // this frame's parent is in another process and it dynamically updates | 172 // this frame's parent is in another process and it dynamically updates |
172 // this frame's sandbox flags. The flags won't take effect until the next | 173 // this frame's sandbox flags. The flags won't take effect until the next |
173 // navigation. | 174 // navigation. |
174 BLINK_EXPORT void setFrameOwnerSandboxFlags(WebSandboxFlags); | 175 BLINK_EXPORT void setFrameOwnerSandboxFlags(WebSandboxFlags); |
175 | 176 |
| 177 // Updates the scrolling and margin properties in the frame's FrameOwner. |
| 178 // This is used when this frame's parent is in another process and it |
| 179 // dynamically updates these properties. The flags won't take effect until |
| 180 // the next navigation. |
| 181 // TODO(dcheng): Currently, the update only takes effect on next frame |
| 182 // navigation. |
| 183 BLINK_EXPORT void setFrameOwnerProperties(const WebFrameOwnerProperties&); |
| 184 |
176 // Geometry ----------------------------------------------------------- | 185 // Geometry ----------------------------------------------------------- |
177 | 186 |
178 // NOTE: These routines do not force page layout so their results may | 187 // NOTE: These routines do not force page layout so their results may |
179 // not be accurate if the page layout is out-of-date. | 188 // not be accurate if the page layout is out-of-date. |
180 | 189 |
181 // If set to false, do not draw scrollbars on this frame's view. | 190 // If set to false, do not draw scrollbars on this frame's view. |
182 virtual void setCanHaveScrollbars(bool) = 0; | 191 virtual void setCanHaveScrollbars(bool) = 0; |
183 | 192 |
184 // The scroll offset from the top-left corner of the frame in pixels. | 193 // The scroll offset from the top-left corner of the frame in pixels. |
185 virtual WebSize scrollOffset() const = 0; | 194 virtual WebSize scrollOffset() const = 0; |
(...skipping 550 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
736 WebPrivateOwnPtr<OpenedFrameTracker> m_openedFrameTracker; | 745 WebPrivateOwnPtr<OpenedFrameTracker> m_openedFrameTracker; |
737 }; | 746 }; |
738 | 747 |
739 #if BLINK_IMPLEMENTATION | 748 #if BLINK_IMPLEMENTATION |
740 Frame* toCoreFrame(const WebFrame*); | 749 Frame* toCoreFrame(const WebFrame*); |
741 #endif | 750 #endif |
742 | 751 |
743 } // namespace blink | 752 } // namespace blink |
744 | 753 |
745 #endif | 754 #endif |
OLD | NEW |