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

Side by Side Diff: cc/layers/layer_impl.h

Issue 15774010: Add TRACE_EVENT_IS_NEW_TRACE as a way to snapshot objects at start of recording (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 6 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 | « base/debug/trace_event_unittest.cc ('k') | cc/layers/layer_impl.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_LAYERS_LAYER_IMPL_H_ 5 #ifndef CC_LAYERS_LAYER_IMPL_H_
6 #define CC_LAYERS_LAYER_IMPL_H_ 6 #define CC_LAYERS_LAYER_IMPL_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/logging.h" 10 #include "base/logging.h"
(...skipping 376 matching lines...) Expand 10 before | Expand all | Expand 10 after
387 virtual bool LayerIsAlwaysDamaged() const; 387 virtual bool LayerIsAlwaysDamaged() const;
388 388
389 LayerAnimationController* layer_animation_controller() { 389 LayerAnimationController* layer_animation_controller() {
390 return layer_animation_controller_.get(); 390 return layer_animation_controller_.get();
391 } 391 }
392 392
393 virtual Region VisibleContentOpaqueRegion() const; 393 virtual Region VisibleContentOpaqueRegion() const;
394 394
395 virtual void DidBecomeActive(); 395 virtual void DidBecomeActive();
396 396
397 virtual void DidBeginTracing();
398
397 // Indicates that the surface previously used to render this layer 399 // Indicates that the surface previously used to render this layer
398 // was lost and that a new one has been created. Won't be called 400 // was lost and that a new one has been created. Won't be called
399 // until the new surface has been created successfully. 401 // until the new surface has been created successfully.
400 virtual void DidLoseOutputSurface(); 402 virtual void DidLoseOutputSurface();
401 403
402 ScrollbarAnimationController* scrollbar_animation_controller() const { 404 ScrollbarAnimationController* scrollbar_animation_controller() const {
403 return scrollbar_animation_controller_.get(); 405 return scrollbar_animation_controller_.get();
404 } 406 }
405 407
406 void SetScrollbarOpacity(float opacity); 408 void SetScrollbarOpacity(float opacity);
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
565 // Group of properties that need to be computed based on the layer tree 567 // Group of properties that need to be computed based on the layer tree
566 // hierarchy before layers can be drawn. 568 // hierarchy before layers can be drawn.
567 DrawProperties<LayerImpl, RenderSurfaceImpl> draw_properties_; 569 DrawProperties<LayerImpl, RenderSurfaceImpl> draw_properties_;
568 570
569 DISALLOW_COPY_AND_ASSIGN(LayerImpl); 571 DISALLOW_COPY_AND_ASSIGN(LayerImpl);
570 }; 572 };
571 573
572 } // namespace cc 574 } // namespace cc
573 575
574 #endif // CC_LAYERS_LAYER_IMPL_H_ 576 #endif // CC_LAYERS_LAYER_IMPL_H_
OLDNEW
« no previous file with comments | « base/debug/trace_event_unittest.cc ('k') | cc/layers/layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698