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

Side by Side Diff: ui/ozone/platform/drm/gpu/mock_drm_device.h

Issue 1942973002: Remove all uses of skia::RefPtr and stale includes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: trybots missed one missing include? Created 4 years, 7 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 UI_OZONE_PLATFORM_DRM_GPU_MOCK_DRM_DEVICE_H_ 5 #ifndef UI_OZONE_PLATFORM_DRM_GPU_MOCK_DRM_DEVICE_H_
6 #define UI_OZONE_PLATFORM_DRM_GPU_MOCK_DRM_DEVICE_H_ 6 #define UI_OZONE_PLATFORM_DRM_GPU_MOCK_DRM_DEVICE_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
11 #include <map> 11 #include <map>
12 #include <queue> 12 #include <queue>
13 #include <vector> 13 #include <vector>
14 14
15 #include "base/macros.h" 15 #include "base/macros.h"
16 #include "skia/ext/refptr.h" 16 #include "third_party/skia/include/core/SkRefCnt.h"
17 #include "third_party/skia/include/core/SkSurface.h" 17 #include "third_party/skia/include/core/SkSurface.h"
18 #include "ui/ozone/platform/drm/gpu/drm_device.h" 18 #include "ui/ozone/platform/drm/gpu/drm_device.h"
19 19
20 namespace ui { 20 namespace ui {
21 21
22 // The real DrmDevice makes actual DRM calls which we can't use in unit tests. 22 // The real DrmDevice makes actual DRM calls which we can't use in unit tests.
23 class MockDrmDevice : public DrmDevice { 23 class MockDrmDevice : public DrmDevice {
24 public: 24 public:
25 MockDrmDevice(); 25 MockDrmDevice();
26 MockDrmDevice(bool use_sync_flips, 26 MockDrmDevice(bool use_sync_flips,
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 std::map<uint32_t, uint32_t> crtc_cursor_map_; 144 std::map<uint32_t, uint32_t> crtc_cursor_map_;
145 145
146 std::queue<PageFlipCallback> callbacks_; 146 std::queue<PageFlipCallback> callbacks_;
147 147
148 DISALLOW_COPY_AND_ASSIGN(MockDrmDevice); 148 DISALLOW_COPY_AND_ASSIGN(MockDrmDevice);
149 }; 149 };
150 150
151 } // namespace ui 151 } // namespace ui
152 152
153 #endif // UI_OZONE_PLATFORM_DRM_GPU_MOCK_DRM_DEVICE_H_ 153 #endif // UI_OZONE_PLATFORM_DRM_GPU_MOCK_DRM_DEVICE_H_
OLDNEW
« no previous file with comments | « ui/ozone/platform/drm/gpu/drm_window_unittest.cc ('k') | ui/ozone/platform/drm/gpu/mock_dumb_buffer_generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698