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

Side by Side Diff: Source/core/paint/LayerPainter.h

Issue 757183003: Revert of Enable fast/images with slimming paint (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years 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/paint/LayerClipRecorderTest.cpp ('k') | Source/core/paint/LayerPainter.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 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef LayerPainter_h 5 #ifndef LayerPainter_h
6 #define LayerPainter_h 6 #define LayerPainter_h
7 7
8 #include "core/paint/ClipRecorder.h"
8 #include "core/rendering/LayerFragment.h" 9 #include "core/rendering/LayerFragment.h"
9 #include "core/rendering/LayerPaintingInfo.h" 10 #include "core/rendering/LayerPaintingInfo.h"
10 11
11 namespace blink { 12 namespace blink {
12 13
13 class ClipRect; 14 class ClipRect;
14 class LayoutPoint; 15 class LayoutPoint;
15 class RenderLayer; 16 class RenderLayer;
16 17
17 class LayerPainter { 18 class LayerPainter {
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 // Returns whether this layer should be painted during sofware painting (i.e ., not via calls from CompositedLayerMapping to draw into composited 57 // Returns whether this layer should be painted during sofware painting (i.e ., not via calls from CompositedLayerMapping to draw into composited
57 // layers). 58 // layers).
58 bool shouldPaintLayerInSoftwareMode(const LayerPaintingInfo&, PaintLayerFlag s paintFlags); 59 bool shouldPaintLayerInSoftwareMode(const LayerPaintingInfo&, PaintLayerFlag s paintFlags);
59 60
60 RenderLayer& m_renderLayer; 61 RenderLayer& m_renderLayer;
61 }; 62 };
62 63
63 } // namespace blink 64 } // namespace blink
64 65
65 #endif // LayerPainter_h 66 #endif // LayerPainter_h
OLDNEW
« no previous file with comments | « Source/core/paint/LayerClipRecorderTest.cpp ('k') | Source/core/paint/LayerPainter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698