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

Side by Side Diff: Source/platform/graphics/PaintInvalidationReason.h

Issue 899163003: Move rendering/RenderObject to layout/LayoutObject. (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/modules/accessibility/AXTableRow.cpp ('k') | Source/platform/text/BidiResolver.h » ('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 PaintInvalidationReason_h 5 #ifndef PaintInvalidationReason_h
6 #define PaintInvalidationReason_h 6 #define PaintInvalidationReason_h
7 7
8 #include "platform/PlatformExport.h" 8 #include "platform/PlatformExport.h"
9 9
10 namespace blink { 10 namespace blink {
11 11
12 enum PaintInvalidationReason { 12 enum PaintInvalidationReason {
13 PaintInvalidationNone, 13 PaintInvalidationNone,
14 PaintInvalidationIncremental, 14 PaintInvalidationIncremental,
15 PaintInvalidationRectangle, 15 PaintInvalidationRectangle,
16 // The following reasons will all cause full invalidation of the RenderObjec t. 16 // The following reasons will all cause full invalidation of the LayoutObjec t.
17 PaintInvalidationFull, // Any unspecified reason of full invalidation. 17 PaintInvalidationFull, // Any unspecified reason of full invalidation.
18 PaintInvalidationStyleChange, 18 PaintInvalidationStyleChange,
19 PaintInvalidationForcedByLayout, 19 PaintInvalidationForcedByLayout,
20 PaintInvalidationCompositingUpdate, 20 PaintInvalidationCompositingUpdate,
21 PaintInvalidationBorderBoxChange, 21 PaintInvalidationBorderBoxChange,
22 PaintInvalidationBoundsChange, 22 PaintInvalidationBoundsChange,
23 PaintInvalidationLocationChange, 23 PaintInvalidationLocationChange,
24 PaintInvalidationBecameVisible, 24 PaintInvalidationBecameVisible,
25 PaintInvalidationBecameInvisible, 25 PaintInvalidationBecameInvisible,
26 PaintInvalidationScroll, 26 PaintInvalidationScroll,
27 PaintInvalidationSelection, 27 PaintInvalidationSelection,
28 PaintInvalidationLayer, 28 PaintInvalidationLayer,
29 PaintInvalidationRendererInsertion, 29 PaintInvalidationRendererInsertion,
30 PaintInvalidationRendererRemoval 30 PaintInvalidationRendererRemoval
31 }; 31 };
32 32
33 PLATFORM_EXPORT const char* paintInvalidationReasonToString(PaintInvalidationRea son); 33 PLATFORM_EXPORT const char* paintInvalidationReasonToString(PaintInvalidationRea son);
34 34
35 inline bool isFullPaintInvalidationReason(PaintInvalidationReason reason) 35 inline bool isFullPaintInvalidationReason(PaintInvalidationReason reason)
36 { 36 {
37 return reason >= PaintInvalidationFull; 37 return reason >= PaintInvalidationFull;
38 } 38 }
39 39
40 } // namespace blink 40 } // namespace blink
41 41
42 #endif // PaintInvalidationReason_h 42 #endif // PaintInvalidationReason_h
OLDNEW
« no previous file with comments | « Source/modules/accessibility/AXTableRow.cpp ('k') | Source/platform/text/BidiResolver.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698