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

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

Issue 1314943008: cc: Remove implicit conversions from Rect to RectF in src/cc/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rectfconvert-cc: rebase-and-sandwich-strategy Created 5 years, 3 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/layer_test_common.cc ('k') | cc/tiles/picture_layer_tiling.cc » ('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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_TEST_CONTEXT_SUPPORT_H_ 5 #ifndef CC_TEST_TEST_CONTEXT_SUPPORT_H_
6 #define CC_TEST_TEST_CONTEXT_SUPPORT_H_ 6 #define CC_TEST_TEST_CONTEXT_SUPPORT_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/memory/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
11 #include "gpu/command_buffer/client/context_support.h" 11 #include "gpu/command_buffer/client/context_support.h"
12 12
13 namespace gfx {
14 class Rect;
15 class RectF;
16 }
17
13 namespace cc { 18 namespace cc {
14 19
15 class TestContextSupport : public gpu::ContextSupport { 20 class TestContextSupport : public gpu::ContextSupport {
16 public: 21 public:
17 TestContextSupport(); 22 TestContextSupport();
18 ~TestContextSupport() override; 23 ~TestContextSupport() override;
19 24
20 // gpu::ContextSupport implementation. 25 // gpu::ContextSupport implementation.
21 void SignalSyncPoint(uint32 sync_point, 26 void SignalSyncPoint(uint32 sync_point,
22 const base::Closure& callback) override; 27 const base::Closure& callback) override;
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 ScheduleOverlayPlaneCallback schedule_overlay_plane_callback_; 59 ScheduleOverlayPlaneCallback schedule_overlay_plane_callback_;
55 60
56 base::WeakPtrFactory<TestContextSupport> weak_ptr_factory_; 61 base::WeakPtrFactory<TestContextSupport> weak_ptr_factory_;
57 62
58 DISALLOW_COPY_AND_ASSIGN(TestContextSupport); 63 DISALLOW_COPY_AND_ASSIGN(TestContextSupport);
59 }; 64 };
60 65
61 } // namespace cc 66 } // namespace cc
62 67
63 #endif // CC_TEST_TEST_CONTEXT_SUPPORT_H_ 68 #endif // CC_TEST_TEST_CONTEXT_SUPPORT_H_
OLDNEW
« no previous file with comments | « cc/test/layer_test_common.cc ('k') | cc/tiles/picture_layer_tiling.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698