| 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. |
| 180 // TODO(dcheng): Currently, the update only takes effect on next frame |
| 181 // navigation. This matches the in-process frame behavior. |
| 182 BLINK_EXPORT void setFrameOwnerProperties(const WebFrameOwnerProperties&); |
| 183 |
| 176 // Geometry ----------------------------------------------------------- | 184 // Geometry ----------------------------------------------------------- |
| 177 | 185 |
| 178 // NOTE: These routines do not force page layout so their results may | 186 // NOTE: These routines do not force page layout so their results may |
| 179 // not be accurate if the page layout is out-of-date. | 187 // not be accurate if the page layout is out-of-date. |
| 180 | 188 |
| 181 // If set to false, do not draw scrollbars on this frame's view. | 189 // If set to false, do not draw scrollbars on this frame's view. |
| 182 virtual void setCanHaveScrollbars(bool) = 0; | 190 virtual void setCanHaveScrollbars(bool) = 0; |
| 183 | 191 |
| 184 // The scroll offset from the top-left corner of the frame in pixels. | 192 // The scroll offset from the top-left corner of the frame in pixels. |
| 185 virtual WebSize scrollOffset() const = 0; | 193 virtual WebSize scrollOffset() const = 0; |
| (...skipping 550 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 736 WebPrivateOwnPtr<OpenedFrameTracker> m_openedFrameTracker; | 744 WebPrivateOwnPtr<OpenedFrameTracker> m_openedFrameTracker; |
| 737 }; | 745 }; |
| 738 | 746 |
| 739 #if BLINK_IMPLEMENTATION | 747 #if BLINK_IMPLEMENTATION |
| 740 Frame* toCoreFrame(const WebFrame*); | 748 Frame* toCoreFrame(const WebFrame*); |
| 741 #endif | 749 #endif |
| 742 | 750 |
| 743 } // namespace blink | 751 } // namespace blink |
| 744 | 752 |
| 745 #endif | 753 #endif |
| OLD | NEW |