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

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

Issue 1868363002: Replace scoped_ptr with std::unique_ptr in //ui (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@scopedptrcc
Patch Set: scopedptrui: rebase-make_scoped_ptr Created 4 years, 8 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_HARDWARE_DISPLAY_PLANE_MANAGER_ATOMIC_H_ 5 #ifndef UI_OZONE_PLATFORM_DRM_GPU_HARDWARE_DISPLAY_PLANE_MANAGER_ATOMIC_H_
6 #define UI_OZONE_PLATFORM_DRM_GPU_HARDWARE_DISPLAY_PLANE_MANAGER_ATOMIC_H_ 6 #define UI_OZONE_PLATFORM_DRM_GPU_HARDWARE_DISPLAY_PLANE_MANAGER_ATOMIC_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 11 matching lines...) Expand all
22 bool test_only) override; 22 bool test_only) override;
23 23
24 private: 24 private:
25 bool SetPlaneData(HardwareDisplayPlaneList* plane_list, 25 bool SetPlaneData(HardwareDisplayPlaneList* plane_list,
26 HardwareDisplayPlane* hw_plane, 26 HardwareDisplayPlane* hw_plane,
27 const OverlayPlane& overlay, 27 const OverlayPlane& overlay,
28 uint32_t crtc_id, 28 uint32_t crtc_id,
29 const gfx::Rect& src_rect, 29 const gfx::Rect& src_rect,
30 CrtcController* crtc) override; 30 CrtcController* crtc) override;
31 31
32 scoped_ptr<HardwareDisplayPlane> CreatePlane( 32 std::unique_ptr<HardwareDisplayPlane> CreatePlane(
33 uint32_t plane_id, 33 uint32_t plane_id,
34 uint32_t possible_crtcs) override; 34 uint32_t possible_crtcs) override;
35 35
36 DISALLOW_COPY_AND_ASSIGN(HardwareDisplayPlaneManagerAtomic); 36 DISALLOW_COPY_AND_ASSIGN(HardwareDisplayPlaneManagerAtomic);
37 }; 37 };
38 38
39 } // namespace ui 39 } // namespace ui
40 40
41 #endif // UI_OZONE_PLATFORM_DRM_GPU_HARDWARE_DISPLAY_PLANE_MANAGER_ATOMIC_H_ 41 #endif // UI_OZONE_PLATFORM_DRM_GPU_HARDWARE_DISPLAY_PLANE_MANAGER_ATOMIC_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698