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

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

Issue 14999012: Move cc/debug/latency_info to ui/base. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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_TREES_LAYER_TREE_HOST_IMPL_H_ 5 #ifndef CC_TREES_LAYER_TREE_HOST_IMPL_H_
6 #define CC_TREES_LAYER_TREE_HOST_IMPL_H_ 6 #define CC_TREES_LAYER_TREE_HOST_IMPL_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
13 #include "base/time.h" 13 #include "base/time.h"
14 #include "cc/animation/animation_events.h" 14 #include "cc/animation/animation_events.h"
15 #include "cc/animation/animation_registrar.h" 15 #include "cc/animation/animation_registrar.h"
16 #include "cc/base/cc_export.h" 16 #include "cc/base/cc_export.h"
17 #include "cc/debug/latency_info.h"
18 #include "cc/input/input_handler.h" 17 #include "cc/input/input_handler.h"
19 #include "cc/input/layer_scroll_offset_delegate.h" 18 #include "cc/input/layer_scroll_offset_delegate.h"
20 #include "cc/input/top_controls_manager_client.h" 19 #include "cc/input/top_controls_manager_client.h"
21 #include "cc/layers/layer_lists.h" 20 #include "cc/layers/layer_lists.h"
22 #include "cc/layers/render_pass_sink.h" 21 #include "cc/layers/render_pass_sink.h"
23 #include "cc/output/output_surface_client.h" 22 #include "cc/output/output_surface_client.h"
24 #include "cc/output/renderer.h" 23 #include "cc/output/renderer.h"
25 #include "cc/quads/render_pass.h" 24 #include "cc/quads/render_pass.h"
26 #include "cc/resources/tile_manager.h" 25 #include "cc/resources/tile_manager.h"
27 #include "skia/ext/refptr.h" 26 #include "skia/ext/refptr.h"
28 #include "third_party/skia/include/core/SkColor.h" 27 #include "third_party/skia/include/core/SkColor.h"
29 #include "third_party/skia/include/core/SkPicture.h" 28 #include "third_party/skia/include/core/SkPicture.h"
29 #include "ui/base/latency_info.h"
30 #include "ui/gfx/rect.h" 30 #include "ui/gfx/rect.h"
31 31
32 namespace cc { 32 namespace cc {
33 33
34 class CompletionEvent; 34 class CompletionEvent;
35 class CompositorFrameMetadata; 35 class CompositorFrameMetadata;
36 class DebugRectHistory; 36 class DebugRectHistory;
37 class FrameRateCounter; 37 class FrameRateCounter;
38 class LayerImpl; 38 class LayerImpl;
39 class LayerTreeHostImplTimeSourceAdapter; 39 class LayerTreeHostImplTimeSourceAdapter;
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 virtual ~FrameData(); 136 virtual ~FrameData();
137 137
138 std::vector<gfx::Rect> occluding_screen_space_rects; 138 std::vector<gfx::Rect> occluding_screen_space_rects;
139 std::vector<gfx::Rect> non_occluding_screen_space_rects; 139 std::vector<gfx::Rect> non_occluding_screen_space_rects;
140 RenderPassList render_passes; 140 RenderPassList render_passes;
141 RenderPassIdHashMap render_passes_by_id; 141 RenderPassIdHashMap render_passes_by_id;
142 const LayerImplList* render_surface_layer_list; 142 const LayerImplList* render_surface_layer_list;
143 LayerImplList will_draw_layers; 143 LayerImplList will_draw_layers;
144 bool contains_incomplete_tile; 144 bool contains_incomplete_tile;
145 bool has_no_damage; 145 bool has_no_damage;
146 LatencyInfo latency_info; 146 ui::LatencyInfo latency_info;
147 147
148 // RenderPassSink implementation. 148 // RenderPassSink implementation.
149 virtual void AppendRenderPass(scoped_ptr<RenderPass> render_pass) OVERRIDE; 149 virtual void AppendRenderPass(scoped_ptr<RenderPass> render_pass) OVERRIDE;
150 }; 150 };
151 151
152 virtual void BeginCommit(); 152 virtual void BeginCommit();
153 virtual void CommitComplete(); 153 virtual void CommitComplete();
154 virtual void Animate(base::TimeTicks monotonic_time, 154 virtual void Animate(base::TimeTicks monotonic_time,
155 base::Time wall_clock_time); 155 base::Time wall_clock_time);
156 virtual void UpdateAnimationState(bool start_ready_animations); 156 virtual void UpdateAnimationState(bool start_ready_animations);
(...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after
484 scoped_ptr<AnimationRegistrar> animation_registrar_; 484 scoped_ptr<AnimationRegistrar> animation_registrar_;
485 485
486 RenderingStatsInstrumentation* rendering_stats_instrumentation_; 486 RenderingStatsInstrumentation* rendering_stats_instrumentation_;
487 487
488 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); 488 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl);
489 }; 489 };
490 490
491 } // namespace cc 491 } // namespace cc
492 492
493 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ 493 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_host.cc ('k') | cc/trees/layer_tree_impl.h » ('j') | ui/base/latency_info.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698