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

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

Issue 27030009: Revert "Make compositingState explicit (re-land #2 with bogus ASSERT removed)" (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fix build error Created 7 years, 2 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/rendering/RenderLayerRepainter.cpp ('k') | Source/core/rendering/RenderObject.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) 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 12 matching lines...) Expand all
23 * 23 *
24 */ 24 */
25 25
26 #ifndef RenderObject_h 26 #ifndef RenderObject_h
27 #define RenderObject_h 27 #define RenderObject_h
28 28
29 #include "core/dom/Element.h" 29 #include "core/dom/Element.h"
30 #include "core/dom/Position.h" 30 #include "core/dom/Position.h"
31 #include "core/dom/StyleEngine.h" 31 #include "core/dom/StyleEngine.h"
32 #include "core/fetch/ImageResourceClient.h" 32 #include "core/fetch/ImageResourceClient.h"
33 #include "core/rendering/CompositingState.h"
34 #include "core/rendering/LayoutIndicator.h" 33 #include "core/rendering/LayoutIndicator.h"
35 #include "core/rendering/PaintPhase.h" 34 #include "core/rendering/PaintPhase.h"
36 #include "core/rendering/RenderObjectChildList.h" 35 #include "core/rendering/RenderObjectChildList.h"
37 #include "core/rendering/RenderingNodeProxy.h" 36 #include "core/rendering/RenderingNodeProxy.h"
38 #include "core/rendering/ScrollBehavior.h" 37 #include "core/rendering/ScrollBehavior.h"
39 #include "core/rendering/SubtreeLayoutScope.h" 38 #include "core/rendering/SubtreeLayoutScope.h"
40 #include "core/rendering/style/RenderStyle.h" 39 #include "core/rendering/style/RenderStyle.h"
41 #include "core/rendering/style/StyleInheritedData.h" 40 #include "core/rendering/style/StyleInheritedData.h"
42 #include "platform/geometry/FloatQuad.h" 41 #include "platform/geometry/FloatQuad.h"
43 #include "platform/geometry/LayoutRect.h" 42 #include "platform/geometry/LayoutRect.h"
(...skipping 650 matching lines...) Expand 10 before | Expand all | Expand 10 after
694 // True if we can abort layout, leaving a partially laid out tree. 693 // True if we can abort layout, leaving a partially laid out tree.
695 virtual bool supportsPartialLayout() const { return false; } 694 virtual bool supportsPartialLayout() const { return false; }
696 695
697 // used for element state updates that cannot be fixed with a 696 // used for element state updates that cannot be fixed with a
698 // repaint and do not need a relayout 697 // repaint and do not need a relayout
699 virtual void updateFromElement() { } 698 virtual void updateFromElement() { }
700 699
701 virtual void addAnnotatedRegions(Vector<AnnotatedRegionValue>&); 700 virtual void addAnnotatedRegions(Vector<AnnotatedRegionValue>&);
702 void collectAnnotatedRegions(Vector<AnnotatedRegionValue>&); 701 void collectAnnotatedRegions(Vector<AnnotatedRegionValue>&);
703 702
704 CompositingState compositingState() const; 703 bool isComposited() const;
705 704
706 bool hitTest(const HitTestRequest&, HitTestResult&, const HitTestLocation& l ocationInContainer, const LayoutPoint& accumulatedOffset, HitTestFilter = HitTes tAll); 705 bool hitTest(const HitTestRequest&, HitTestResult&, const HitTestLocation& l ocationInContainer, const LayoutPoint& accumulatedOffset, HitTestFilter = HitTes tAll);
707 virtual void updateHitTestResult(HitTestResult&, const LayoutPoint&); 706 virtual void updateHitTestResult(HitTestResult&, const LayoutPoint&);
708 virtual bool nodeAtPoint(const HitTestRequest&, HitTestResult&, const HitTes tLocation& locationInContainer, const LayoutPoint& accumulatedOffset, HitTestAct ion); 707 virtual bool nodeAtPoint(const HitTestRequest&, HitTestResult&, const HitTes tLocation& locationInContainer, const LayoutPoint& accumulatedOffset, HitTestAct ion);
709 708
710 virtual PositionWithAffinity positionForPoint(const LayoutPoint&); 709 virtual PositionWithAffinity positionForPoint(const LayoutPoint&);
711 PositionWithAffinity createPositionWithAffinity(int offset, EAffinity); 710 PositionWithAffinity createPositionWithAffinity(int offset, EAffinity);
712 PositionWithAffinity createPositionWithAffinity(const Position&); 711 PositionWithAffinity createPositionWithAffinity(const Position&);
713 712
714 virtual void dirtyLinesFromChangedChild(RenderObject*); 713 virtual void dirtyLinesFromChangedChild(RenderObject*);
(...skipping 673 matching lines...) Expand 10 before | Expand all | Expand 10 after
1388 void showTree(const WebCore::RenderObject*); 1387 void showTree(const WebCore::RenderObject*);
1389 void showLineTree(const WebCore::RenderObject*); 1388 void showLineTree(const WebCore::RenderObject*);
1390 void showRenderTree(const WebCore::RenderObject* object1); 1389 void showRenderTree(const WebCore::RenderObject* object1);
1391 // We don't make object2 an optional parameter so that showRenderTree 1390 // We don't make object2 an optional parameter so that showRenderTree
1392 // can be called from gdb easily. 1391 // can be called from gdb easily.
1393 void showRenderTree(const WebCore::RenderObject* object1, const WebCore::RenderO bject* object2); 1392 void showRenderTree(const WebCore::RenderObject* object1, const WebCore::RenderO bject* object2);
1394 1393
1395 #endif 1394 #endif
1396 1395
1397 #endif // RenderObject_h 1396 #endif // RenderObject_h
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderLayerRepainter.cpp ('k') | Source/core/rendering/RenderObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698