| 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 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 147 | 147 |
| 148 // Updates the sandbox flags in the frame's FrameOwner. This is used when | 148 // Updates the sandbox flags in the frame's FrameOwner. This is used when |
| 149 // this frame's parent is in another process and it dynamically updates | 149 // this frame's parent is in another process and it dynamically updates |
| 150 // this frame's sandbox flags. The flags won't take effect until the next | 150 // this frame's sandbox flags. The flags won't take effect until the next |
| 151 // navigation. | 151 // navigation. |
| 152 BLINK_EXPORT void setFrameOwnerSandboxFlags(WebSandboxFlags); | 152 BLINK_EXPORT void setFrameOwnerSandboxFlags(WebSandboxFlags); |
| 153 | 153 |
| 154 // The frame's insecure request policy. | 154 // The frame's insecure request policy. |
| 155 BLINK_EXPORT WebInsecureRequestPolicy getInsecureRequestPolicy() const; | 155 BLINK_EXPORT WebInsecureRequestPolicy getInsecureRequestPolicy() const; |
| 156 | 156 |
| 157 // The frame's upgrade insecure navigations set. |
| 158 BLINK_EXPORT std::vector<unsigned> getInsecureRequestToUpgrade() const; |
| 159 |
| 157 // Updates this frame's FrameOwner properties, such as scrolling, margin, | 160 // Updates this frame's FrameOwner properties, such as scrolling, margin, |
| 158 // or allowfullscreen. This is used when this frame's parent is in | 161 // or allowfullscreen. This is used when this frame's parent is in |
| 159 // another process and it dynamically updates these properties. | 162 // another process and it dynamically updates these properties. |
| 160 // TODO(dcheng): Currently, the update only takes effect on next frame | 163 // TODO(dcheng): Currently, the update only takes effect on next frame |
| 161 // navigation. This matches the in-process frame behavior. | 164 // navigation. This matches the in-process frame behavior. |
| 162 BLINK_EXPORT void setFrameOwnerProperties(const WebFrameOwnerProperties&); | 165 BLINK_EXPORT void setFrameOwnerProperties(const WebFrameOwnerProperties&); |
| 163 | 166 |
| 164 // Geometry ----------------------------------------------------------- | 167 // Geometry ----------------------------------------------------------- |
| 165 | 168 |
| 166 // NOTE: These routines do not force page layout so their results may | 169 // NOTE: These routines do not force page layout so their results may |
| (...skipping 322 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 489 WebFrame* m_firstChild; | 492 WebFrame* m_firstChild; |
| 490 WebFrame* m_lastChild; | 493 WebFrame* m_lastChild; |
| 491 | 494 |
| 492 WebFrame* m_opener; | 495 WebFrame* m_opener; |
| 493 std::unique_ptr<OpenedFrameTracker> m_openedFrameTracker; | 496 std::unique_ptr<OpenedFrameTracker> m_openedFrameTracker; |
| 494 }; | 497 }; |
| 495 | 498 |
| 496 } // namespace blink | 499 } // namespace blink |
| 497 | 500 |
| 498 #endif | 501 #endif |
| OLD | NEW |