Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(674)

Side by Side Diff: third_party/WebKit/Source/core/layout/api/LayoutItem.h

Issue 2107233002: Reland "Implement FullScreen using top layer." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: new untested DCHECK Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698