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

Unified Diff: Source/core/page/Frame.h

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
Index: Source/core/page/Frame.h
diff --git a/Source/core/page/Frame.h b/Source/core/page/Frame.h
index 9eb19cab1bc900bc81a000e4197145ba204bbc88..1794d231f0817ce7d74a58b6a502bd3be84b2661 100644
--- a/Source/core/page/Frame.h
+++ b/Source/core/page/Frame.h
@@ -62,15 +62,6 @@ namespace WebCore {
class TreeScope;
class VisiblePosition;
- enum {
- LayerTreeFlagsIncludeDebugInfo = 1 << 0,
- LayerTreeFlagsIncludeVisibleRects = 1 << 1,
- LayerTreeFlagsIncludeTileCaches = 1 << 2,
- LayerTreeFlagsIncludeRepaintRects = 1 << 3,
- LayerTreeFlagsIncludePaintingPhases = 1 << 4
- };
- typedef unsigned LayerTreeFlags;
-
class Frame : public RefCounted<Frame> {
public:
static PassRefPtr<Frame> create(Page*, HTMLFrameOwnerElement*, FrameLoaderClient*);
@@ -118,7 +109,8 @@ namespace WebCore {
bool inScope(TreeScope*) const;
- String layerTreeAsText(LayerTreeFlags = 0) const;
+ // See GraphicsLayerClient.h for accepted flags.
+ String layerTreeAsText(unsigned flags = 0) const;
String trackedRepaintRectsAsText() const;
static Frame* frameForWidget(const Widget*);

Powered by Google App Engine
This is Rietveld 408576698