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

Side by Side Diff: cc/resources/tile_manager.h

Issue 882673002: Move tracing namespace from base::debug to base::trace_event. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move_trace_part1
Patch Set: Edited formatting Created 5 years, 10 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
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 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_RESOURCES_TILE_MANAGER_H_ 5 #ifndef CC_RESOURCES_TILE_MANAGER_H_
6 #define CC_RESOURCES_TILE_MANAGER_H_ 6 #define CC_RESOURCES_TILE_MANAGER_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <queue> 9 #include <queue>
10 #include <set> 10 #include <set>
11 #include <utility> 11 #include <utility>
12 #include <vector> 12 #include <vector>
13 13
14 #include "base/containers/hash_tables.h" 14 #include "base/containers/hash_tables.h"
15 #include "base/memory/scoped_ptr.h" 15 #include "base/memory/scoped_ptr.h"
16 #include "base/values.h" 16 #include "base/values.h"
17 #include "cc/base/ref_counted_managed.h" 17 #include "cc/base/ref_counted_managed.h"
18 #include "cc/base/unique_notifier.h" 18 #include "cc/base/unique_notifier.h"
19 #include "cc/resources/eviction_tile_priority_queue.h" 19 #include "cc/resources/eviction_tile_priority_queue.h"
20 #include "cc/resources/memory_history.h" 20 #include "cc/resources/memory_history.h"
21 #include "cc/resources/raster_source.h" 21 #include "cc/resources/raster_source.h"
22 #include "cc/resources/raster_tile_priority_queue.h" 22 #include "cc/resources/raster_tile_priority_queue.h"
23 #include "cc/resources/resource_pool.h" 23 #include "cc/resources/resource_pool.h"
24 #include "cc/resources/tile.h" 24 #include "cc/resources/tile.h"
25 #include "cc/resources/tile_draw_info.h" 25 #include "cc/resources/tile_draw_info.h"
26 #include "cc/resources/tile_task_runner.h" 26 #include "cc/resources/tile_task_runner.h"
27 27
28 namespace base { 28 namespace base {
29 namespace debug { 29 namespace trace_event {
30 class ConvertableToTraceFormat; 30 class ConvertableToTraceFormat;
31 class TracedValue; 31 class TracedValue;
32 } 32 }
33
34 // This is added temporarily. Once the renaming of namespace usages
35 // accross all folders are done, this will be removed.
36 // TODO(ssid): crrev.com/837303004
37 namespace debug {
38 using ::base::trace_event::ConvertableToTraceFormat;
39 using ::base::trace_event::TracedValue;
33 } 40 }
41 } // namespace base
34 42
35 namespace cc { 43 namespace cc {
36 class PictureLayerImpl; 44 class PictureLayerImpl;
37 class Rasterizer; 45 class Rasterizer;
38 class ResourceProvider; 46 class ResourceProvider;
39 47
40 class CC_EXPORT TileManagerClient { 48 class CC_EXPORT TileManagerClient {
41 public: 49 public:
42 // Returns the set of layers that the tile manager should consider for raster. 50 // Returns the set of layers that the tile manager should consider for raster.
43 // TODO(vmpstr): Change the way we determine if we are ready to activate, so 51 // TODO(vmpstr): Change the way we determine if we are ready to activate, so
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after
309 317
310 bool did_notify_ready_to_activate_; 318 bool did_notify_ready_to_activate_;
311 bool did_notify_ready_to_draw_; 319 bool did_notify_ready_to_draw_;
312 320
313 DISALLOW_COPY_AND_ASSIGN(TileManager); 321 DISALLOW_COPY_AND_ASSIGN(TileManager);
314 }; 322 };
315 323
316 } // namespace cc 324 } // namespace cc
317 325
318 #endif // CC_RESOURCES_TILE_MANAGER_H_ 326 #endif // CC_RESOURCES_TILE_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698