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

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

Issue 2194013002: cc: Delete the Renderer base class. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@dcheck-delegating
Patch Set: delete-renderer-base-class: rebase Created 4 years, 4 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
« no previous file with comments | « cc/trees/layer_tree_host_impl.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_TREES_LAYER_TREE_IMPL_H_ 5 #ifndef CC_TREES_LAYER_TREE_IMPL_H_
6 #define CC_TREES_LAYER_TREE_IMPL_H_ 6 #define CC_TREES_LAYER_TREE_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
11 #include <unordered_map> 11 #include <unordered_map>
12 #include <vector> 12 #include <vector>
13 13
14 #include "base/macros.h" 14 #include "base/macros.h"
15 #include "base/memory/ptr_util.h" 15 #include "base/memory/ptr_util.h"
16 #include "base/values.h" 16 #include "base/values.h"
17 #include "cc/base/synced_property.h" 17 #include "cc/base/synced_property.h"
18 #include "cc/input/event_listener_properties.h" 18 #include "cc/input/event_listener_properties.h"
19 #include "cc/input/layer_selection_bound.h" 19 #include "cc/input/layer_selection_bound.h"
20 #include "cc/layers/layer_impl.h" 20 #include "cc/layers/layer_impl.h"
21 #include "cc/layers/layer_list_iterator.h" 21 #include "cc/layers/layer_list_iterator.h"
22 #include "cc/output/begin_frame_args.h" 22 #include "cc/output/begin_frame_args.h"
23 #include "cc/output/renderer.h"
24 #include "cc/output/swap_promise.h" 23 #include "cc/output/swap_promise.h"
25 #include "cc/resources/ui_resource_client.h" 24 #include "cc/resources/ui_resource_client.h"
26 #include "cc/trees/layer_tree_host_impl.h" 25 #include "cc/trees/layer_tree_host_impl.h"
27 #include "cc/trees/property_tree.h" 26 #include "cc/trees/property_tree.h"
28 27
29 namespace base { 28 namespace base {
30 namespace trace_event { 29 namespace trace_event {
31 class TracedValue; 30 class TracedValue;
32 } 31 }
33 } 32 }
(...skipping 12 matching lines...) Expand all
46 class MemoryHistory; 45 class MemoryHistory;
47 class OutputSurface; 46 class OutputSurface;
48 class PageScaleAnimation; 47 class PageScaleAnimation;
49 class PictureLayerImpl; 48 class PictureLayerImpl;
50 class TaskRunnerProvider; 49 class TaskRunnerProvider;
51 class ResourceProvider; 50 class ResourceProvider;
52 class TileManager; 51 class TileManager;
53 class UIResourceRequest; 52 class UIResourceRequest;
54 class VideoFrameControllerClient; 53 class VideoFrameControllerClient;
55 struct PendingPageScaleAnimation; 54 struct PendingPageScaleAnimation;
56 struct RendererCapabilities; 55 struct RendererCapabilitiesImpl;
57 56
58 typedef std::vector<UIResourceRequest> UIResourceRequestQueue; 57 typedef std::vector<UIResourceRequest> UIResourceRequestQueue;
59 typedef SyncedProperty<AdditionGroup<float>> SyncedTopControls; 58 typedef SyncedProperty<AdditionGroup<float>> SyncedTopControls;
60 typedef SyncedProperty<AdditionGroup<gfx::Vector2dF>> SyncedElasticOverscroll; 59 typedef SyncedProperty<AdditionGroup<gfx::Vector2dF>> SyncedElasticOverscroll;
61 60
62 class CC_EXPORT LayerTreeImpl { 61 class CC_EXPORT LayerTreeImpl {
63 public: 62 public:
64 // This is the number of times a fixed point has to be hit contiuously by a 63 // This is the number of times a fixed point has to be hit contiuously by a
65 // layer to consider it as jittering. 64 // layer to consider it as jittering.
66 enum : int { kFixedPointHitsThreshold = 3 }; 65 enum : int { kFixedPointHitsThreshold = 3 };
(...skipping 486 matching lines...) Expand 10 before | Expand all | Expand 10 after
553 552
554 std::unique_ptr<PendingPageScaleAnimation> pending_page_scale_animation_; 553 std::unique_ptr<PendingPageScaleAnimation> pending_page_scale_animation_;
555 554
556 private: 555 private:
557 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); 556 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl);
558 }; 557 };
559 558
560 } // namespace cc 559 } // namespace cc
561 560
562 #endif // CC_TREES_LAYER_TREE_IMPL_H_ 561 #endif // CC_TREES_LAYER_TREE_IMPL_H_
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_host_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698