Index: ash/login/views/lock_contents_view.cc |
diff --git a/ash/login/views/lock_contents_view.cc b/ash/login/views/lock_contents_view.cc |
deleted file mode 100644 |
index 5c557b9783ceb84b947c9aa3e3b75496268312cc..0000000000000000000000000000000000000000 |
--- a/ash/login/views/lock_contents_view.cc |
+++ /dev/null |
@@ -1,40 +0,0 @@ |
-// 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/views/lock_contents_view.h" |
- |
-#include "base/strings/utf_string_conversions.h" |
-#include "ui/views/background.h" |
-#include "ui/views/border.h" |
-#include "ui/views/layout/box_layout.h" |
- |
-namespace ash { |
- |
-LockContentsView::LockContentsView() { |
- auto* layout = new views::BoxLayout(views::BoxLayout::kVertical, 0, 0, 0); |
- SetLayoutManager(layout); |
- |
- views::Label* label = new views::Label(); |
- label->SetBorder(views::CreateEmptyBorder(2, 3, 4, 5)); |
- label->set_background(views::Background::CreateThemedSolidBackground( |
- label, ui::NativeTheme::kColorId_BubbleBackground)); |
- label->SetText(base::ASCIIToUTF16("User")); |
- AddChildView(label); |
- |
- unlock_button_ = |
- views::MdTextButton::Create(this, base::ASCIIToUTF16("Unlock")); |
- AddChildView(unlock_button_); |
-} |
- |
-LockContentsView::~LockContentsView() {} |
- |
-void LockContentsView::ButtonPressed(views::Button* sender, |
- const ui::Event& event) { |
- DCHECK(unlock_button_ == sender); |
- |
- // TODO: Run mojo call that talks to backend which unlocks the device. |
- NOTIMPLEMENTED(); |
-} |
- |
-} // namespace ash |