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

Side by Side Diff: webkit/compositor_bindings/web_layer_impl.h

Issue 11365239: cc: Add support for debugging layer borders directly in the compositor (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 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 | Annotate | Revision Log
« no previous file with comments | « cc/tiled_layer_impl.cc ('k') | webkit/compositor_bindings/web_layer_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2011 The Chromium Authors. All rights reserved. 1 // Copyright 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef WebLayerImpl_h 5 #ifndef WebLayerImpl_h
6 #define WebLayerImpl_h 6 #define WebLayerImpl_h
7 7
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "third_party/WebKit/Source/Platform/chromium/public/WebLayer.h" 9 #include "third_party/WebKit/Source/Platform/chromium/public/WebLayer.h"
10 10
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 virtual SkMatrix44 transform() const OVERRIDE; 56 virtual SkMatrix44 transform() const OVERRIDE;
57 virtual void setDrawsContent(bool) OVERRIDE; 57 virtual void setDrawsContent(bool) OVERRIDE;
58 virtual bool drawsContent() const OVERRIDE; 58 virtual bool drawsContent() const OVERRIDE;
59 virtual void setPreserves3D(bool) OVERRIDE; 59 virtual void setPreserves3D(bool) OVERRIDE;
60 virtual void setUseParentBackfaceVisibility(bool) OVERRIDE; 60 virtual void setUseParentBackfaceVisibility(bool) OVERRIDE;
61 virtual void setBackgroundColor(WebColor) OVERRIDE; 61 virtual void setBackgroundColor(WebColor) OVERRIDE;
62 virtual WebColor backgroundColor() const; 62 virtual WebColor backgroundColor() const;
63 virtual void setFilter(SkImageFilter*); 63 virtual void setFilter(SkImageFilter*);
64 virtual void setFilters(const WebFilterOperations&) OVERRIDE; 64 virtual void setFilters(const WebFilterOperations&) OVERRIDE;
65 virtual void setBackgroundFilters(const WebFilterOperations&) OVERRIDE; 65 virtual void setBackgroundFilters(const WebFilterOperations&) OVERRIDE;
66 virtual void setDebugBorderColor(const WebColor&) OVERRIDE; 66 // TODO(danakj): remove the debug border setters
67 virtual void setDebugBorderWidth(float) OVERRIDE; 67 virtual void setDebugBorderColor(const WebColor&);
68 virtual void setDebugBorderWidth(float);
68 virtual void setDebugName(WebString) OVERRIDE; 69 virtual void setDebugName(WebString) OVERRIDE;
69 virtual void setAnimationDelegate(WebAnimationDelegate*) OVERRIDE; 70 virtual void setAnimationDelegate(WebAnimationDelegate*) OVERRIDE;
70 virtual bool addAnimation(WebAnimation*) OVERRIDE; 71 virtual bool addAnimation(WebAnimation*) OVERRIDE;
71 virtual void removeAnimation(int animationId) OVERRIDE; 72 virtual void removeAnimation(int animationId) OVERRIDE;
72 virtual void removeAnimation(int animationId, WebAnimation::TargetProperty) OVERRIDE; 73 virtual void removeAnimation(int animationId, WebAnimation::TargetProperty) OVERRIDE;
73 virtual void pauseAnimation(int animationId, double timeOffset) OVERRIDE; 74 virtual void pauseAnimation(int animationId, double timeOffset) OVERRIDE;
74 virtual void suspendAnimations(double monotonicTime) OVERRIDE; 75 virtual void suspendAnimations(double monotonicTime) OVERRIDE;
75 virtual void resumeAnimations(double monotonicTime) OVERRIDE; 76 virtual void resumeAnimations(double monotonicTime) OVERRIDE;
76 virtual bool hasActiveAnimation() OVERRIDE; 77 virtual bool hasActiveAnimation() OVERRIDE;
77 virtual void transferAnimationsTo(WebLayer*) OVERRIDE; 78 virtual void transferAnimationsTo(WebLayer*) OVERRIDE;
(...skipping 20 matching lines...) Expand all
98 99
99 cc::Layer* layer() const; 100 cc::Layer* layer() const;
100 101
101 protected: 102 protected:
102 scoped_refptr<cc::Layer> m_layer; 103 scoped_refptr<cc::Layer> m_layer;
103 }; 104 };
104 105
105 } // namespace WebKit 106 } // namespace WebKit
106 107
107 #endif // WebLayerImpl_h 108 #endif // WebLayerImpl_h
OLDNEW
« no previous file with comments | « cc/tiled_layer_impl.cc ('k') | webkit/compositor_bindings/web_layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698