| Index: chrome/browser/extensions/extension_input_ui_apitest.cc
|
| diff --git a/chrome/browser/extensions/extension_input_ui_apitest.cc b/chrome/browser/extensions/extension_input_ui_apitest.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..ae40cc5db1fb3c7ea22bfb4dbbcd933fae6de97c
|
| --- /dev/null
|
| +++ b/chrome/browser/extensions/extension_input_ui_apitest.cc
|
| @@ -0,0 +1,17 @@
|
| +// Copyright (c) 2011 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#include "chrome/browser/extensions/extension_apitest.h"
|
| +#include "chrome/common/chrome_switches.h"
|
| +#include "chrome/test/ui_test_utils.h"
|
| +
|
| +IN_PROC_BROWSER_TEST_F(ExtensionApiTest, InputUI) {
|
| + CommandLine::ForCurrentProcess()->AppendSwitch(
|
| + switches::kEnableExperimentalExtensionApis);
|
| +#if defined(OS_CHROMEOS) && defined(TOUCH_UI)
|
| + ASSERT_TRUE(RunExtensionTest("input_ui/chromeos_touchui")) << message_;
|
| +#else
|
| + ASSERT_TRUE(RunExtensionTest("input_ui/other")) << message_;
|
| +#endif
|
| +}
|
|
|