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

Side by Side Diff: Source/core/dom/Node.h

Issue 944923004: rendering/RenderBoxModelObject -> layout/LayoutBoxModelObject (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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
« no previous file with comments | « Source/core/dom/Element.cpp ('k') | Source/core/dom/Node.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) 3 * (C) 1999 Antti Koivisto (koivisto@kde.org)
4 * (C) 2001 Dirk Mueller (mueller@kde.org) 4 * (C) 2001 Dirk Mueller (mueller@kde.org)
5 * Copyright (C) 2004-2011, 2014 Apple Inc. All rights reserved. 5 * Copyright (C) 2004-2011, 2014 Apple Inc. All rights reserved.
6 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/) 6 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/)
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public 9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 class NodeListsNodeData; 69 class NodeListsNodeData;
70 class NodeRareData; 70 class NodeRareData;
71 class PlatformGestureEvent; 71 class PlatformGestureEvent;
72 class PlatformKeyboardEvent; 72 class PlatformKeyboardEvent;
73 class PlatformMouseEvent; 73 class PlatformMouseEvent;
74 class PlatformWheelEvent; 74 class PlatformWheelEvent;
75 class QualifiedName; 75 class QualifiedName;
76 class RadioNodeList; 76 class RadioNodeList;
77 class RegisteredEventListener; 77 class RegisteredEventListener;
78 class RenderBox; 78 class RenderBox;
79 class RenderBoxModelObject; 79 class LayoutBoxModelObject;
80 class LayoutObject; 80 class LayoutObject;
81 class LayoutStyle; 81 class LayoutStyle;
82 class SVGQualifiedName; 82 class SVGQualifiedName;
83 class ShadowRoot; 83 class ShadowRoot;
84 template <typename NodeType> class StaticNodeTypeList; 84 template <typename NodeType> class StaticNodeTypeList;
85 using StaticNodeList = StaticNodeTypeList<Node>; 85 using StaticNodeList = StaticNodeTypeList<Node>;
86 class TagCollection; 86 class TagCollection;
87 class Text; 87 class Text;
88 class TouchEvent; 88 class TouchEvent;
89 class WeakNodeMap; 89 class WeakNodeMap;
(...skipping 418 matching lines...) Expand 10 before | Expand all | Expand 10 after
508 void setRenderer(LayoutObject* renderer) 508 void setRenderer(LayoutObject* renderer)
509 { 509 {
510 if (hasRareData()) 510 if (hasRareData())
511 m_data.m_rareData->setRenderer(renderer); 511 m_data.m_rareData->setRenderer(renderer);
512 else 512 else
513 m_data.m_renderer = renderer; 513 m_data.m_renderer = renderer;
514 } 514 }
515 515
516 // Use these two methods with caution. 516 // Use these two methods with caution.
517 RenderBox* renderBox() const; 517 RenderBox* renderBox() const;
518 RenderBoxModelObject* renderBoxModelObject() const; 518 LayoutBoxModelObject* layoutBoxModelObject() const;
519 519
520 struct AttachContext { 520 struct AttachContext {
521 LayoutStyle* resolvedStyle; 521 LayoutStyle* resolvedStyle;
522 bool performingReattach; 522 bool performingReattach;
523 523
524 AttachContext() : resolvedStyle(nullptr), performingReattach(false) { } 524 AttachContext() : resolvedStyle(nullptr), performingReattach(false) { }
525 }; 525 };
526 526
527 // Attaches this node to the rendering tree. This calculates the style to be applied to the node and creates an 527 // Attaches this node to the rendering tree. This calculates the style to be applied to the node and creates an
528 // appropriate LayoutObject which will be inserted into the tree (except whe n the style has display: none). This 528 // appropriate LayoutObject which will be inserted into the tree (except whe n the style has display: none). This
(...skipping 376 matching lines...) Expand 10 before | Expand all | Expand 10 after
905 } // namespace blink 905 } // namespace blink
906 906
907 #ifndef NDEBUG 907 #ifndef NDEBUG
908 // Outside the WebCore namespace for ease of invocation from gdb. 908 // Outside the WebCore namespace for ease of invocation from gdb.
909 void showNode(const blink::Node*); 909 void showNode(const blink::Node*);
910 void showTree(const blink::Node*); 910 void showTree(const blink::Node*);
911 void showNodePath(const blink::Node*); 911 void showNodePath(const blink::Node*);
912 #endif 912 #endif
913 913
914 #endif // Node_h 914 #endif // Node_h
OLDNEW
« no previous file with comments | « Source/core/dom/Element.cpp ('k') | Source/core/dom/Node.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698