Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(22)

Side by Side Diff: third_party/WebKit/public/web/WebFrame.h

Issue 2557063002: Upgrade Insecure Requests: bugfixes, tests, and support for OOPIF.
Patch Set: Addressed comments (@nasko #2). Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebRemoteFrameImpl.cpp ('k') | third_party/WebKit/public/web/WebFrameClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698