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

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

Issue 11227031: Support setAutomaticallyComputeRasterScale() on the WebLayer API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rasterScale 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 | « no previous file | 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 virtual void setOpaque(bool) OVERRIDE; 44 virtual void setOpaque(bool) OVERRIDE;
45 virtual bool opaque() const OVERRIDE; 45 virtual bool opaque() const OVERRIDE;
46 virtual void setPosition(const WebFloatPoint&) OVERRIDE; 46 virtual void setPosition(const WebFloatPoint&) OVERRIDE;
47 virtual WebFloatPoint position() const OVERRIDE; 47 virtual WebFloatPoint position() const OVERRIDE;
48 virtual void setSublayerTransform(const SkMatrix44&) OVERRIDE; 48 virtual void setSublayerTransform(const SkMatrix44&) OVERRIDE;
49 virtual void setSublayerTransform(const WebTransformationMatrix&) OVERRIDE; 49 virtual void setSublayerTransform(const WebTransformationMatrix&) OVERRIDE;
50 virtual SkMatrix44 sublayerTransform() const OVERRIDE; 50 virtual SkMatrix44 sublayerTransform() const OVERRIDE;
51 virtual void setTransform(const SkMatrix44&) OVERRIDE; 51 virtual void setTransform(const SkMatrix44&) OVERRIDE;
52 virtual void setTransform(const WebTransformationMatrix&) OVERRIDE; 52 virtual void setTransform(const WebTransformationMatrix&) OVERRIDE;
53 virtual SkMatrix44 transform() const OVERRIDE; 53 virtual SkMatrix44 transform() const OVERRIDE;
54 virtual void setAutomaticallyComputeRasterScale(bool);
54 virtual void setDrawsContent(bool) OVERRIDE; 55 virtual void setDrawsContent(bool) OVERRIDE;
55 virtual bool drawsContent() const OVERRIDE; 56 virtual bool drawsContent() const OVERRIDE;
56 virtual void setPreserves3D(bool) OVERRIDE; 57 virtual void setPreserves3D(bool) OVERRIDE;
57 virtual void setUseParentBackfaceVisibility(bool) OVERRIDE; 58 virtual void setUseParentBackfaceVisibility(bool) OVERRIDE;
58 virtual void setBackgroundColor(WebColor) OVERRIDE; 59 virtual void setBackgroundColor(WebColor) OVERRIDE;
59 virtual WebColor backgroundColor() const; 60 virtual WebColor backgroundColor() const;
60 virtual void setFilters(const WebFilterOperations&) OVERRIDE; 61 virtual void setFilters(const WebFilterOperations&) OVERRIDE;
61 virtual void setBackgroundFilters(const WebFilterOperations&) OVERRIDE; 62 virtual void setBackgroundFilters(const WebFilterOperations&) OVERRIDE;
62 virtual void setDebugBorderColor(const WebColor&) OVERRIDE; 63 virtual void setDebugBorderColor(const WebColor&) OVERRIDE;
63 virtual void setDebugBorderWidth(float) OVERRIDE; 64 virtual void setDebugBorderWidth(float) OVERRIDE;
(...skipping 28 matching lines...) Expand all
92 93
93 cc::LayerChromium* layer() const; 94 cc::LayerChromium* layer() const;
94 95
95 protected: 96 protected:
96 scoped_refptr<cc::LayerChromium> m_layer; 97 scoped_refptr<cc::LayerChromium> m_layer;
97 }; 98 };
98 99
99 } // namespace WebKit 100 } // namespace WebKit
100 101
101 #endif // WebLayerImpl_h 102 #endif // WebLayerImpl_h
OLDNEW
« no previous file with comments | « no previous file | webkit/compositor_bindings/web_layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698