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

Side by Side Diff: cc/blink/web_layer_impl.h

Issue 2410513002: Plumb preferred raster scale for background images from Blink to cc layers. (Closed)
Patch Set: none Created 4 years, 2 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
« no previous file with comments | « no previous file | cc/blink/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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 CC_BLINK_WEB_LAYER_IMPL_H_ 5 #ifndef CC_BLINK_WEB_LAYER_IMPL_H_
6 #define CC_BLINK_WEB_LAYER_IMPL_H_ 6 #define CC_BLINK_WEB_LAYER_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 const override; 129 const override;
130 void setScrollClient(blink::WebLayerScrollClient* client) override; 130 void setScrollClient(blink::WebLayerScrollClient* client) override;
131 void setLayerClient(cc::LayerClient* client) override; 131 void setLayerClient(cc::LayerClient* client) override;
132 const cc::Layer* ccLayer() const override; 132 const cc::Layer* ccLayer() const override;
133 cc::Layer* ccLayer() override; 133 cc::Layer* ccLayer() override;
134 void setElementId(const cc::ElementId&) override; 134 void setElementId(const cc::ElementId&) override;
135 cc::ElementId elementId() const override; 135 cc::ElementId elementId() const override;
136 void setCompositorMutableProperties(uint32_t properties) override; 136 void setCompositorMutableProperties(uint32_t properties) override;
137 uint32_t compositorMutableProperties() const override; 137 uint32_t compositorMutableProperties() const override;
138 void setHasWillChangeTransformHint(bool has_will_change) override; 138 void setHasWillChangeTransformHint(bool has_will_change) override;
139 void setPreferredRasterScale(float raster_scale) override;
140 void clearPreferredRasterScale() override;
139 141
140 void setScrollParent(blink::WebLayer* parent) override; 142 void setScrollParent(blink::WebLayer* parent) override;
141 void setClipParent(blink::WebLayer* parent) override; 143 void setClipParent(blink::WebLayer* parent) override;
142 144
143 protected: 145 protected:
144 scoped_refptr<cc::Layer> layer_; 146 scoped_refptr<cc::Layer> layer_;
145 147
146 bool contents_opaque_is_fixed_; 148 bool contents_opaque_is_fixed_;
147 149
148 private: 150 private:
149 DISALLOW_COPY_AND_ASSIGN(WebLayerImpl); 151 DISALLOW_COPY_AND_ASSIGN(WebLayerImpl);
150 }; 152 };
151 153
152 } // namespace cc_blink 154 } // namespace cc_blink
153 155
154 #endif // CC_BLINK_WEB_LAYER_IMPL_H_ 156 #endif // CC_BLINK_WEB_LAYER_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | cc/blink/web_layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698