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

Side by Side Diff: content/browser/frame_host/frame_tree_node.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
« no previous file with comments | « no previous file | content/browser/frame_host/frame_tree_node.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_BROWSER_FRAME_HOST_FRAME_TREE_NODE_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_FRAME_TREE_NODE_H_
6 #define CONTENT_BROWSER_FRAME_HOST_FRAME_TREE_NODE_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_FRAME_TREE_NODE_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 const url::Origin& current_origin() const { 130 const url::Origin& current_origin() const {
131 return replication_state_.origin; 131 return replication_state_.origin;
132 } 132 }
133 133
134 // Set the current origin and notify proxies about the update. 134 // Set the current origin and notify proxies about the update.
135 void SetCurrentOrigin(const url::Origin& origin); 135 void SetCurrentOrigin(const url::Origin& origin);
136 136
137 // Set the current name and notify proxies about the update. 137 // Set the current name and notify proxies about the update.
138 void SetFrameName(const std::string& name); 138 void SetFrameName(const std::string& name);
139 139
140 // Sets the current enforcement of strict mixed content checking and
141 // notifies proxies about the update.
142 void SetEnforceStrictMixedContentChecking(bool should_enforce);
143
140 blink::WebSandboxFlags effective_sandbox_flags() { 144 blink::WebSandboxFlags effective_sandbox_flags() {
141 return effective_sandbox_flags_; 145 return effective_sandbox_flags_;
142 } 146 }
143 147
144 void set_sandbox_flags(blink::WebSandboxFlags sandbox_flags) { 148 void set_sandbox_flags(blink::WebSandboxFlags sandbox_flags) {
145 replication_state_.sandbox_flags = sandbox_flags; 149 replication_state_.sandbox_flags = sandbox_flags;
146 } 150 }
147 151
148 // Transfer any pending sandbox flags into |effective_sandbox_flags_|, and 152 // Transfer any pending sandbox flags into |effective_sandbox_flags_|, and
149 // return true if the sandbox flags were changed. 153 // return true if the sandbox flags were changed.
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
317 base::ObserverList<Observer> observers_; 321 base::ObserverList<Observer> observers_;
318 322
319 base::TimeTicks last_focus_time_; 323 base::TimeTicks last_focus_time_;
320 324
321 DISALLOW_COPY_AND_ASSIGN(FrameTreeNode); 325 DISALLOW_COPY_AND_ASSIGN(FrameTreeNode);
322 }; 326 };
323 327
324 } // namespace content 328 } // namespace content
325 329
326 #endif // CONTENT_BROWSER_FRAME_HOST_FRAME_TREE_NODE_H_ 330 #endif // CONTENT_BROWSER_FRAME_HOST_FRAME_TREE_NODE_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/frame_host/frame_tree_node.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698