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...) Expand 10 before | Expand all | Expand 10 after 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 | |
107 bool isListItem() const | 102 bool isListItem() const |
108 { | 103 { |
109 return m_layoutObject->isListItem(); | 104 return m_layoutObject->isListItem(); |
110 } | 105 } |
111 | 106 |
112 bool isMedia() const | 107 bool isMedia() const |
113 { | 108 { |
114 return m_layoutObject->isMedia(); | 109 return m_layoutObject->isMedia(); |
115 } | 110 } |
116 | 111 |
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
300 | 295 |
301 private: | 296 private: |
302 LayoutObject* m_layoutObject; | 297 LayoutObject* m_layoutObject; |
303 | 298 |
304 friend class LayoutAPIShim; | 299 friend class LayoutAPIShim; |
305 }; | 300 }; |
306 | 301 |
307 } // namespace blink | 302 } // namespace blink |
308 | 303 |
309 #endif // LayoutItem_h | 304 #endif // LayoutItem_h |
OLD | NEW |