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

Side by Side Diff: cc/trees/layer_tree_host.h

Issue 1560403002: Scale scrollbar in use-zoom-for-dsf mode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
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 CC_TREES_LAYER_TREE_HOST_H_ 5 #ifndef CC_TREES_LAYER_TREE_HOST_H_
6 #define CC_TREES_LAYER_TREE_HOST_H_ 6 #define CC_TREES_LAYER_TREE_HOST_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after
241 float scale, 241 float scale,
242 base::TimeDelta duration); 242 base::TimeDelta duration);
243 243
244 void ApplyScrollAndScale(ScrollAndScaleSet* info); 244 void ApplyScrollAndScale(ScrollAndScaleSet* info);
245 void SetImplTransform(const gfx::Transform& transform); 245 void SetImplTransform(const gfx::Transform& transform);
246 246
247 void SetDeviceScaleFactor(float device_scale_factor); 247 void SetDeviceScaleFactor(float device_scale_factor);
248 void SetPaintedDeviceScaleFactor(float painted_device_scale_factor); 248 void SetPaintedDeviceScaleFactor(float painted_device_scale_factor);
249 249
250 float device_scale_factor() const { return device_scale_factor_; } 250 float device_scale_factor() const { return device_scale_factor_; }
251 float painted_device_scale_factor() const {
252 return painted_device_scale_factor_;
253 }
251 254
252 void UpdateTopControlsState(TopControlsState constraints, 255 void UpdateTopControlsState(TopControlsState constraints,
253 TopControlsState current, 256 TopControlsState current,
254 bool animate); 257 bool animate);
255 258
256 HeadsUpDisplayLayer* hud_layer() const { return hud_layer_.get(); } 259 HeadsUpDisplayLayer* hud_layer() const { return hud_layer_.get(); }
257 260
258 Proxy* proxy() const { return proxy_.get(); } 261 Proxy* proxy() const { return proxy_.get(); }
259 TaskRunnerProvider* task_runner_provider() const { 262 TaskRunnerProvider* task_runner_provider() const {
260 return task_runner_provider_.get(); 263 return task_runner_provider_.get();
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after
520 523
521 uint32_t surface_id_namespace_; 524 uint32_t surface_id_namespace_;
522 uint32_t next_surface_sequence_; 525 uint32_t next_surface_sequence_;
523 526
524 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); 527 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost);
525 }; 528 };
526 529
527 } // namespace cc 530 } // namespace cc
528 531
529 #endif // CC_TREES_LAYER_TREE_HOST_H_ 532 #endif // CC_TREES_LAYER_TREE_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698