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

Unified Diff: Source/core/testing/Internals.idl

Issue 16509007: Cleanup constants for layerTreeAsText. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: naming Created 7 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/testing/Internals.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/testing/Internals.idl
diff --git a/Source/core/testing/Internals.idl b/Source/core/testing/Internals.idl
index 261ef31d2e9866c1271c02b54851671e124b3aaa..0778f503656012b9d66075a668d5bf81c3fa01c1 100644
--- a/Source/core/testing/Internals.idl
+++ b/Source/core/testing/Internals.idl
@@ -25,6 +25,7 @@
*/
[
+ DoNotCheckConstants
Xianzhu 2013/06/11 22:25:03 This is required otherwise the idl compiler will g
] interface Internals {
DOMString address(Node node);
@@ -161,19 +162,18 @@
readonly attribute unsigned long workerThreadCount;
// Flags for layerTreeAsText.
- const unsigned short LAYER_TREE_INCLUDES_VISIBLE_RECTS = 1;
- const unsigned short LAYER_TREE_INCLUDES_TILE_CACHES = 2;
- const unsigned short LAYER_TREE_INCLUDES_REPAINT_RECTS = 4;
- const unsigned short LAYER_TREE_INCLUDES_PAINTING_PHASES = 8;
+ // The values of these constants must be kept in sync with the values of LayerTreeAsTextBehaviorFlags in GraphicsLayerClient.h.
+ const unsigned short LAYER_TREE_INCLUDES_REPAINT_RECTS = 2;
+ const unsigned short LAYER_TREE_INCLUDES_PAINTING_PHASES = 4;
[RaisesException] DOMString layerTreeAsText(Document document, optional unsigned short flags);
[RaisesException] NodeList paintOrderListBeforePromote(Element element);
[RaisesException] NodeList paintOrderListAfterPromote(Element element);
// The values of these constants must be kept in sync with those in RenderLayer.
- const unsigned short DoNotForceCompositedScrolling = 0;
- const unsigned short CompositedScrollingAlwaysOn = 1;
- const unsigned short CompositedScrollingAlwaysOff = 2;
+ const unsigned short DO_NOT_FORCE_COMPOSITED_SCROLLING = 0;
+ const unsigned short COMPOSITED_SCROLLING_ALWAYS_ON = 1;
+ const unsigned short COMPOSITED_SCROLLING_ALWAYS_OFF = 2;
[RaisesException] void setNeedsCompositedScrolling(Element element, unsigned short value);
[RaisesException] DOMString scrollingStateTreeAsText(Document document);
« no previous file with comments | « Source/core/testing/Internals.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698