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

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

Issue 869043008: Reland of Move tracing namespace from base::debug to base::trace_event. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkcr
Patch Set: Fix suppressions 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 // TODO(ssid): remove these aliases after the tracing clients are moved to the
35 // new trace_event namespace. See crbug.com/451032. ETA: March 2015
36 namespace debug {
37 using ::base::trace_event::ConvertableToTraceFormat;
38 using ::base::trace_event::TracedValue;
33 } 39 }
40 } // namespace base
34 41
35 namespace cc { 42 namespace cc {
36 class PictureLayerImpl; 43 class PictureLayerImpl;
37 class Rasterizer; 44 class Rasterizer;
38 class ResourceProvider; 45 class ResourceProvider;
39 46
40 class CC_EXPORT TileManagerClient { 47 class CC_EXPORT TileManagerClient {
41 public: 48 public:
42 // Called when all tiles marked as required for activation are ready to draw. 49 // Called when all tiles marked as required for activation are ready to draw.
43 virtual void NotifyReadyToActivate() = 0; 50 virtual void NotifyReadyToActivate() = 0;
(...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after
311 318
312 bool did_notify_ready_to_activate_; 319 bool did_notify_ready_to_activate_;
313 bool did_notify_ready_to_draw_; 320 bool did_notify_ready_to_draw_;
314 321
315 DISALLOW_COPY_AND_ASSIGN(TileManager); 322 DISALLOW_COPY_AND_ASSIGN(TileManager);
316 }; 323 };
317 324
318 } // namespace cc 325 } // namespace cc
319 326
320 #endif // CC_RESOURCES_TILE_MANAGER_H_ 327 #endif // CC_RESOURCES_TILE_MANAGER_H_
OLDNEW
« no previous file with comments | « cc/resources/pixel_buffer_tile_task_worker_pool.h ('k') | cc/resources/zero_copy_tile_task_worker_pool.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698