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

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

Issue 23463042: LayerTreeHost should not modify the LayerTreeSettings object. Instead it should use a temporary va… (Closed) Base URL: https://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 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
« no previous file with comments | « no previous file | cc/trees/layer_tree_host.cc » ('j') | cc/trees/layer_tree_host.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 <list> 9 #include <list>
10 #include <vector> 10 #include <vector>
(...skipping 342 matching lines...) Expand 10 before | Expand all | Expand 10 after
353 353
354 scoped_refptr<Layer> root_layer_; 354 scoped_refptr<Layer> root_layer_;
355 scoped_refptr<HeadsUpDisplayLayer> hud_layer_; 355 scoped_refptr<HeadsUpDisplayLayer> hud_layer_;
356 356
357 scoped_ptr<PrioritizedResourceManager> contents_texture_manager_; 357 scoped_ptr<PrioritizedResourceManager> contents_texture_manager_;
358 scoped_ptr<PrioritizedResource> surface_memory_placeholder_; 358 scoped_ptr<PrioritizedResource> surface_memory_placeholder_;
359 359
360 base::WeakPtr<InputHandler> input_handler_weak_ptr_; 360 base::WeakPtr<InputHandler> input_handler_weak_ptr_;
361 base::WeakPtr<TopControlsManager> top_controls_manager_weak_ptr_; 361 base::WeakPtr<TopControlsManager> top_controls_manager_weak_ptr_;
362 362
363 LayerTreeSettings settings_; 363 const LayerTreeSettings settings_;
364 LayerTreeDebugState debug_state_; 364 LayerTreeDebugState debug_state_;
365 365
366 gfx::Size device_viewport_size_; 366 gfx::Size device_viewport_size_;
367 float overdraw_bottom_height_; 367 float overdraw_bottom_height_;
368 float device_scale_factor_; 368 float device_scale_factor_;
369 369
370 bool visible_; 370 bool visible_;
371 371
372 typedef base::hash_map<WebKit::WebGraphicsContext3D*, 372 typedef base::hash_map<WebKit::WebGraphicsContext3D*,
373 scoped_refptr<RateLimiter> > RateLimiterMap; 373 scoped_refptr<RateLimiter> > RateLimiterMap;
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
418 }; 418 };
419 LCDTextMetrics lcd_text_metrics_; 419 LCDTextMetrics lcd_text_metrics_;
420 int tree_id_; 420 int tree_id_;
421 421
422 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); 422 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost);
423 }; 423 };
424 424
425 } // namespace cc 425 } // namespace cc
426 426
427 #endif // CC_TREES_LAYER_TREE_HOST_H_ 427 #endif // CC_TREES_LAYER_TREE_HOST_H_
OLDNEW
« no previous file with comments | « no previous file | cc/trees/layer_tree_host.cc » ('j') | cc/trees/layer_tree_host.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698