| 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 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 166 | 166 |
| 167 // Updates the sandbox flags in the frame's FrameOwner. This is used when | 167 // Updates the sandbox flags in the frame's FrameOwner. This is used when |
| 168 // this frame's parent is in another process and it dynamically updates | 168 // this frame's parent is in another process and it dynamically updates |
| 169 // this frame's sandbox flags. The flags won't take effect until the next | 169 // this frame's sandbox flags. The flags won't take effect until the next |
| 170 // navigation. | 170 // navigation. |
| 171 BLINK_EXPORT void setFrameOwnerSandboxFlags(WebSandboxFlags); | 171 BLINK_EXPORT void setFrameOwnerSandboxFlags(WebSandboxFlags); |
| 172 | 172 |
| 173 // Returns true if the frame is enforcing strict mixed content checking. | 173 // Returns true if the frame is enforcing strict mixed content checking. |
| 174 BLINK_EXPORT bool shouldEnforceStrictMixedContentChecking() const; | 174 BLINK_EXPORT bool shouldEnforceStrictMixedContentChecking() const; |
| 175 | 175 |
| 176 // Updates this frame's FrameOwner properties, such as scrolling, margin, |
| 177 // or allowfullscreen. This is used when this frame's parent is in |
| 178 // another process and it dynamically updates these properties. |
| 179 // TODO(dcheng): Currently, the update only takes effect on next frame |
| 180 // navigation. This matches the in-process frame behavior. |
| 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 412 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 598 WebFrame* m_firstChild; | 605 WebFrame* m_firstChild; |
| 599 WebFrame* m_lastChild; | 606 WebFrame* m_lastChild; |
| 600 | 607 |
| 601 WebFrame* m_opener; | 608 WebFrame* m_opener; |
| 602 WebPrivateOwnPtr<OpenedFrameTracker> m_openedFrameTracker; | 609 WebPrivateOwnPtr<OpenedFrameTracker> m_openedFrameTracker; |
| 603 }; | 610 }; |
| 604 | 611 |
| 605 } // namespace blink | 612 } // namespace blink |
| 606 | 613 |
| 607 #endif | 614 #endif |
| OLD | NEW |