| 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 24 matching lines...) Expand all Loading... |
| 35 #include "WebHistoryItem.h" | 35 #include "WebHistoryItem.h" |
| 36 #include "WebIconURL.h" | 36 #include "WebIconURL.h" |
| 37 #include "WebNode.h" | 37 #include "WebNode.h" |
| 38 #include "WebURLLoaderOptions.h" | 38 #include "WebURLLoaderOptions.h" |
| 39 #include "public/platform/WebCanvas.h" | 39 #include "public/platform/WebCanvas.h" |
| 40 #include "public/platform/WebMessagePortChannel.h" | 40 #include "public/platform/WebMessagePortChannel.h" |
| 41 #include "public/platform/WebPrivateOwnPtr.h" | 41 #include "public/platform/WebPrivateOwnPtr.h" |
| 42 #include "public/platform/WebReferrerPolicy.h" | 42 #include "public/platform/WebReferrerPolicy.h" |
| 43 #include "public/platform/WebURL.h" | 43 #include "public/platform/WebURL.h" |
| 44 #include "public/platform/WebURLRequest.h" | 44 #include "public/platform/WebURLRequest.h" |
| 45 #include "public/web/WebFrameOwnerProperties.h" |
| 45 #include "public/web/WebTreeScopeType.h" | 46 #include "public/web/WebTreeScopeType.h" |
| 46 | 47 |
| 47 struct NPObject; | 48 struct NPObject; |
| 48 | 49 |
| 49 namespace v8 { | 50 namespace v8 { |
| 50 class Context; | 51 class Context; |
| 51 class Function; | 52 class Function; |
| 52 class Object; | 53 class Object; |
| 53 class Value; | 54 class Value; |
| 54 template <class T> class Local; | 55 template <class T> class Local; |
| (...skipping 111 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 BLINK_EXPORT void setFrameOwnerProperties(const WebFrameOwnerProperties&); |
| 182 |
| 176 // Geometry ----------------------------------------------------------- | 183 // Geometry ----------------------------------------------------------- |
| 177 | 184 |
| 178 // NOTE: These routines do not force page layout so their results may | 185 // NOTE: These routines do not force page layout so their results may |
| 179 // not be accurate if the page layout is out-of-date. | 186 // not be accurate if the page layout is out-of-date. |
| 180 | 187 |
| 181 // If set to false, do not draw scrollbars on this frame's view. | 188 // If set to false, do not draw scrollbars on this frame's view. |
| 182 virtual void setCanHaveScrollbars(bool) = 0; | 189 virtual void setCanHaveScrollbars(bool) = 0; |
| 183 | 190 |
| 184 // The scroll offset from the top-left corner of the frame in pixels. | 191 // The scroll offset from the top-left corner of the frame in pixels. |
| 185 virtual WebSize scrollOffset() const = 0; | 192 virtual WebSize scrollOffset() const = 0; |
| (...skipping 550 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 736 WebPrivateOwnPtr<OpenedFrameTracker> m_openedFrameTracker; | 743 WebPrivateOwnPtr<OpenedFrameTracker> m_openedFrameTracker; |
| 737 }; | 744 }; |
| 738 | 745 |
| 739 #if BLINK_IMPLEMENTATION | 746 #if BLINK_IMPLEMENTATION |
| 740 Frame* toCoreFrame(const WebFrame*); | 747 Frame* toCoreFrame(const WebFrame*); |
| 741 #endif | 748 #endif |
| 742 | 749 |
| 743 } // namespace blink | 750 } // namespace blink |
| 744 | 751 |
| 745 #endif | 752 #endif |
| OLD | NEW |