| 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/page/Page.h" | 10 #include "core/page/Page.h" |
| (...skipping 756 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |