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

Side by Side Diff: Source/core/rendering/RenderObject.h

Issue 208143003: Issue trace events to gather repaint information. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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 | Annotate | Revision Log
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 1054 matching lines...) Expand 10 before | Expand all | Expand 10 after
1065 StyleDifference adjustStyleDifference(StyleDifference, unsigned contextSensi tiveProperties) const; 1065 StyleDifference adjustStyleDifference(StyleDifference, unsigned contextSensi tiveProperties) const;
1066 1066
1067 Color selectionColor(int colorProperty) const; 1067 Color selectionColor(int colorProperty) const;
1068 1068
1069 void removeShapeImageClient(ShapeValue*); 1069 void removeShapeImageClient(ShapeValue*);
1070 1070
1071 #ifndef NDEBUG 1071 #ifndef NDEBUG
1072 void checkBlockPositionedObjectsNeedLayout(); 1072 void checkBlockPositionedObjectsNeedLayout();
1073 #endif 1073 #endif
1074 1074
1075 enum RepaintReason {
1076 RepaintNone,
1077 RepaintSelfLayout,
1078 RepaintBorderFitLines,
1079 RepaintBorderRadius,
1080 RepaintOutlineBoxChange,
1081 RepaintBoundsChange
1082 };
1083 const char* repaintReasonToString(const RepaintReason) const;
1084
1075 RefPtr<RenderStyle> m_style; 1085 RefPtr<RenderStyle> m_style;
1076 1086
1077 Node* m_node; 1087 Node* m_node;
1078 1088
1079 RenderObject* m_parent; 1089 RenderObject* m_parent;
1080 RenderObject* m_previous; 1090 RenderObject* m_previous;
1081 RenderObject* m_next; 1091 RenderObject* m_next;
1082 1092
1083 #ifndef NDEBUG 1093 #ifndef NDEBUG
1084 unsigned m_hasAXObject : 1; 1094 unsigned m_hasAXObject : 1;
(...skipping 341 matching lines...) Expand 10 before | Expand all | Expand 10 after
1426 void showTree(const WebCore::RenderObject*); 1436 void showTree(const WebCore::RenderObject*);
1427 void showLineTree(const WebCore::RenderObject*); 1437 void showLineTree(const WebCore::RenderObject*);
1428 void showRenderTree(const WebCore::RenderObject* object1); 1438 void showRenderTree(const WebCore::RenderObject* object1);
1429 // We don't make object2 an optional parameter so that showRenderTree 1439 // We don't make object2 an optional parameter so that showRenderTree
1430 // can be called from gdb easily. 1440 // can be called from gdb easily.
1431 void showRenderTree(const WebCore::RenderObject* object1, const WebCore::RenderO bject* object2); 1441 void showRenderTree(const WebCore::RenderObject* object1, const WebCore::RenderO bject* object2);
1432 1442
1433 #endif 1443 #endif
1434 1444
1435 #endif // RenderObject_h 1445 #endif // RenderObject_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698