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 81 matching lines...) Loading... |
92 bool isEmbeddedObject() const | 92 bool isEmbeddedObject() const |
93 { | 93 { |
94 return m_layoutObject->isEmbeddedObject(); | 94 return m_layoutObject->isEmbeddedObject(); |
95 } | 95 } |
96 | 96 |
97 bool isImage() const | 97 bool isImage() const |
98 { | 98 { |
99 return m_layoutObject->isImage(); | 99 return m_layoutObject->isImage(); |
100 } | 100 } |
101 | 101 |
| 102 bool isLayoutFullScreen() const |
| 103 { |
| 104 return m_layoutObject->isLayoutFullScreen(); |
| 105 } |
| 106 |
102 bool isListItem() const | 107 bool isListItem() const |
103 { | 108 { |
104 return m_layoutObject->isListItem(); | 109 return m_layoutObject->isListItem(); |
105 } | 110 } |
106 | 111 |
107 bool isMedia() const | 112 bool isMedia() const |
108 { | 113 { |
109 return m_layoutObject->isMedia(); | 114 return m_layoutObject->isMedia(); |
110 } | 115 } |
111 | 116 |
(...skipping 188 matching lines...) Loading... |
300 | 305 |
301 private: | 306 private: |
302 LayoutObject* m_layoutObject; | 307 LayoutObject* m_layoutObject; |
303 | 308 |
304 friend class LayoutAPIShim; | 309 friend class LayoutAPIShim; |
305 }; | 310 }; |
306 | 311 |
307 } // namespace blink | 312 } // namespace blink |
308 | 313 |
309 #endif // LayoutItem_h | 314 #endif // LayoutItem_h |
OLD | NEW |