OLD | NEW |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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 "ash/login/views/lock_contents_view.h" | 5 #include "ash/login/ui/lock_contents_view.h" |
6 | 6 |
7 #include "base/strings/utf_string_conversions.h" | 7 #include "base/strings/utf_string_conversions.h" |
8 #include "ui/views/background.h" | 8 #include "ui/views/background.h" |
9 #include "ui/views/border.h" | 9 #include "ui/views/border.h" |
10 #include "ui/views/layout/box_layout.h" | 10 #include "ui/views/layout/box_layout.h" |
11 | 11 |
12 namespace ash { | 12 namespace ash { |
13 | 13 |
14 LockContentsView::LockContentsView() { | 14 LockContentsView::LockContentsView() { |
15 auto* layout = new views::BoxLayout(views::BoxLayout::kVertical, 0, 0, 0); | 15 auto* layout = new views::BoxLayout(views::BoxLayout::kVertical, 0, 0, 0); |
(...skipping 15 matching lines...) Expand all Loading... |
31 | 31 |
32 void LockContentsView::ButtonPressed(views::Button* sender, | 32 void LockContentsView::ButtonPressed(views::Button* sender, |
33 const ui::Event& event) { | 33 const ui::Event& event) { |
34 DCHECK(unlock_button_ == sender); | 34 DCHECK(unlock_button_ == sender); |
35 | 35 |
36 // TODO: Run mojo call that talks to backend which unlocks the device. | 36 // TODO: Run mojo call that talks to backend which unlocks the device. |
37 NOTIMPLEMENTED(); | 37 NOTIMPLEMENTED(); |
38 } | 38 } |
39 | 39 |
40 } // namespace ash | 40 } // namespace ash |
OLD | NEW |