OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be found | 2 // Use of this source code is governed by a BSD-style license that can be found |
3 // in the LICENSE file. | 3 // in the LICENSE file. |
4 | 4 |
5 #ifndef RemoteFrameOwner_h | 5 #ifndef RemoteFrameOwner_h |
6 #define RemoteFrameOwner_h | 6 #define RemoteFrameOwner_h |
7 | 7 |
8 #include "core/frame/FrameOwner.h" | 8 #include "core/frame/FrameOwner.h" |
9 #include "platform/scroll/ScrollTypes.h" | 9 #include "platform/scroll/ScrollTypes.h" |
10 #include "public/web/WebFrameOwnerProperties.h" | 10 #include "public/web/WebFrameOwnerProperties.h" |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 } | 58 } |
59 void setScrollingMode(WebFrameOwnerProperties::ScrollingMode); | 59 void setScrollingMode(WebFrameOwnerProperties::ScrollingMode); |
60 void setMarginWidth(int marginWidth) { m_marginWidth = marginWidth; } | 60 void setMarginWidth(int marginWidth) { m_marginWidth = marginWidth; } |
61 void setMarginHeight(int marginHeight) { m_marginHeight = marginHeight; } | 61 void setMarginHeight(int marginHeight) { m_marginHeight = marginHeight; } |
62 void setAllowFullscreen(bool allowFullscreen) { | 62 void setAllowFullscreen(bool allowFullscreen) { |
63 m_allowFullscreen = allowFullscreen; | 63 m_allowFullscreen = allowFullscreen; |
64 } | 64 } |
65 void setAllowPaymentRequest(bool allowPaymentRequest) { | 65 void setAllowPaymentRequest(bool allowPaymentRequest) { |
66 m_allowPaymentRequest = allowPaymentRequest; | 66 m_allowPaymentRequest = allowPaymentRequest; |
67 } | 67 } |
| 68 void setCollapsedByClient(bool) override; |
68 void setCsp(const WebString& csp) { m_csp = csp; } | 69 void setCsp(const WebString& csp) { m_csp = csp; } |
69 void setDelegatedpermissions( | 70 void setDelegatedpermissions( |
70 const WebVector<mojom::blink::PermissionName>& delegatedPermissions) { | 71 const WebVector<mojom::blink::PermissionName>& delegatedPermissions) { |
71 m_delegatedPermissions = delegatedPermissions; | 72 m_delegatedPermissions = delegatedPermissions; |
72 } | 73 } |
73 | 74 |
74 DECLARE_VIRTUAL_TRACE(); | 75 DECLARE_VIRTUAL_TRACE(); |
75 | 76 |
76 private: | 77 private: |
77 RemoteFrameOwner(SandboxFlags, const WebFrameOwnerProperties&); | 78 RemoteFrameOwner(SandboxFlags, const WebFrameOwnerProperties&); |
(...skipping 17 matching lines...) Expand all Loading... |
95 | 96 |
96 DEFINE_TYPE_CASTS(RemoteFrameOwner, | 97 DEFINE_TYPE_CASTS(RemoteFrameOwner, |
97 FrameOwner, | 98 FrameOwner, |
98 owner, | 99 owner, |
99 owner->isRemote(), | 100 owner->isRemote(), |
100 owner.isRemote()); | 101 owner.isRemote()); |
101 | 102 |
102 } // namespace blink | 103 } // namespace blink |
103 | 104 |
104 #endif // RemoteFrameOwner_h | 105 #endif // RemoteFrameOwner_h |
OLD | NEW |