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

Side by Side Diff: cc/test/tiled_layer_test_common.h

Issue 670183003: Update from chromium 62675d9fb31fb8cedc40f68e78e8445a74f362e7 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 2 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/test/test_web_graphics_context_3d.h ('k') | cc/trees/damage_tracker.h » ('j') | 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_TEST_TILED_LAYER_TEST_COMMON_H_ 5 #ifndef CC_TEST_TILED_LAYER_TEST_COMMON_H_
6 #define CC_TEST_TILED_LAYER_TEST_COMMON_H_ 6 #define CC_TEST_TILED_LAYER_TEST_COMMON_H_
7 7
8 #include "cc/base/region.h" 8 #include "cc/base/region.h"
9 #include "cc/layers/tiled_layer.h" 9 #include "cc/layers/tiled_layer.h"
10 #include "cc/layers/tiled_layer_impl.h" 10 #include "cc/layers/tiled_layer_impl.h"
11 #include "cc/resources/layer_updater.h" 11 #include "cc/resources/layer_updater.h"
12 #include "cc/resources/prioritized_resource.h" 12 #include "cc/resources/prioritized_resource.h"
13 #include "cc/resources/resource_provider.h" 13 #include "cc/resources/resource_provider.h"
14 #include "cc/resources/resource_update_queue.h" 14 #include "cc/resources/resource_update_queue.h"
15 #include "ui/gfx/rect.h" 15 #include "ui/gfx/geometry/rect.h"
16 #include "ui/gfx/size.h" 16 #include "ui/gfx/geometry/size.h"
17 17
18 namespace cc { 18 namespace cc {
19 19
20 class FakeTiledLayer; 20 class FakeTiledLayer;
21 21
22 class FakeLayerUpdater : public LayerUpdater { 22 class FakeLayerUpdater : public LayerUpdater {
23 public: 23 public:
24 class Resource : public LayerUpdater::Resource { 24 class Resource : public LayerUpdater::Resource {
25 public: 25 public:
26 Resource(FakeLayerUpdater* updater, 26 Resource(FakeLayerUpdater* updater,
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 ~FakeTiledLayerWithScaledBounds() override; 147 ~FakeTiledLayerWithScaledBounds() override;
148 gfx::Size forced_content_bounds_; 148 gfx::Size forced_content_bounds_;
149 149
150 private: 150 private:
151 DISALLOW_COPY_AND_ASSIGN(FakeTiledLayerWithScaledBounds); 151 DISALLOW_COPY_AND_ASSIGN(FakeTiledLayerWithScaledBounds);
152 }; 152 };
153 153
154 } // namespace cc 154 } // namespace cc
155 155
156 #endif // CC_TEST_TILED_LAYER_TEST_COMMON_H_ 156 #endif // CC_TEST_TILED_LAYER_TEST_COMMON_H_
OLDNEW
« no previous file with comments | « cc/test/test_web_graphics_context_3d.h ('k') | cc/trees/damage_tracker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698