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

Side by Side Diff: Source/platform/graphics/GraphicsLayer.h

Issue 135473002: Include debug name in GraphicsLayerDebugInfo. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: . Created 6 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | Source/platform/graphics/GraphicsLayer.cpp » ('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 * Copyright (C) 2013 Intel Corporation. All rights reserved. 3 * Copyright (C) 2013 Intel Corporation. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 public: 83 public:
84 static PassOwnPtr<GraphicsLayer> create(GraphicsLayerFactory*, GraphicsLayer Client*); 84 static PassOwnPtr<GraphicsLayer> create(GraphicsLayerFactory*, GraphicsLayer Client*);
85 85
86 virtual ~GraphicsLayer(); 86 virtual ~GraphicsLayer();
87 87
88 GraphicsLayerClient* client() const { return m_client; } 88 GraphicsLayerClient* client() const { return m_client; }
89 89
90 // blink::WebLayerClient implementation. 90 // blink::WebLayerClient implementation.
91 virtual blink::WebString debugName(blink::WebLayer*) OVERRIDE; 91 virtual blink::WebString debugName(blink::WebLayer*) OVERRIDE;
92 virtual blink::WebGraphicsLayerDebugInfo* takeDebugInfo() OVERRIDE; 92 virtual blink::WebGraphicsLayerDebugInfo* takeDebugInfo() OVERRIDE;
93 virtual blink::WebGraphicsLayerDebugInfo* takeDebugInfoFor(blink::WebLayer*) OVERRIDE;
93 94
94 GraphicsLayerDebugInfo& debugInfo(); 95 GraphicsLayerDebugInfo& debugInfo();
95 96
96 void setCompositingReasons(CompositingReasons); 97 void setCompositingReasons(CompositingReasons);
97 CompositingReasons compositingReasons() const { return m_debugInfo.compositi ngReasons(); } 98 CompositingReasons compositingReasons() const { return m_debugInfo.compositi ngReasons(); }
98 99
99 GraphicsLayer* parent() const { return m_parent; }; 100 GraphicsLayer* parent() const { return m_parent; };
100 void setParent(GraphicsLayer*); // Internal use only. 101 void setParent(GraphicsLayer*); // Internal use only.
101 102
102 // Returns true if the layer has the given layer as an ancestor (excluding s elf). 103 // Returns true if the layer has the given layer as an ancestor (excluding s elf).
(...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after
408 409
409 410
410 } // namespace WebCore 411 } // namespace WebCore
411 412
412 #ifndef NDEBUG 413 #ifndef NDEBUG
413 // Outside the WebCore namespace for ease of invocation from gdb. 414 // Outside the WebCore namespace for ease of invocation from gdb.
414 void showGraphicsLayerTree(const WebCore::GraphicsLayer* layer); 415 void showGraphicsLayerTree(const WebCore::GraphicsLayer* layer);
415 #endif 416 #endif
416 417
417 #endif // GraphicsLayer_h 418 #endif // GraphicsLayer_h
OLDNEW
« no previous file with comments | « no previous file | Source/platform/graphics/GraphicsLayer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698