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

Side by Side Diff: ui/events/ozone/evdev/event_converter_test_util.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_EVENTS_OZONE_EVDEV_EVENT_CONVERTER_TEST_UTIL_H_ 5 #ifndef UI_EVENTS_OZONE_EVDEV_EVENT_CONVERTER_TEST_UTIL_H_
6 #define UI_EVENTS_OZONE_EVDEV_EVENT_CONVERTER_TEST_UTIL_H_ 6 #define UI_EVENTS_OZONE_EVDEV_EVENT_CONVERTER_TEST_UTIL_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include <memory>
9 9
10 #include "ui/events/ozone/evdev/event_dispatch_callback.h" 10 #include "ui/events/ozone/evdev/event_dispatch_callback.h"
11 11
12 namespace ui { 12 namespace ui {
13 13
14 class CursorDelegateEvdev; 14 class CursorDelegateEvdev;
15 class DeviceManager; 15 class DeviceManager;
16 class DeviceEventDispatcherEvdev; 16 class DeviceEventDispatcherEvdev;
17 class EventFactoryEvdev; 17 class EventFactoryEvdev;
18 class KeyboardLayoutEngine; 18 class KeyboardLayoutEngine;
19 19
20 scoped_ptr<DeviceManager> CreateDeviceManagerForTest(); 20 std::unique_ptr<DeviceManager> CreateDeviceManagerForTest();
21 21
22 scoped_ptr<EventFactoryEvdev> CreateEventFactoryEvdevForTest( 22 std::unique_ptr<EventFactoryEvdev> CreateEventFactoryEvdevForTest(
23 CursorDelegateEvdev* cursor, 23 CursorDelegateEvdev* cursor,
24 DeviceManager* device_manager, 24 DeviceManager* device_manager,
25 KeyboardLayoutEngine* keyboard_layout_engine, 25 KeyboardLayoutEngine* keyboard_layout_engine,
26 const EventDispatchCallback& callback); 26 const EventDispatchCallback& callback);
27 27
28 scoped_ptr<DeviceEventDispatcherEvdev> CreateDeviceEventDispatcherEvdevForTest( 28 std::unique_ptr<DeviceEventDispatcherEvdev>
29 EventFactoryEvdev* event_factory); 29 CreateDeviceEventDispatcherEvdevForTest(EventFactoryEvdev* event_factory);
30 30
31 } // namespace ui 31 } // namespace ui
32 32
33 #endif // UI_EVENTS_OZONE_EVDEV_EVENT_CONVERTER_TEST_UTIL_H_ 33 #endif // UI_EVENTS_OZONE_EVDEV_EVENT_CONVERTER_TEST_UTIL_H_
OLDNEW
« no previous file with comments | « ui/events/ozone/evdev/event_converter_evdev_impl_unittest.cc ('k') | ui/events/ozone/evdev/event_converter_test_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698