| OLD | NEW |
| 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/base/cursor/ozone/bitmap_cursor_factory_ozone.h" | 9 #include "ui/base/cursor/ozone/bitmap_cursor_factory_ozone.h" |
| 10 #include "ui/events/ozone/layout/keyboard_layout_engine_manager.h" | 10 #include "ui/events/ozone/layout/keyboard_layout_engine_manager.h" |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 scoped_ptr<GpuPlatformSupport> gpu_platform_support_; | 88 scoped_ptr<GpuPlatformSupport> gpu_platform_support_; |
| 89 scoped_ptr<GpuPlatformSupportHost> gpu_platform_support_host_; | 89 scoped_ptr<GpuPlatformSupportHost> gpu_platform_support_host_; |
| 90 base::FilePath file_path_; | 90 base::FilePath file_path_; |
| 91 | 91 |
| 92 DISALLOW_COPY_AND_ASSIGN(OzonePlatformTest); | 92 DISALLOW_COPY_AND_ASSIGN(OzonePlatformTest); |
| 93 }; | 93 }; |
| 94 | 94 |
| 95 } // namespace | 95 } // namespace |
| 96 | 96 |
| 97 OzonePlatform* CreateOzonePlatformTest() { | 97 OzonePlatform* CreateOzonePlatformTest() { |
| 98 CommandLine* cmd = CommandLine::ForCurrentProcess(); | 98 base::CommandLine* cmd = base::CommandLine::ForCurrentProcess(); |
| 99 base::FilePath location; | 99 base::FilePath location; |
| 100 if (cmd->HasSwitch(switches::kOzoneDumpFile)) | 100 if (cmd->HasSwitch(switches::kOzoneDumpFile)) |
| 101 location = cmd->GetSwitchValuePath(switches::kOzoneDumpFile); | 101 location = cmd->GetSwitchValuePath(switches::kOzoneDumpFile); |
| 102 return new OzonePlatformTest(location); | 102 return new OzonePlatformTest(location); |
| 103 } | 103 } |
| 104 | 104 |
| 105 } // namespace ui | 105 } // namespace ui |
| OLD | NEW |