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

Side by Side Diff: Source/core/loader/FrameLoader.h

Issue 811773002: Mixed Content: Implement strict mode. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Tests. Created 6 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
« no previous file with comments | « Source/core/frame/csp/ContentSecurityPolicy.cpp ('k') | Source/core/loader/FrameLoader.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007, 2008, 2009, 2011 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008, 2009, 2011 Apple Inc. All rights reserved.
3 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/) 3 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/)
4 * Copyright (C) Research In Motion Limited 2009. All rights reserved. 4 * Copyright (C) Research In Motion Limited 2009. All rights reserved.
5 * Copyright (C) 2011 Google Inc. All rights reserved. 5 * Copyright (C) 2011 Google Inc. All rights reserved.
6 * 6 *
7 * Redistribution and use in source and binary forms, with or without 7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions 8 * modification, are permitted provided that the following conditions
9 * are met: 9 * are met:
10 * 10 *
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 144
145 void dispatchDidClearWindowObjectInMainWorld(); 145 void dispatchDidClearWindowObjectInMainWorld();
146 void dispatchDidClearDocumentOfWindowObject(); 146 void dispatchDidClearDocumentOfWindowObject();
147 void dispatchDocumentElementAvailable(); 147 void dispatchDocumentElementAvailable();
148 148
149 // The following sandbox flags will be forced, regardless of changes to 149 // The following sandbox flags will be forced, regardless of changes to
150 // the sandbox attribute of any parent frames. 150 // the sandbox attribute of any parent frames.
151 void forceSandboxFlags(SandboxFlags flags) { m_forcedSandboxFlags |= flags; } 151 void forceSandboxFlags(SandboxFlags flags) { m_forcedSandboxFlags |= flags; }
152 SandboxFlags effectiveSandboxFlags() const; 152 SandboxFlags effectiveSandboxFlags() const;
153 153
154 bool shouldEnforceStrictMixedContentChecking() const;
155
154 Frame* opener(); 156 Frame* opener();
155 void setOpener(LocalFrame*); 157 void setOpener(LocalFrame*);
156 158
157 void detach(); 159 void detach();
158 160
159 void loadDone(); 161 void loadDone();
160 void finishedParsing(); 162 void finishedParsing();
161 void checkCompleted(); 163 void checkCompleted();
162 164
163 void commitProvisionalLoad(); 165 void commitProvisionalLoad();
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
276 278
277 bool m_didAccessInitialDocument; 279 bool m_didAccessInitialDocument;
278 Timer<FrameLoader> m_didAccessInitialDocumentTimer; 280 Timer<FrameLoader> m_didAccessInitialDocumentTimer;
279 281
280 SandboxFlags m_forcedSandboxFlags; 282 SandboxFlags m_forcedSandboxFlags;
281 }; 283 };
282 284
283 } // namespace blink 285 } // namespace blink
284 286
285 #endif // FrameLoader_h 287 #endif // FrameLoader_h
OLDNEW
« no previous file with comments | « Source/core/frame/csp/ContentSecurityPolicy.cpp ('k') | Source/core/loader/FrameLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698