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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 bool isEmbeddedObject() const | 90 bool isEmbeddedObject() const |
91 { | 91 { |
92 return m_layoutObject->isEmbeddedObject(); | 92 return m_layoutObject->isEmbeddedObject(); |
93 } | 93 } |
94 | 94 |
95 bool isImage() const | 95 bool isImage() const |
96 { | 96 { |
97 return m_layoutObject->isImage(); | 97 return m_layoutObject->isImage(); |
98 } | 98 } |
99 | 99 |
100 bool isLayoutFullScreen() const | |
101 { | |
102 return m_layoutObject->isLayoutFullScreen(); | |
103 } | |
104 | |
105 bool isListItem() const | 100 bool isListItem() const |
106 { | 101 { |
107 return m_layoutObject->isListItem(); | 102 return m_layoutObject->isListItem(); |
108 } | 103 } |
109 | 104 |
110 bool isMedia() const | 105 bool isMedia() const |
111 { | 106 { |
112 return m_layoutObject->isMedia(); | 107 return m_layoutObject->isMedia(); |
113 } | 108 } |
114 | 109 |
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
273 | 268 |
274 private: | 269 private: |
275 LayoutObject* m_layoutObject; | 270 LayoutObject* m_layoutObject; |
276 | 271 |
277 friend class LayoutAPIShim; | 272 friend class LayoutAPIShim; |
278 }; | 273 }; |
279 | 274 |
280 } // namespace blink | 275 } // namespace blink |
281 | 276 |
282 #endif // LayoutItem_h | 277 #endif // LayoutItem_h |
OLD | NEW |