1// Copyright 2014 The Chromium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef CHROME_BROWSER_CHROMEOS_LOGIN_UI_LOCK_WINDOW_AURA_H_
6#define CHROME_BROWSER_CHROMEOS_LOGIN_UI_LOCK_WINDOW_AURA_H_
7
8#include "base/compiler_specific.h"
9#include "chrome/browser/chromeos/login/ui/lock_window.h"
10#include "ui/views/widget/widget.h"
11#include "ui/views/widget/widget_delegate.h"
12
13namespace chromeos {
14
15class LockWindowAura : public views::Widget,
16                       public views::WidgetDelegate,
17                       public LockWindow {
18 public:
19  // LockWindow implementation:
20  virtual void Grab() OVERRIDE;
21  virtual views::Widget* GetWidget() OVERRIDE;
22
23  // views::WidgetDelegate implementation:
24  virtual views::View* GetInitiallyFocusedView() OVERRIDE;
25  virtual const views::Widget* GetWidget() const OVERRIDE;
26
27 private:
28  friend class LockWindow;
29
30  LockWindowAura();
31  virtual ~LockWindowAura();
32
33  // Initialize the Aura lock window.
34  void Init();
35
36  DISALLOW_COPY_AND_ASSIGN(LockWindowAura);
37};
38
39}  // namespace chromeos
40
41#endif  // CHROME_BROWSER_CHROMEOS_LOGIN_UI_LOCK_WINDOW_AURA_H_
42