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

Side by Side Diff: ui/ozone/platform/test/ozone_platform_test.cc

Issue 379233005: ozone: Move public files to ui/ozone/public & update public DEPS (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « ui/ozone/platform/egltest/ozone_platform_egltest.cc ('k') | ui/ozone/platform_selection.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 #include "ui/ozone/platform/test/ozone_platform_test.h" 5 #include "ui/ozone/platform/test/ozone_platform_test.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/files/file_path.h" 8 #include "base/files/file_path.h"
9 #include "ui/events/ozone/device/device_manager.h" 9 #include "ui/events/ozone/device/device_manager.h"
10 #include "ui/events/ozone/evdev/event_factory_evdev.h" 10 #include "ui/events/ozone/evdev/event_factory_evdev.h"
11 #include "ui/ozone/ozone_platform.h"
12 #include "ui/ozone/ozone_switches.h"
13 #include "ui/ozone/platform/test/file_surface_factory.h" 11 #include "ui/ozone/platform/test/file_surface_factory.h"
14 #include "ui/ozone/platform/test/test_cursor_factory.h" 12 #include "ui/ozone/platform/test/test_cursor_factory.h"
15 #include "ui/ozone/public/gpu_platform_support.h" 13 #include "ui/ozone/public/gpu_platform_support.h"
16 #include "ui/ozone/public/gpu_platform_support_host.h" 14 #include "ui/ozone/public/gpu_platform_support_host.h"
15 #include "ui/ozone/public/ozone_platform.h"
16 #include "ui/ozone/public/ozone_switches.h"
17 17
18 #if defined(OS_CHROMEOS) 18 #if defined(OS_CHROMEOS)
19 #include "ui/ozone/common/chromeos/native_display_delegate_ozone.h" 19 #include "ui/ozone/common/chromeos/native_display_delegate_ozone.h"
20 #include "ui/ozone/common/chromeos/touchscreen_device_manager_ozone.h" 20 #include "ui/ozone/common/chromeos/touchscreen_device_manager_ozone.h"
21 #endif 21 #endif
22 22
23 namespace ui { 23 namespace ui {
24 24
25 namespace { 25 namespace {
26 26
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 90
91 OzonePlatform* CreateOzonePlatformTest() { 91 OzonePlatform* CreateOzonePlatformTest() {
92 CommandLine* cmd = CommandLine::ForCurrentProcess(); 92 CommandLine* cmd = CommandLine::ForCurrentProcess();
93 base::FilePath location = base::FilePath("/dev/null"); 93 base::FilePath location = base::FilePath("/dev/null");
94 if (cmd->HasSwitch(switches::kOzoneDumpFile)) 94 if (cmd->HasSwitch(switches::kOzoneDumpFile))
95 location = cmd->GetSwitchValuePath(switches::kOzoneDumpFile); 95 location = cmd->GetSwitchValuePath(switches::kOzoneDumpFile);
96 return new OzonePlatformTest(location); 96 return new OzonePlatformTest(location);
97 } 97 }
98 98
99 } // namespace ui 99 } // namespace ui
OLDNEW
« no previous file with comments | « ui/ozone/platform/egltest/ozone_platform_egltest.cc ('k') | ui/ozone/platform_selection.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698