| Index: ash/virtual_keyboard_controller_unittest.cc
|
| diff --git a/ash/virtual_keyboard_controller_unittest.cc b/ash/virtual_keyboard_controller_unittest.cc
|
| index ef271087f8e1b0330c0d408a439d97f46d4c8fdf..4ca7e1f0dd8567a45a006f3528600fafc2cd9e85 100644
|
| --- a/ash/virtual_keyboard_controller_unittest.cc
|
| +++ b/ash/virtual_keyboard_controller_unittest.cc
|
| @@ -116,10 +116,8 @@ class VirtualKeyboardControllerAutoTest : public VirtualKeyboardControllerTest,
|
| TEST_F(VirtualKeyboardControllerAutoTest, DisabledIfInternalKeyboardPresent) {
|
| std::vector<ui::TouchscreenDevice> screens;
|
| screens.push_back(
|
| - ui::TouchscreenDevice(1,
|
| - ui::InputDeviceType::INPUT_DEVICE_INTERNAL,
|
| - "Touchscreen",
|
| - gfx::Size(1024, 768)));
|
| + ui::TouchscreenDevice(1, ui::InputDeviceType::INPUT_DEVICE_INTERNAL,
|
| + "Touchscreen", gfx::Size(1024, 768), 0));
|
| UpdateTouchscreenDevices(screens);
|
| std::vector<ui::KeyboardDevice> keyboards;
|
| keyboards.push_back(ui::KeyboardDevice(
|
| @@ -138,10 +136,8 @@ TEST_F(VirtualKeyboardControllerAutoTest, DisabledIfNoTouchScreen) {
|
| std::vector<ui::TouchscreenDevice> devices;
|
| // Add a touchscreen. Keyboard should deploy.
|
| devices.push_back(
|
| - ui::TouchscreenDevice(1,
|
| - ui::InputDeviceType::INPUT_DEVICE_EXTERNAL,
|
| - "Touchscreen",
|
| - gfx::Size(800, 600)));
|
| + ui::TouchscreenDevice(1, ui::InputDeviceType::INPUT_DEVICE_EXTERNAL,
|
| + "Touchscreen", gfx::Size(800, 600), 0));
|
| UpdateTouchscreenDevices(devices);
|
| EXPECT_TRUE(keyboard::IsKeyboardEnabled());
|
| // Remove touchscreen. Keyboard should hide.
|
| @@ -152,10 +148,8 @@ TEST_F(VirtualKeyboardControllerAutoTest, DisabledIfNoTouchScreen) {
|
| TEST_F(VirtualKeyboardControllerAutoTest, SuppressedIfExternalKeyboardPresent) {
|
| std::vector<ui::TouchscreenDevice> screens;
|
| screens.push_back(
|
| - ui::TouchscreenDevice(1,
|
| - ui::InputDeviceType::INPUT_DEVICE_INTERNAL,
|
| - "Touchscreen",
|
| - gfx::Size(1024, 768)));
|
| + ui::TouchscreenDevice(1, ui::InputDeviceType::INPUT_DEVICE_INTERNAL,
|
| + "Touchscreen", gfx::Size(1024, 768), 0));
|
| UpdateTouchscreenDevices(screens);
|
| std::vector<ui::KeyboardDevice> keyboards;
|
| keyboards.push_back(ui::KeyboardDevice(
|
|
|