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

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

Issue 1413233005: tracing: Report ResourceClients and the reason for not deletable for web-caches (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Reflected haraken's comments. Created 5 years, 1 month 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 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 ~LayoutObject() override; 214 ~LayoutObject() override;
215 215
216 // Returns the name of the layout object. 216 // Returns the name of the layout object.
217 virtual const char* name() const = 0; 217 virtual const char* name() const = 0;
218 218
219 // Returns the decorated name used by run-layout-tests. The name contains th e name of the object 219 // Returns the decorated name used by run-layout-tests. The name contains th e name of the object
220 // along with extra information about the layout object state (e.g. position ing). 220 // along with extra information about the layout object state (e.g. position ing).
221 String decoratedName() const; 221 String decoratedName() const;
222 222
223 // Returns the decorated name along with the debug information from the asso ciated Node object. 223 // Returns the decorated name along with the debug information from the asso ciated Node object.
224 String debugName() const; 224 String debugName() const final;
225 225
226 LayoutObject* parent() const { return m_parent; } 226 LayoutObject* parent() const { return m_parent; }
227 bool isDescendantOf(const LayoutObject*) const; 227 bool isDescendantOf(const LayoutObject*) const;
228 228
229 LayoutObject* previousSibling() const { return m_previous; } 229 LayoutObject* previousSibling() const { return m_previous; }
230 LayoutObject* nextSibling() const { return m_next; } 230 LayoutObject* nextSibling() const { return m_next; }
231 231
232 LayoutObject* slowFirstChild() const 232 LayoutObject* slowFirstChild() const
233 { 233 {
234 if (const LayoutObjectChildList* children = virtualChildren()) 234 if (const LayoutObjectChildList* children = virtualChildren())
(...skipping 1812 matching lines...) Expand 10 before | Expand all | Expand 10 after
2047 void showTree(const blink::LayoutObject*); 2047 void showTree(const blink::LayoutObject*);
2048 void showLineTree(const blink::LayoutObject*); 2048 void showLineTree(const blink::LayoutObject*);
2049 void showLayoutTree(const blink::LayoutObject* object1); 2049 void showLayoutTree(const blink::LayoutObject* object1);
2050 // We don't make object2 an optional parameter so that showLayoutTree 2050 // We don't make object2 an optional parameter so that showLayoutTree
2051 // can be called from gdb easily. 2051 // can be called from gdb easily.
2052 void showLayoutTree(const blink::LayoutObject* object1, const blink::LayoutObjec t* object2); 2052 void showLayoutTree(const blink::LayoutObject* object1, const blink::LayoutObjec t* object2);
2053 2053
2054 #endif 2054 #endif
2055 2055
2056 #endif // LayoutObject_h 2056 #endif // LayoutObject_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698