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

Side by Side Diff: ui/ozone/platform/egltest/ozone_platform_egltest.cc

Issue 403263002: platform-window: Add a PlatformWindowFactory for creating windows. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . 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/dri/dri_window.cc ('k') | ui/ozone/platform/test/test_window.h » ('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 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 #include "ui/ozone/platform/egltest/ozone_platform_egltest.h" 5 #include "ui/ozone/platform/egltest/ozone_platform_egltest.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/environment.h" 8 #include "base/environment.h"
9 #include "base/files/file_path.h" 9 #include "base/files/file_path.h"
10 #include "base/path_service.h" 10 #include "base/path_service.h"
11 #include "library_loaders/libeglplatform_shim.h" 11 #include "library_loaders/libeglplatform_shim.h"
12 #include "ui/events/ozone/device/device_manager.h" 12 #include "ui/events/ozone/device/device_manager.h"
13 #include "ui/events/ozone/evdev/event_factory_evdev.h" 13 #include "ui/events/ozone/evdev/event_factory_evdev.h"
14 #include "ui/events/platform/platform_event_dispatcher.h" 14 #include "ui/events/platform/platform_event_dispatcher.h"
15 #include "ui/gfx/vsync_provider.h" 15 #include "ui/gfx/vsync_provider.h"
16 #include "ui/ozone/public/cursor_factory_ozone.h" 16 #include "ui/ozone/public/cursor_factory_ozone.h"
17 #include "ui/ozone/public/gpu_platform_support.h" 17 #include "ui/ozone/public/gpu_platform_support.h"
18 #include "ui/ozone/public/gpu_platform_support_host.h" 18 #include "ui/ozone/public/gpu_platform_support_host.h"
19 #include "ui/ozone/public/ozone_platform.h" 19 #include "ui/ozone/public/ozone_platform.h"
20 #include "ui/ozone/public/ozone_switches.h" 20 #include "ui/ozone/public/ozone_switches.h"
21 #include "ui/ozone/public/surface_factory_ozone.h" 21 #include "ui/ozone/public/surface_factory_ozone.h"
22 #include "ui/ozone/public/surface_ozone_egl.h" 22 #include "ui/ozone/public/surface_ozone_egl.h"
23 #include "ui/platform_window/platform_window.h" 23 #include "ui/platform_window/types/platform_window.h"
24 #include "ui/platform_window/platform_window_delegate.h" 24 #include "ui/platform_window/types/platform_window_delegate.h"
25 25
26 #if defined(OS_CHROMEOS) 26 #if defined(OS_CHROMEOS)
27 #include "ui/ozone/common/chromeos/native_display_delegate_ozone.h" 27 #include "ui/ozone/common/chromeos/native_display_delegate_ozone.h"
28 #include "ui/ozone/common/chromeos/touchscreen_device_manager_ozone.h" 28 #include "ui/ozone/common/chromeos/touchscreen_device_manager_ozone.h"
29 #endif 29 #endif
30 30
31 #include <EGL/egl.h> 31 #include <EGL/egl.h>
32 32
33 namespace ui { 33 namespace ui {
34 34
(...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after
379 379
380 } // namespace 380 } // namespace
381 381
382 OzonePlatform* CreateOzonePlatformEgltest() { 382 OzonePlatform* CreateOzonePlatformEgltest() {
383 OzonePlatformEgltest* platform = new OzonePlatformEgltest; 383 OzonePlatformEgltest* platform = new OzonePlatformEgltest;
384 platform->Initialize(); 384 platform->Initialize();
385 return platform; 385 return platform;
386 } 386 }
387 387
388 } // namespace ui 388 } // namespace ui
OLDNEW
« no previous file with comments | « ui/ozone/platform/dri/dri_window.cc ('k') | ui/ozone/platform/test/test_window.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698