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

Side by Side Diff: third_party/WebKit/Source/web/WebRemoteFrameImpl.cpp

Issue 1489253002: Plumb document's strict mixed content checking for RemoteFrames (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #include "config.h" 5 #include "config.h"
6 #include "web/WebRemoteFrameImpl.h" 6 #include "web/WebRemoteFrameImpl.h"
7 7
8 #include "core/frame/FrameView.h" 8 #include "core/frame/FrameView.h"
9 #include "core/frame/Settings.h" 9 #include "core/frame/Settings.h"
10 #include "core/page/Page.h" 10 #include "core/page/Page.h"
(...skipping 756 matching lines...) Expand 10 before | Expand all | Expand 10 after
767 ASSERT(frame()); 767 ASSERT(frame());
768 frame()->securityContext()->enforceSandboxFlags(static_cast<SandboxFlags>(fl ags)); 768 frame()->securityContext()->enforceSandboxFlags(static_cast<SandboxFlags>(fl ags));
769 } 769 }
770 770
771 void WebRemoteFrameImpl::setReplicatedName(const WebString& name) const 771 void WebRemoteFrameImpl::setReplicatedName(const WebString& name) const
772 { 772 {
773 ASSERT(frame()); 773 ASSERT(frame());
774 frame()->tree().setName(name, nullAtom); 774 frame()->tree().setName(name, nullAtom);
775 } 775 }
776 776
777 void WebRemoteFrameImpl::setReplicatedShouldEnforceStrictMixedContentChecking(bo ol shouldEnforce) const
778 {
779 ASSERT(frame());
780 frame()->setShouldEnforceStrictMixedContentChecking(shouldEnforce);
781 }
782
777 void WebRemoteFrameImpl::DispatchLoadEventForFrameOwner() const 783 void WebRemoteFrameImpl::DispatchLoadEventForFrameOwner() const
778 { 784 {
779 ASSERT(frame()->owner()->isLocal()); 785 ASSERT(frame()->owner()->isLocal());
780 frame()->owner()->dispatchLoad(); 786 frame()->owner()->dispatchLoad();
781 } 787 }
782 788
783 void WebRemoteFrameImpl::didStartLoading() 789 void WebRemoteFrameImpl::didStartLoading()
784 { 790 {
785 frame()->setIsLoading(true); 791 frame()->setIsLoading(true);
786 } 792 }
(...skipping 12 matching lines...) Expand all
799 : WebRemoteFrame(scope) 805 : WebRemoteFrame(scope)
800 , m_frameClient(RemoteFrameClientImpl::create(this)) 806 , m_frameClient(RemoteFrameClientImpl::create(this))
801 , m_client(client) 807 , m_client(client)
802 #if ENABLE(OILPAN) 808 #if ENABLE(OILPAN)
803 , m_selfKeepAlive(this) 809 , m_selfKeepAlive(this)
804 #endif 810 #endif
805 { 811 {
806 } 812 }
807 813
808 } // namespace blink 814 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698