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

Side by Side Diff: sky/engine/platform/graphics/GraphicsLayerClient.h

Issue 721473002: Removed ScrollingCoordinator and a bunch of composited scrolling' (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: moar Created 6 years, 1 month 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 22 matching lines...) Expand all
33 33
34 class GraphicsContext; 34 class GraphicsContext;
35 class GraphicsLayer; 35 class GraphicsLayer;
36 class IntRect; 36 class IntRect;
37 37
38 enum GraphicsLayerPaintingPhaseFlags { 38 enum GraphicsLayerPaintingPhaseFlags {
39 GraphicsLayerPaintBackground = (1 << 0), 39 GraphicsLayerPaintBackground = (1 << 0),
40 GraphicsLayerPaintForeground = (1 << 1), 40 GraphicsLayerPaintForeground = (1 << 1),
41 GraphicsLayerPaintMask = (1 << 2), 41 GraphicsLayerPaintMask = (1 << 2),
42 GraphicsLayerPaintOverflowContents = (1 << 3), 42 GraphicsLayerPaintOverflowContents = (1 << 3),
43 GraphicsLayerPaintCompositedScroll = (1 << 4),
44 GraphicsLayerPaintChildClippingMask = (1 << 5), 43 GraphicsLayerPaintChildClippingMask = (1 << 5),
45 GraphicsLayerPaintAllWithOverflowClip = (GraphicsLayerPaintBackground | Grap hicsLayerPaintForeground | GraphicsLayerPaintMask) 44 GraphicsLayerPaintAllWithOverflowClip = (GraphicsLayerPaintBackground | Grap hicsLayerPaintForeground | GraphicsLayerPaintMask)
46 }; 45 };
47 typedef unsigned GraphicsLayerPaintingPhase; 46 typedef unsigned GraphicsLayerPaintingPhase;
48 47
49 enum { 48 enum {
50 LayerTreeNormal = 0, 49 LayerTreeNormal = 0,
51 LayerTreeIncludesDebugInfo = 1 << 0, // Dump extra debugging info like layer addresses. 50 LayerTreeIncludesDebugInfo = 1 << 0, // Dump extra debugging info like layer addresses.
52 LayerTreeIncludesPaintInvalidationRects = 1 << 1, 51 LayerTreeIncludesPaintInvalidationRects = 1 << 1,
53 LayerTreeIncludesPaintingPhases = 1 << 2, 52 LayerTreeIncludesPaintingPhases = 1 << 2,
(...skipping 20 matching lines...) Expand all
74 // This is executed in GraphicsLayer construction and destruction 73 // This is executed in GraphicsLayer construction and destruction
75 // to verify that we don't create or destroy GraphicsLayers 74 // to verify that we don't create or destroy GraphicsLayers
76 // while painting. 75 // while painting.
77 virtual void verifyNotPainting() { } 76 virtual void verifyNotPainting() { }
78 #endif 77 #endif
79 }; 78 };
80 79
81 } // namespace blink 80 } // namespace blink
82 81
83 #endif // GraphicsLayerClient_h 82 #endif // GraphicsLayerClient_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698