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

Side by Side Diff: sky/engine/core/rendering/RenderObject.h

Issue 877043002: Remove RenderLayerScrollableArea (Closed) Base URL: git@github.com:domokit/mojo.git@master
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
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 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 typedef WTF::HashMap<const RenderLayer*, Vector<LayoutRect> > LayerHitTestRects; 120 typedef WTF::HashMap<const RenderLayer*, Vector<LayoutRect> > LayerHitTestRects;
121 121
122 #ifndef NDEBUG 122 #ifndef NDEBUG
123 const int showTreeCharacterOffset = 39; 123 const int showTreeCharacterOffset = 39;
124 #endif 124 #endif
125 125
126 // Base class for all rendering tree objects. 126 // Base class for all rendering tree objects.
127 class RenderObject : public ImageResourceClient { 127 class RenderObject : public ImageResourceClient {
128 friend class RenderBlock; 128 friend class RenderBlock;
129 friend class RenderBlockFlow; 129 friend class RenderBlockFlow;
130 friend class RenderLayerScrollableArea; // For setParent.
131 friend class RenderObjectChildList; 130 friend class RenderObjectChildList;
132 WTF_MAKE_NONCOPYABLE(RenderObject); 131 WTF_MAKE_NONCOPYABLE(RenderObject);
133 public: 132 public:
134 // Anonymous objects should pass the document as their node, and they will t hen automatically be 133 // Anonymous objects should pass the document as their node, and they will t hen automatically be
135 // marked as anonymous in the constructor. 134 // marked as anonymous in the constructor.
136 explicit RenderObject(Node*); 135 explicit RenderObject(Node*);
137 virtual ~RenderObject(); 136 virtual ~RenderObject();
138 137
139 virtual const char* renderName() const = 0; 138 virtual const char* renderName() const = 0;
140 139
(...skipping 787 matching lines...) Expand 10 before | Expand all | Expand 10 after
928 void showTree(const blink::RenderObject*); 927 void showTree(const blink::RenderObject*);
929 void showLineTree(const blink::RenderObject*); 928 void showLineTree(const blink::RenderObject*);
930 void showRenderTree(const blink::RenderObject* object1); 929 void showRenderTree(const blink::RenderObject* object1);
931 // We don't make object2 an optional parameter so that showRenderTree 930 // We don't make object2 an optional parameter so that showRenderTree
932 // can be called from gdb easily. 931 // can be called from gdb easily.
933 void showRenderTree(const blink::RenderObject* object1, const blink::RenderObjec t* object2); 932 void showRenderTree(const blink::RenderObject* object1, const blink::RenderObjec t* object2);
934 933
935 #endif 934 #endif
936 935
937 #endif // SKY_ENGINE_CORE_RENDERING_RENDEROBJECT_H_ 936 #endif // SKY_ENGINE_CORE_RENDERING_RENDEROBJECT_H_
OLDNEW
« no previous file with comments | « sky/engine/core/rendering/RenderLayerScrollableArea.cpp ('k') | sky/engine/core/rendering/RenderObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698