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

Side by Side Diff: content/browser/frame_host/render_frame_host_manager.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: alexmos 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 // 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 <list> 8 #include <list>
9 #include <map> 9 #include <map>
10 10
(...skipping 441 matching lines...) Expand 10 before | Expand all | Expand 10 after
452 452
453 // Notification methods to tell this RenderFrameHostManager that the frame it 453 // Notification methods to tell this RenderFrameHostManager that the frame it
454 // is responsible for has started or stopped loading a document. 454 // is responsible for has started or stopped loading a document.
455 void OnDidStartLoading(); 455 void OnDidStartLoading();
456 void OnDidStopLoading(); 456 void OnDidStopLoading();
457 457
458 // Send updated frame name to all frame proxies when the frame changes its 458 // Send updated frame name to all frame proxies when the frame changes its
459 // window.name property. 459 // window.name property.
460 void OnDidUpdateName(const std::string& name); 460 void OnDidUpdateName(const std::string& name);
461 461
462 // Sends updated enforcement of strict mixed content checking to all
463 // frame proxies when the frame changes its setting.
464 void OnDidUpdateShouldEnforceStrictMixedContentChecking(bool should_enforce);
465
462 // Send updated origin to all frame proxies when the frame navigates to a new 466 // Send updated origin to all frame proxies when the frame navigates to a new
463 // origin. 467 // origin.
464 void OnDidUpdateOrigin(const url::Origin& origin); 468 void OnDidUpdateOrigin(const url::Origin& origin);
465 469
466 void EnsureRenderViewInitialized(RenderViewHostImpl* render_view_host, 470 void EnsureRenderViewInitialized(RenderViewHostImpl* render_view_host,
467 SiteInstance* instance); 471 SiteInstance* instance);
468 472
469 // Creates swapped out RenderViews and RenderFrameProxies for this frame's 473 // Creates swapped out RenderViews and RenderFrameProxies for this frame's
470 // FrameTree and for its opener chain in the given SiteInstance. This allows 474 // FrameTree and for its opener chain in the given SiteInstance. This allows
471 // other tabs to send cross-process JavaScript calls to their opener(s) and 475 // other tabs to send cross-process JavaScript calls to their opener(s) and
(...skipping 358 matching lines...) Expand 10 before | Expand all | Expand 10 after
830 bool should_reuse_web_ui_; 834 bool should_reuse_web_ui_;
831 835
832 base::WeakPtrFactory<RenderFrameHostManager> weak_factory_; 836 base::WeakPtrFactory<RenderFrameHostManager> weak_factory_;
833 837
834 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostManager); 838 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostManager);
835 }; 839 };
836 840
837 } // namespace content 841 } // namespace content
838 842
839 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_MANAGER_H_ 843 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698