OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 LayoutItem_h | 5 #ifndef LayoutItem_h |
6 #define LayoutItem_h | 6 #define LayoutItem_h |
7 | 7 |
8 #include "core/inspector/InspectorTraceEvents.h" | 8 #include "core/inspector/InspectorTraceEvents.h" |
9 #include "core/layout/LayoutObject.h" | 9 #include "core/layout/LayoutObject.h" |
10 | 10 |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 bool isEmbeddedObject() const | 91 bool isEmbeddedObject() const |
92 { | 92 { |
93 return m_layoutObject->isEmbeddedObject(); | 93 return m_layoutObject->isEmbeddedObject(); |
94 } | 94 } |
95 | 95 |
96 bool isImage() const | 96 bool isImage() const |
97 { | 97 { |
98 return m_layoutObject->isImage(); | 98 return m_layoutObject->isImage(); |
99 } | 99 } |
100 | 100 |
101 bool isLayoutFullScreen() const | |
102 { | |
103 return m_layoutObject->isLayoutFullScreen(); | |
104 } | |
105 | |
106 bool isListItem() const | 101 bool isListItem() const |
107 { | 102 { |
108 return m_layoutObject->isListItem(); | 103 return m_layoutObject->isListItem(); |
109 } | 104 } |
110 | 105 |
111 bool isMedia() const | 106 bool isMedia() const |
112 { | 107 { |
113 return m_layoutObject->isMedia(); | 108 return m_layoutObject->isMedia(); |
114 } | 109 } |
115 | 110 |
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
279 | 274 |
280 private: | 275 private: |
281 LayoutObject* m_layoutObject; | 276 LayoutObject* m_layoutObject; |
282 | 277 |
283 friend class LayoutAPIShim; | 278 friend class LayoutAPIShim; |
284 }; | 279 }; |
285 | 280 |
286 } // namespace blink | 281 } // namespace blink |
287 | 282 |
288 #endif // LayoutItem_h | 283 #endif // LayoutItem_h |
OLD | NEW |