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

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

Issue 132543002: Not for review. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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
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/ozone/ozone_platform.h" 9 #include "ui/ozone/ozone_platform.h"
10 #include "ui/ozone/ozone_switches.h" 10 #include "ui/ozone/ozone_switches.h"
(...skipping 11 matching lines...) Expand all
22 22
23 ui::EventFactoryOzone* OzonePlatformTest::GetEventFactoryOzone() { 23 ui::EventFactoryOzone* OzonePlatformTest::GetEventFactoryOzone() {
24 return &event_factory_ozone_; 24 return &event_factory_ozone_;
25 } 25 }
26 26
27 ui::InputMethodContextFactoryOzone* 27 ui::InputMethodContextFactoryOzone*
28 OzonePlatformTest::GetInputMethodContextFactoryOzone() { 28 OzonePlatformTest::GetInputMethodContextFactoryOzone() {
29 return &input_method_context_factory_ozone_; 29 return &input_method_context_factory_ozone_;
30 } 30 }
31 31
32 gfx::OverlayHALOzone* OzonePlatformTest::GetOverlayHALOzone() {
33 return NULL;
34 }
35
32 OzonePlatform* CreateOzonePlatformTest() { 36 OzonePlatform* CreateOzonePlatformTest() {
33 CommandLine* cmd = CommandLine::ForCurrentProcess(); 37 CommandLine* cmd = CommandLine::ForCurrentProcess();
34 base::FilePath location = base::FilePath("/dev/null"); 38 base::FilePath location = base::FilePath("/dev/null");
35 if (cmd->HasSwitch(switches::kOzoneDumpFile)) 39 if (cmd->HasSwitch(switches::kOzoneDumpFile))
36 location = cmd->GetSwitchValuePath(switches::kOzoneDumpFile); 40 location = cmd->GetSwitchValuePath(switches::kOzoneDumpFile);
37 return new OzonePlatformTest(location); 41 return new OzonePlatformTest(location);
38 } 42 }
39 43
40 } // namespace ui 44 } // namespace ui
OLDNEW
« ui/gl/gl_image_egl.cc ('K') | « ui/ozone/platform/test/ozone_platform_test.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698