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

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

Issue 2378643002: Propagating csp attribute changes on frameOwnerPropertiesChanged() (Closed)
Patch Set: Enable Experimental switch Created 4 years, 2 months 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 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 // Updates the sandbox flags in the frame's FrameOwner. This is used when 155 // Updates the sandbox flags in the frame's FrameOwner. This is used when
156 // this frame's parent is in another process and it dynamically updates 156 // this frame's parent is in another process and it dynamically updates
157 // this frame's sandbox flags. The flags won't take effect until the next 157 // this frame's sandbox flags. The flags won't take effect until the next
158 // navigation. 158 // navigation.
159 BLINK_EXPORT void setFrameOwnerSandboxFlags(WebSandboxFlags); 159 BLINK_EXPORT void setFrameOwnerSandboxFlags(WebSandboxFlags);
160 160
161 // The frame's insecure request policy. 161 // The frame's insecure request policy.
162 BLINK_EXPORT WebInsecureRequestPolicy getInsecureRequestPolicy() const; 162 BLINK_EXPORT WebInsecureRequestPolicy getInsecureRequestPolicy() const;
163 163
164 // Updates this frame's FrameOwner properties, such as scrolling, margin, 164 // Updates this frame's FrameOwner properties, such as scrolling, margin,
165 // or allowfullscreen. This is used when this frame's parent is in 165 // allowfullscreen or csp. This is used when this frame's parent is in
Mike West 2016/09/29 08:58:53 Nit: Oxford comma. :)
166 // another process and it dynamically updates these properties. 166 // another process and it dynamically updates these properties.
167 // TODO(dcheng): Currently, the update only takes effect on next frame 167 // TODO(dcheng): Currently, the update only takes effect on next frame
168 // navigation. This matches the in-process frame behavior. 168 // navigation. This matches the in-process frame behavior.
169 BLINK_EXPORT void setFrameOwnerProperties(const WebFrameOwnerProperties&); 169 BLINK_EXPORT void setFrameOwnerProperties(const WebFrameOwnerProperties&);
170 170
171 // Geometry ----------------------------------------------------------- 171 // Geometry -----------------------------------------------------------
172 172
173 // NOTE: These routines do not force page layout so their results may 173 // NOTE: These routines do not force page layout so their results may
174 // not be accurate if the page layout is out-of-date. 174 // not be accurate if the page layout is out-of-date.
175 175
(...skipping 326 matching lines...) Expand 10 before | Expand all | Expand 10 after
502 WebFrame* m_firstChild; 502 WebFrame* m_firstChild;
503 WebFrame* m_lastChild; 503 WebFrame* m_lastChild;
504 504
505 WebFrame* m_opener; 505 WebFrame* m_opener;
506 std::unique_ptr<OpenedFrameTracker> m_openedFrameTracker; 506 std::unique_ptr<OpenedFrameTracker> m_openedFrameTracker;
507 }; 507 };
508 508
509 } // namespace blink 509 } // namespace blink
510 510
511 #endif 511 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698