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

Side by Side Diff: content/browser/frame_host/render_frame_host_manager.h

Issue 1723753002: Make Document::isSecureContext() work for OOPIFs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: alexmos comments Created 4 years, 9 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 // 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_RENDER_FRAME_HOST_MANAGER_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_MANAGER_H_
6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_MANAGER_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_MANAGER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <list> 10 #include <list>
(...skipping 426 matching lines...) Expand 10 before | Expand all | Expand 10 after
437 // |name| and the recalculated |unique_name| and replicates them into all 437 // |name| and the recalculated |unique_name| and replicates them into all
438 // frame proxies. 438 // frame proxies.
439 void OnDidUpdateName(const std::string& name, const std::string& unique_name); 439 void OnDidUpdateName(const std::string& name, const std::string& unique_name);
440 440
441 // Sends updated enforcement of strict mixed content checking to all 441 // Sends updated enforcement of strict mixed content checking to all
442 // frame proxies when the frame changes its setting. 442 // frame proxies when the frame changes its setting.
443 void OnEnforceStrictMixedContentChecking(bool should_enforce); 443 void OnEnforceStrictMixedContentChecking(bool should_enforce);
444 444
445 // Send updated origin to all frame proxies when the frame navigates to a new 445 // Send updated origin to all frame proxies when the frame navigates to a new
446 // origin. 446 // origin.
447 void OnDidUpdateOrigin(const url::Origin& origin); 447 void OnDidUpdateOrigin(const url::Origin& origin,
448 bool is_potentially_trustworthy_unique_origin);
448 449
449 void EnsureRenderViewInitialized(RenderViewHostImpl* render_view_host, 450 void EnsureRenderViewInitialized(RenderViewHostImpl* render_view_host,
450 SiteInstance* instance); 451 SiteInstance* instance);
451 452
452 // Creates swapped out RenderViews and RenderFrameProxies for this frame's 453 // Creates swapped out RenderViews and RenderFrameProxies for this frame's
453 // FrameTree and for its opener chain in the given SiteInstance. This allows 454 // FrameTree and for its opener chain in the given SiteInstance. This allows
454 // other tabs to send cross-process JavaScript calls to their opener(s) and 455 // other tabs to send cross-process JavaScript calls to their opener(s) and
455 // to any other frames in the opener's FrameTree (e.g., supporting calls like 456 // to any other frames in the opener's FrameTree (e.g., supporting calls like
456 // window.opener.opener.frames[x][y]). Does not create proxies for the 457 // window.opener.opener.frames[x][y]). Does not create proxies for the
457 // subtree rooted at |skip_this_node| (e.g., if a node is being navigated, it 458 // subtree rooted at |skip_this_node| (e.g., if a node is being navigated, it
(...skipping 324 matching lines...) Expand 10 before | Expand all | Expand 10 after
782 scoped_ptr<RenderFrameHostImpl> speculative_render_frame_host_; 783 scoped_ptr<RenderFrameHostImpl> speculative_render_frame_host_;
783 784
784 base::WeakPtrFactory<RenderFrameHostManager> weak_factory_; 785 base::WeakPtrFactory<RenderFrameHostManager> weak_factory_;
785 786
786 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostManager); 787 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostManager);
787 }; 788 };
788 789
789 } // namespace content 790 } // namespace content
790 791
791 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_MANAGER_H_ 792 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698