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 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
168 | 168 |
169 // The security origin of this frame. | 169 // The security origin of this frame. |
170 BLINK_EXPORT WebSecurityOrigin securityOrigin() const; | 170 BLINK_EXPORT WebSecurityOrigin securityOrigin() const; |
171 | 171 |
172 // Updates the sandbox flags in the frame's FrameOwner. This is used when | 172 // Updates the sandbox flags in the frame's FrameOwner. This is used when |
173 // this frame's parent is in another process and it dynamically updates | 173 // this frame's parent is in another process and it dynamically updates |
174 // this frame's sandbox flags. The flags won't take effect until the next | 174 // this frame's sandbox flags. The flags won't take effect until the next |
175 // navigation. | 175 // navigation. |
176 BLINK_EXPORT void setFrameOwnerSandboxFlags(WebSandboxFlags); | 176 BLINK_EXPORT void setFrameOwnerSandboxFlags(WebSandboxFlags); |
177 | 177 |
| 178 // Returns true if the frame is enforcing strict mixed content checking. |
| 179 BLINK_EXPORT bool shouldEnforceStrictMixedContentChecking() const; |
| 180 |
178 // Geometry ----------------------------------------------------------- | 181 // Geometry ----------------------------------------------------------- |
179 | 182 |
180 // NOTE: These routines do not force page layout so their results may | 183 // NOTE: These routines do not force page layout so their results may |
181 // not be accurate if the page layout is out-of-date. | 184 // not be accurate if the page layout is out-of-date. |
182 | 185 |
183 // If set to false, do not draw scrollbars on this frame's view. | 186 // If set to false, do not draw scrollbars on this frame's view. |
184 virtual void setCanHaveScrollbars(bool) = 0; | 187 virtual void setCanHaveScrollbars(bool) = 0; |
185 | 188 |
186 // The scroll offset from the top-left corner of the frame in pixels. | 189 // The scroll offset from the top-left corner of the frame in pixels. |
187 virtual WebSize scrollOffset() const = 0; | 190 virtual WebSize scrollOffset() const = 0; |
(...skipping 552 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
740 WebFrame* m_firstChild; | 743 WebFrame* m_firstChild; |
741 WebFrame* m_lastChild; | 744 WebFrame* m_lastChild; |
742 | 745 |
743 WebFrame* m_opener; | 746 WebFrame* m_opener; |
744 WebPrivateOwnPtr<OpenedFrameTracker> m_openedFrameTracker; | 747 WebPrivateOwnPtr<OpenedFrameTracker> m_openedFrameTracker; |
745 }; | 748 }; |
746 | 749 |
747 } // namespace blink | 750 } // namespace blink |
748 | 751 |
749 #endif | 752 #endif |
OLD | NEW |