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

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: address enne feedback 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
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 366 matching lines...) Expand 10 before | Expand all | Expand 10 after
377 virtual bool LayerIsAlwaysDamaged() const; 377 virtual bool LayerIsAlwaysDamaged() const;
378 378
379 LayerAnimationController* layer_animation_controller() { 379 LayerAnimationController* layer_animation_controller() {
380 return layer_animation_controller_.get(); 380 return layer_animation_controller_.get();
381 } 381 }
382 382
383 virtual Region VisibleContentOpaqueRegion() const; 383 virtual Region VisibleContentOpaqueRegion() const;
384 384
385 virtual void DidBecomeActive(); 385 virtual void DidBecomeActive();
386 386
387 virtual void DidBeginTracing();
388
387 // Indicates that the surface previously used to render this layer 389 // Indicates that the surface previously used to render this layer
388 // was lost and that a new one has been created. Won't be called 390 // was lost and that a new one has been created. Won't be called
389 // until the new surface has been created successfully. 391 // until the new surface has been created successfully.
390 virtual void DidLoseOutputSurface(); 392 virtual void DidLoseOutputSurface();
391 393
392 ScrollbarAnimationController* scrollbar_animation_controller() const { 394 ScrollbarAnimationController* scrollbar_animation_controller() const {
393 return scrollbar_animation_controller_.get(); 395 return scrollbar_animation_controller_.get();
394 } 396 }
395 397
396 void SetScrollbarOpacity(float opacity); 398 void SetScrollbarOpacity(float opacity);
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
555 // Group of properties that need to be computed based on the layer tree 557 // Group of properties that need to be computed based on the layer tree
556 // hierarchy before layers can be drawn. 558 // hierarchy before layers can be drawn.
557 DrawProperties<LayerImpl, RenderSurfaceImpl> draw_properties_; 559 DrawProperties<LayerImpl, RenderSurfaceImpl> draw_properties_;
558 560
559 DISALLOW_COPY_AND_ASSIGN(LayerImpl); 561 DISALLOW_COPY_AND_ASSIGN(LayerImpl);
560 }; 562 };
561 563
562 } // namespace cc 564 } // namespace cc
563 565
564 #endif // CC_LAYERS_LAYER_IMPL_H_ 566 #endif // CC_LAYERS_LAYER_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698