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

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

Issue 2441853002: Plumb preferred raster bounds rather than scale (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; 139 void setPreferredRasterBounds(const blink::WebSize&) override;
140 void clearPreferredRasterScale() override; 140 void clearPreferredRasterBounds() override;
141 141
142 void setScrollParent(blink::WebLayer* parent) override; 142 void setScrollParent(blink::WebLayer* parent) override;
143 void setClipParent(blink::WebLayer* parent) override; 143 void setClipParent(blink::WebLayer* parent) override;
144 144
145 protected: 145 protected:
146 scoped_refptr<cc::Layer> layer_; 146 scoped_refptr<cc::Layer> layer_;
147 147
148 bool contents_opaque_is_fixed_; 148 bool contents_opaque_is_fixed_;
149 149
150 private: 150 private:
151 DISALLOW_COPY_AND_ASSIGN(WebLayerImpl); 151 DISALLOW_COPY_AND_ASSIGN(WebLayerImpl);
152 }; 152 };
153 153
154 } // namespace cc_blink 154 } // namespace cc_blink
155 155
156 #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