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

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

Issue 1602343002: compositor-worker: cc->blink mutation plumbing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@compositor-worker-ian-patch
Patch Set: Fix blimp issue 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 bool visible() const { return visible_; } 241 bool visible() const { return visible_; }
242 242
243 void SetThrottleFrameProduction(bool throttle); 243 void SetThrottleFrameProduction(bool throttle);
244 244
245 void StartPageScaleAnimation(const gfx::Vector2d& target_offset, 245 void StartPageScaleAnimation(const gfx::Vector2d& target_offset,
246 bool use_anchor, 246 bool use_anchor,
247 float scale, 247 float scale,
248 base::TimeDelta duration); 248 base::TimeDelta duration);
249 249
250 void ApplyScrollAndScale(ScrollAndScaleSet* info); 250 void ApplyScrollAndScale(ScrollAndScaleSet* info);
251 void ApplyMutations(LayerTreeMutations* mutations);
251 void SetImplTransform(const gfx::Transform& transform); 252 void SetImplTransform(const gfx::Transform& transform);
252 253
253 void SetDeviceScaleFactor(float device_scale_factor); 254 void SetDeviceScaleFactor(float device_scale_factor);
254 void SetPaintedDeviceScaleFactor(float painted_device_scale_factor); 255 void SetPaintedDeviceScaleFactor(float painted_device_scale_factor);
255 256
256 float device_scale_factor() const { return device_scale_factor_; } 257 float device_scale_factor() const { return device_scale_factor_; }
257 258
258 void UpdateTopControlsState(TopControlsState constraints, 259 void UpdateTopControlsState(TopControlsState constraints,
259 TopControlsState current, 260 TopControlsState current,
260 bool animate); 261 bool animate);
(...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after
538 539
539 uint32_t surface_id_namespace_; 540 uint32_t surface_id_namespace_;
540 uint32_t next_surface_sequence_; 541 uint32_t next_surface_sequence_;
541 542
542 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); 543 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost);
543 }; 544 };
544 545
545 } // namespace cc 546 } // namespace cc
546 547
547 #endif // CC_TREES_LAYER_TREE_HOST_H_ 548 #endif // CC_TREES_LAYER_TREE_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698