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

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

Issue 380763002: Add builders for tracing event's structural arguments (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed memory leak found by Linux ASAN Created 6 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « cc/test/fake_proxy.cc ('k') | cc/trees/layer_tree_host.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 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 <set> 10 #include <set>
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after
250 250
251 HeadsUpDisplayLayer* hud_layer() const { return hud_layer_.get(); } 251 HeadsUpDisplayLayer* hud_layer() const { return hud_layer_.get(); }
252 252
253 Proxy* proxy() const { return proxy_.get(); } 253 Proxy* proxy() const { return proxy_.get(); }
254 254
255 AnimationRegistrar* animation_registrar() const { 255 AnimationRegistrar* animation_registrar() const {
256 return animation_registrar_.get(); 256 return animation_registrar_.get();
257 } 257 }
258 258
259 // Obtains a thorough dump of the LayerTreeHost as a value. 259 // Obtains a thorough dump of the LayerTreeHost as a value.
260 scoped_ptr<base::Value> AsValue() const; 260 void AsValueInto(base::debug::TracedValue* value) const;
261 261
262 bool in_paint_layer_contents() const { return in_paint_layer_contents_; } 262 bool in_paint_layer_contents() const { return in_paint_layer_contents_; }
263 263
264 // CreateUIResource creates a resource given a bitmap. The bitmap is 264 // CreateUIResource creates a resource given a bitmap. The bitmap is
265 // generated via an interface function, which is called when initializing the 265 // generated via an interface function, which is called when initializing the
266 // resource and when the resource has been lost (due to lost context). The 266 // resource and when the resource has been lost (due to lost context). The
267 // parameter of the interface is a single boolean, which indicates whether the 267 // parameter of the interface is a single boolean, which indicates whether the
268 // resource has been lost or not. CreateUIResource returns an Id of the 268 // resource has been lost or not. CreateUIResource returns an Id of the
269 // resource, which is always positive. 269 // resource, which is always positive.
270 virtual UIResourceId CreateUIResource(UIResourceClient* client); 270 virtual UIResourceId CreateUIResource(UIResourceClient* client);
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
454 454
455 ScopedPtrVector<SwapPromise> swap_promise_list_; 455 ScopedPtrVector<SwapPromise> swap_promise_list_;
456 std::set<SwapPromiseMonitor*> swap_promise_monitor_; 456 std::set<SwapPromiseMonitor*> swap_promise_monitor_;
457 457
458 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); 458 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost);
459 }; 459 };
460 460
461 } // namespace cc 461 } // namespace cc
462 462
463 #endif // CC_TREES_LAYER_TREE_HOST_H_ 463 #endif // CC_TREES_LAYER_TREE_HOST_H_
OLDNEW
« no previous file with comments | « cc/test/fake_proxy.cc ('k') | cc/trees/layer_tree_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698