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

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

Issue 1355063004: Template methods on Timer classes instead of the classes themselves. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: timer: . Created 5 years, 3 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 <limits> 8 #include <limits>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 436 matching lines...) Expand 10 before | Expand all | Expand 10 after
447 447
448 gfx::Size device_viewport_size_; 448 gfx::Size device_viewport_size_;
449 bool top_controls_shrink_blink_size_; 449 bool top_controls_shrink_blink_size_;
450 float top_controls_height_; 450 float top_controls_height_;
451 float top_controls_shown_ratio_; 451 float top_controls_shown_ratio_;
452 bool hide_pinch_scrollbars_near_min_scale_; 452 bool hide_pinch_scrollbars_near_min_scale_;
453 float device_scale_factor_; 453 float device_scale_factor_;
454 454
455 bool visible_; 455 bool visible_;
456 456
457 base::OneShotTimer<LayerTreeHost> rate_limit_timer_; 457 base::OneShotTimer rate_limit_timer_;
458 458
459 float page_scale_factor_; 459 float page_scale_factor_;
460 float min_page_scale_factor_; 460 float min_page_scale_factor_;
461 float max_page_scale_factor_; 461 float max_page_scale_factor_;
462 gfx::Vector2dF elastic_overscroll_; 462 gfx::Vector2dF elastic_overscroll_;
463 bool has_gpu_rasterization_trigger_; 463 bool has_gpu_rasterization_trigger_;
464 bool content_is_suitable_for_gpu_rasterization_; 464 bool content_is_suitable_for_gpu_rasterization_;
465 bool gpu_rasterization_histogram_recorded_; 465 bool gpu_rasterization_histogram_recorded_;
466 466
467 SkColor background_color_; 467 SkColor background_color_;
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
502 502
503 uint32_t surface_id_namespace_; 503 uint32_t surface_id_namespace_;
504 uint32_t next_surface_sequence_; 504 uint32_t next_surface_sequence_;
505 505
506 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); 506 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost);
507 }; 507 };
508 508
509 } // namespace cc 509 } // namespace cc
510 510
511 #endif // CC_TREES_LAYER_TREE_HOST_H_ 511 #endif // CC_TREES_LAYER_TREE_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698