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

Side by Side Diff: Source/core/platform/graphics/GraphicsLayerClient.h

Issue 16688004: Large canvas does not honor containing div's border radius (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Replaced explicit baselines with NeedsRebaseline Created 7 years, 3 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
« no previous file with comments | « Source/core/platform/graphics/GraphicsLayer.cpp ('k') | Source/core/rendering/PaintPhase.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 /* 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 25 matching lines...) Expand all
36 class IntPoint; 36 class IntPoint;
37 class IntRect; 37 class IntRect;
38 class TransformationMatrix; 38 class TransformationMatrix;
39 39
40 enum GraphicsLayerPaintingPhaseFlags { 40 enum GraphicsLayerPaintingPhaseFlags {
41 GraphicsLayerPaintBackground = (1 << 0), 41 GraphicsLayerPaintBackground = (1 << 0),
42 GraphicsLayerPaintForeground = (1 << 1), 42 GraphicsLayerPaintForeground = (1 << 1),
43 GraphicsLayerPaintMask = (1 << 2), 43 GraphicsLayerPaintMask = (1 << 2),
44 GraphicsLayerPaintOverflowContents = (1 << 3), 44 GraphicsLayerPaintOverflowContents = (1 << 3),
45 GraphicsLayerPaintCompositedScroll = (1 << 4), 45 GraphicsLayerPaintCompositedScroll = (1 << 4),
46 GraphicsLayerPaintChildClippingMask = (1 << 5),
46 GraphicsLayerPaintAllWithOverflowClip = (GraphicsLayerPaintBackground | Grap hicsLayerPaintForeground | GraphicsLayerPaintMask) 47 GraphicsLayerPaintAllWithOverflowClip = (GraphicsLayerPaintBackground | Grap hicsLayerPaintForeground | GraphicsLayerPaintMask)
47 }; 48 };
48 typedef unsigned GraphicsLayerPaintingPhase; 49 typedef unsigned GraphicsLayerPaintingPhase;
49 50
50 enum { 51 enum {
51 LayerTreeNormal = 0, 52 LayerTreeNormal = 0,
52 LayerTreeIncludesDebugInfo = 1 << 0, // Dump extra debugging info like layer addresses. 53 LayerTreeIncludesDebugInfo = 1 << 0, // Dump extra debugging info like layer addresses.
53 LayerTreeIncludesRepaintRects = 1 << 1, 54 LayerTreeIncludesRepaintRects = 1 << 1,
54 LayerTreeIncludesPaintingPhases = 1 << 2, 55 LayerTreeIncludesPaintingPhases = 1 << 2,
55 LayerTreeIncludesRootLayer = 1 << 3 56 LayerTreeIncludesRootLayer = 1 << 3
(...skipping 24 matching lines...) Expand all
80 // This is executed in GraphicsLayer construction and destruction 81 // This is executed in GraphicsLayer construction and destruction
81 // to verify that we don't create or destroy GraphicsLayers 82 // to verify that we don't create or destroy GraphicsLayers
82 // while painting. 83 // while painting.
83 virtual void verifyNotPainting() { } 84 virtual void verifyNotPainting() { }
84 #endif 85 #endif
85 }; 86 };
86 87
87 } // namespace WebCore 88 } // namespace WebCore
88 89
89 #endif // GraphicsLayerClient_h 90 #endif // GraphicsLayerClient_h
OLDNEW
« no previous file with comments | « Source/core/platform/graphics/GraphicsLayer.cpp ('k') | Source/core/rendering/PaintPhase.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698