OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "chrome/browser/extensions/extension_apitest.h" | 5 #include "chrome/browser/extensions/extension_apitest.h" |
6 #include "chrome/common/chrome_switches.h" | 6 #include "chrome/common/chrome_switches.h" |
7 | 7 |
8 IN_PROC_BROWSER_TEST_F(ExtensionApiTest, InputUI) { | 8 IN_PROC_BROWSER_TEST_F(ExtensionApiTest, InputUI) { |
9 CommandLine::ForCurrentProcess()->AppendSwitch( | 9 CommandLine::ForCurrentProcess()->AppendSwitch( |
10 switches::kEnableExperimentalExtensionApis); | 10 switches::kEnableExperimentalExtensionApis); |
11 #if defined(OS_CHROMEOS) && defined(TOUCH_UI) | 11 #if defined(OS_CHROMEOS) && defined(USE_VIRTUAL_KEYBOARD) |
12 ASSERT_TRUE(RunExtensionTest("input_ui/chromeos_touchui")) << message_; | 12 ASSERT_TRUE(RunExtensionTest("input_ui/chromeos_virtual_keyboard")) << |
| 13 message_; |
13 #else | 14 #else |
14 ASSERT_TRUE(RunExtensionTest("input_ui/other")) << message_; | 15 ASSERT_TRUE(RunExtensionTest("input_ui/other")) << message_; |
15 #endif | 16 #endif |
16 } | 17 } |
OLD | NEW |