OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_TOUCH_LOGIN_VIEW_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_TOUCH_LOGIN_VIEW_H_ |
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_TOUCH_LOGIN_VIEW_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_TOUCH_LOGIN_VIEW_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "chrome/browser/chromeos/login/webui_login_view.h" | 9 #include "chrome/browser/chromeos/login/webui_login_view.h" |
10 #include "content/common/notification_observer.h" | 10 #include "content/common/notification_observer.h" |
(...skipping 15 matching lines...) Expand all Loading... |
26 public: | 26 public: |
27 enum VirtualKeyboardType { | 27 enum VirtualKeyboardType { |
28 NONE, | 28 NONE, |
29 GENERIC, | 29 GENERIC, |
30 URL, | 30 URL, |
31 }; | 31 }; |
32 | 32 |
33 TouchLoginView(); | 33 TouchLoginView(); |
34 virtual ~TouchLoginView(); | 34 virtual ~TouchLoginView(); |
35 | 35 |
36 // Initializes the webui login view. |login_url| must be specified. | 36 // Overriden from WebUILoginView: |
37 virtual void Init(const GURL& login_url) OVERRIDE; | 37 virtual void Init() OVERRIDE; |
38 | 38 |
39 // Overriden from views::Views: | 39 // Overriden from views::Views: |
40 virtual std::string GetClassName() const OVERRIDE; | 40 virtual std::string GetClassName() const OVERRIDE; |
41 | 41 |
42 // Overridden from views::FocusChangeListener: | 42 // Overridden from views::FocusChangeListener: |
43 virtual void FocusWillChange(views::View* focused_before, | 43 virtual void FocusWillChange(views::View* focused_before, |
44 views::View* focused_now) OVERRIDE; | 44 views::View* focused_now) OVERRIDE; |
45 | 45 |
46 protected: | 46 protected: |
47 // Overridden from views::View: | 47 // Overridden from views::View: |
(...skipping 13 matching lines...) Expand all Loading... |
61 bool focus_listener_added_; | 61 bool focus_listener_added_; |
62 KeyboardContainerView* keyboard_; | 62 KeyboardContainerView* keyboard_; |
63 NotificationRegistrar registrar_; | 63 NotificationRegistrar registrar_; |
64 | 64 |
65 DISALLOW_COPY_AND_ASSIGN(TouchLoginView); | 65 DISALLOW_COPY_AND_ASSIGN(TouchLoginView); |
66 }; | 66 }; |
67 | 67 |
68 } // namespace chromeos | 68 } // namespace chromeos |
69 | 69 |
70 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_TOUCH_LOGIN_VIEW_H_ | 70 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_TOUCH_LOGIN_VIEW_H_ |
OLD | NEW |