| Index: ash/login/ui/lock_screen_test.cc
|
| diff --git a/ash/login/ui/lock_screen_test.cc b/ash/login/ui/lock_screen_test.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..9a959bc61b9482778e6f6f9bb5503aa54b2f756b
|
| --- /dev/null
|
| +++ b/ash/login/ui/lock_screen_test.cc
|
| @@ -0,0 +1,35 @@
|
| +// Copyright 2017 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 "ash/login/ui/lock_screen_test.h"
|
| +
|
| +#include "ui/views/widget/widget.h"
|
| +
|
| +namespace ash {
|
| +
|
| +LockScreenTest::LockScreenTest() {}
|
| +
|
| +LockScreenTest::~LockScreenTest() {}
|
| +
|
| +void LockScreenTest::PressSubmitButton() {}
|
| +
|
| +void LockScreenTest::SetUp() {
|
| + views::test::WidgetTest::SetUp();
|
| +
|
| + views::Widget::InitParams params =
|
| + CreateParams(views::Widget::InitParams::TYPE_WINDOW_FRAMELESS);
|
| + params.show_state = ui::SHOW_STATE_FULLSCREEN;
|
| + params.opacity = views::Widget::InitParams::TRANSLUCENT_WINDOW;
|
| +
|
| + widget_ = new views::Widget();
|
| + widget_->Init(params);
|
| +}
|
| +
|
| +void LockScreenTest::TearDown() {
|
| + widget_->Close();
|
| +
|
| + views::test::WidgetTest::TearDown();
|
| +}
|
| +
|
| +} // ash
|
|
|