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

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

Issue 1489253002: Plumb document's strict mixed content checking for RemoteFrames (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nasko comments Created 5 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 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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
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