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

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

Issue 1055263002: Make custom layout actually work. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 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
« no previous file with comments | « sky/engine/core/rendering/RenderCustomLayout.cpp ('k') | sky/tests/layout/custom.sky » ('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) 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 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 void operator delete(void*); 254 void operator delete(void*);
255 #endif 255 #endif
256 256
257 public: 257 public:
258 virtual bool isBoxModelObject() const { return false; } 258 virtual bool isBoxModelObject() const { return false; }
259 virtual bool isCanvas() const { return false; } 259 virtual bool isCanvas() const { return false; }
260 virtual bool isImage() const { return false; } 260 virtual bool isImage() const { return false; }
261 virtual bool isInlineBlock() const { return false; } 261 virtual bool isInlineBlock() const { return false; }
262 virtual bool isRenderBlock() const { return false; } 262 virtual bool isRenderBlock() const { return false; }
263 virtual bool isRenderBlockFlow() const { return false; } 263 virtual bool isRenderBlockFlow() const { return false; }
264 virtual bool isRenderCustomLayout() const { return false; }
264 virtual bool isRenderParagraph() const { return false; } 265 virtual bool isRenderParagraph() const { return false; }
265 virtual bool isRenderImage() const { return false; } 266 virtual bool isRenderImage() const { return false; }
266 virtual bool isRenderInline() const { return false; } 267 virtual bool isRenderInline() const { return false; }
267 virtual bool isRenderView() const { return false; } 268 virtual bool isRenderView() const { return false; }
268 269
269 bool everHadLayout() const { return m_bitfields.everHadLayout(); } 270 bool everHadLayout() const { return m_bitfields.everHadLayout(); }
270 271
271 bool alwaysCreateLineBoxesForRenderInline() const 272 bool alwaysCreateLineBoxesForRenderInline() const
272 { 273 {
273 ASSERT(isRenderInline()); 274 ASSERT(isRenderInline());
(...skipping 614 matching lines...) Expand 10 before | Expand all | Expand 10 after
888 void showTree(const blink::RenderObject*); 889 void showTree(const blink::RenderObject*);
889 void showLineTree(const blink::RenderObject*); 890 void showLineTree(const blink::RenderObject*);
890 void showRenderTree(const blink::RenderObject* object1); 891 void showRenderTree(const blink::RenderObject* object1);
891 // We don't make object2 an optional parameter so that showRenderTree 892 // We don't make object2 an optional parameter so that showRenderTree
892 // can be called from gdb easily. 893 // can be called from gdb easily.
893 void showRenderTree(const blink::RenderObject* object1, const blink::RenderObjec t* object2); 894 void showRenderTree(const blink::RenderObject* object1, const blink::RenderObjec t* object2);
894 895
895 #endif 896 #endif
896 897
897 #endif // SKY_ENGINE_CORE_RENDERING_RENDEROBJECT_H_ 898 #endif // SKY_ENGINE_CORE_RENDERING_RENDEROBJECT_H_
OLDNEW
« no previous file with comments | « sky/engine/core/rendering/RenderCustomLayout.cpp ('k') | sky/tests/layout/custom.sky » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698