OLD | NEW |
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/html/HTMLFrameOwnerElement.h" | 10 #include "core/html/HTMLFrameOwnerElement.h" |
(...skipping 771 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
782 ASSERT(frame()); | 782 ASSERT(frame()); |
783 frame()->securityContext()->enforceSandboxFlags(static_cast<SandboxFlags>(fl
ags)); | 783 frame()->securityContext()->enforceSandboxFlags(static_cast<SandboxFlags>(fl
ags)); |
784 } | 784 } |
785 | 785 |
786 void WebRemoteFrameImpl::setReplicatedName(const WebString& name) const | 786 void WebRemoteFrameImpl::setReplicatedName(const WebString& name) const |
787 { | 787 { |
788 ASSERT(frame()); | 788 ASSERT(frame()); |
789 frame()->tree().setName(name, nullAtom); | 789 frame()->tree().setName(name, nullAtom); |
790 } | 790 } |
791 | 791 |
| 792 void WebRemoteFrameImpl::setReplicatedShouldEnforceStrictMixedContentChecking(bo
ol shouldEnforce) const |
| 793 { |
| 794 ASSERT(frame()); |
| 795 frame()->securityContext()->setShouldEnforceStrictMixedContentChecking(shoul
dEnforce); |
| 796 } |
| 797 |
792 void WebRemoteFrameImpl::DispatchLoadEventForFrameOwner() const | 798 void WebRemoteFrameImpl::DispatchLoadEventForFrameOwner() const |
793 { | 799 { |
794 ASSERT(frame()->owner()->isLocal()); | 800 ASSERT(frame()->owner()->isLocal()); |
795 frame()->owner()->dispatchLoad(); | 801 frame()->owner()->dispatchLoad(); |
796 } | 802 } |
797 | 803 |
798 void WebRemoteFrameImpl::didStartLoading() | 804 void WebRemoteFrameImpl::didStartLoading() |
799 { | 805 { |
800 frame()->setIsLoading(true); | 806 frame()->setIsLoading(true); |
801 } | 807 } |
(...skipping 12 matching lines...) Expand all Loading... |
814 : WebRemoteFrame(scope) | 820 : WebRemoteFrame(scope) |
815 , m_frameClient(RemoteFrameClientImpl::create(this)) | 821 , m_frameClient(RemoteFrameClientImpl::create(this)) |
816 , m_client(client) | 822 , m_client(client) |
817 #if ENABLE(OILPAN) | 823 #if ENABLE(OILPAN) |
818 , m_selfKeepAlive(this) | 824 , m_selfKeepAlive(this) |
819 #endif | 825 #endif |
820 { | 826 { |
821 } | 827 } |
822 | 828 |
823 } // namespace blink | 829 } // namespace blink |
OLD | NEW |