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

Side by Side Diff: third_party/WebKit/Source/platform/graphics/GraphicsLayerClient.h

Issue 1880763002: Merge repaintRects and paintInvalidationObjects in text-based-repaint test results (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2009 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 GraphicsLayerPaintOverflowContents = (1 << 3), 43 GraphicsLayerPaintOverflowContents = (1 << 3),
44 GraphicsLayerPaintCompositedScroll = (1 << 4), 44 GraphicsLayerPaintCompositedScroll = (1 << 4),
45 GraphicsLayerPaintChildClippingMask = (1 << 5), 45 GraphicsLayerPaintChildClippingMask = (1 << 5),
46 GraphicsLayerPaintAllWithOverflowClip = (GraphicsLayerPaintBackground | Grap hicsLayerPaintForeground | GraphicsLayerPaintMask) 46 GraphicsLayerPaintAllWithOverflowClip = (GraphicsLayerPaintBackground | Grap hicsLayerPaintForeground | GraphicsLayerPaintMask)
47 }; 47 };
48 typedef unsigned GraphicsLayerPaintingPhase; 48 typedef unsigned GraphicsLayerPaintingPhase;
49 49
50 enum { 50 enum {
51 LayerTreeNormal = 0, 51 LayerTreeNormal = 0,
52 LayerTreeIncludesDebugInfo = 1 << 0, // Dump extra debugging info like layer addresses. 52 LayerTreeIncludesDebugInfo = 1 << 0, // Dump extra debugging info like layer addresses.
53 LayerTreeIncludesPaintInvalidationRects = 1 << 1, 53 LayerTreeIncludesPaintInvalidations = 1 << 1,
54 LayerTreeIncludesPaintingPhases = 1 << 2, 54 LayerTreeIncludesPaintingPhases = 1 << 2,
55 LayerTreeIncludesRootLayer = 1 << 3, 55 LayerTreeIncludesRootLayer = 1 << 3,
56 LayerTreeIncludesClipAndScrollParents = 1 << 4, 56 LayerTreeIncludesClipAndScrollParents = 1 << 4,
57 LayerTreeIncludesPaintInvalidationObjects = 1 << 5, 57 LayerTreeIncludesCompositingReasons = 1 << 5,
58 LayerTreeIncludesCompositingReasons = 1 << 6,
59 }; 58 };
60 typedef unsigned LayerTreeFlags; 59 typedef unsigned LayerTreeFlags;
61 60
62 class PLATFORM_EXPORT GraphicsLayerClient { 61 class PLATFORM_EXPORT GraphicsLayerClient {
63 public: 62 public:
64 virtual ~GraphicsLayerClient() {} 63 virtual ~GraphicsLayerClient() {}
65 64
66 virtual void notifyFirstPaint() { } 65 virtual void notifyFirstPaint() { }
67 virtual void notifyFirstTextPaint() { } 66 virtual void notifyFirstTextPaint() { }
68 virtual void notifyFirstImagePaint() { } 67 virtual void notifyFirstImagePaint() { }
(...skipping 14 matching lines...) Expand all
83 // This is executed in GraphicsLayer construction and destruction 82 // This is executed in GraphicsLayer construction and destruction
84 // to verify that we don't create or destroy GraphicsLayers 83 // to verify that we don't create or destroy GraphicsLayers
85 // while painting. 84 // while painting.
86 virtual void verifyNotPainting() { } 85 virtual void verifyNotPainting() { }
87 #endif 86 #endif
88 }; 87 };
89 88
90 } // namespace blink 89 } // namespace blink
91 90
92 #endif // GraphicsLayerClient_h 91 #endif // GraphicsLayerClient_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp ('k') | third_party/WebKit/Source/web/LinkHighlightImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698