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

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

Issue 1861003003: VisualRectMappingTest (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Optional
Patch Set: CORE_EXPORT PaintInvalidationState Created 4 years, 8 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 /* 1 /*
2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org)
3 * (C) 2000 Antti Koivisto (koivisto@kde.org) 3 * (C) 2000 Antti Koivisto (koivisto@kde.org)
4 * (C) 2000 Dirk Mueller (mueller@kde.org) 4 * (C) 2000 Dirk Mueller (mueller@kde.org)
5 * (C) 2004 Allan Sandfeld Jensen (kde@carewolf.com) 5 * (C) 2004 Allan Sandfeld Jensen (kde@carewolf.com)
6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2012 Apple Inc. All r ights reserved. 6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2012 Apple Inc. All r ights reserved.
7 * Copyright (C) 2009 Google Inc. All rights reserved. 7 * Copyright (C) 2009 Google Inc. All rights reserved.
8 * 8 *
9 * This library is free software; you can redistribute it and/or 9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Library General Public 10 * modify it under the terms of the GNU Library General Public
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 // content, LayoutBlockFlow may call LayoutText::computePreferredLogicalWidths. 210 // content, LayoutBlockFlow may call LayoutText::computePreferredLogicalWidths.
211 // 211 //
212 // The 2 widths are computed lazily during layout when the getters are called. 212 // The 2 widths are computed lazily during layout when the getters are called.
213 // The computation is done by calling computePreferredLogicalWidths() behind the 213 // The computation is done by calling computePreferredLogicalWidths() behind the
214 // scene. The boolean used to control the lazy recomputation is 214 // scene. The boolean used to control the lazy recomputation is
215 // preferredLogicalWidthsDirty. 215 // preferredLogicalWidthsDirty.
216 // 216 //
217 // See the individual getters below for more details about what each width is. 217 // See the individual getters below for more details about what each width is.
218 class CORE_EXPORT LayoutObject : public ImageResourceObserver, public DisplayIte mClient { 218 class CORE_EXPORT LayoutObject : public ImageResourceObserver, public DisplayIte mClient {
219 friend class LayoutObjectChildList; 219 friend class LayoutObjectChildList;
220 friend class VisualRectMappingTest;
220 WTF_MAKE_NONCOPYABLE(LayoutObject); 221 WTF_MAKE_NONCOPYABLE(LayoutObject);
221 public: 222 public:
222 // Anonymous objects should pass the document as their node, and they will t hen automatically be 223 // Anonymous objects should pass the document as their node, and they will t hen automatically be
223 // marked as anonymous in the constructor. 224 // marked as anonymous in the constructor.
224 explicit LayoutObject(Node*); 225 explicit LayoutObject(Node*);
225 ~LayoutObject() override; 226 ~LayoutObject() override;
226 227
227 // Returns the name of the layout object. 228 // Returns the name of the layout object.
228 virtual const char* name() const = 0; 229 virtual const char* name() const = 0;
229 230
(...skipping 1943 matching lines...) Expand 10 before | Expand all | Expand 10 after
2173 void showTree(const blink::LayoutObject*); 2174 void showTree(const blink::LayoutObject*);
2174 void showLineTree(const blink::LayoutObject*); 2175 void showLineTree(const blink::LayoutObject*);
2175 void showLayoutTree(const blink::LayoutObject* object1); 2176 void showLayoutTree(const blink::LayoutObject* object1);
2176 // We don't make object2 an optional parameter so that showLayoutTree 2177 // We don't make object2 an optional parameter so that showLayoutTree
2177 // can be called from gdb easily. 2178 // can be called from gdb easily.
2178 void showLayoutTree(const blink::LayoutObject* object1, const blink::LayoutObjec t* object2); 2179 void showLayoutTree(const blink::LayoutObject* object1, const blink::LayoutObjec t* object2);
2179 2180
2180 #endif 2181 #endif
2181 2182
2182 #endif // LayoutObject_h 2183 #endif // LayoutObject_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/core.gypi ('k') | third_party/WebKit/Source/core/layout/LayoutObjectTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698