Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1895)

Side by Side Diff: chrome/browser/chromeos/login/touch_login_view.h

Issue 7327007: Moving notification types which are chrome specific to a new header file chrome_notification_type... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 protected: 52 protected:
53 // Overridden from views::View: 53 // Overridden from views::View:
54 virtual void Layout() OVERRIDE; 54 virtual void Layout() OVERRIDE;
55 55
56 private: 56 private:
57 void InitVirtualKeyboard(); 57 void InitVirtualKeyboard();
58 void UpdateKeyboardAndLayout(bool should_show_keyboard); 58 void UpdateKeyboardAndLayout(bool should_show_keyboard);
59 VirtualKeyboardType DecideKeyboardStateForView(views::View* view); 59 VirtualKeyboardType DecideKeyboardStateForView(views::View* view);
60 60
61 // Overridden from NotificationObserver. 61 // Overridden from NotificationObserver.
62 virtual void Observe(NotificationType type, 62 virtual void Observe(int type,
63 const NotificationSource& source, 63 const NotificationSource& source,
64 const NotificationDetails& details) OVERRIDE; 64 const NotificationDetails& details) OVERRIDE;
65 65
66 // Overridden from ui::AnimationDelegate: 66 // Overridden from ui::AnimationDelegate:
67 virtual void AnimationProgressed(const ui::Animation* animation) OVERRIDE; 67 virtual void AnimationProgressed(const ui::Animation* animation) OVERRIDE;
68 virtual void AnimationEnded(const ui::Animation* animation) OVERRIDE; 68 virtual void AnimationEnded(const ui::Animation* animation) OVERRIDE;
69 69
70 bool keyboard_showing_; 70 bool keyboard_showing_;
71 int keyboard_height_; 71 int keyboard_height_;
72 bool focus_listener_added_; 72 bool focus_listener_added_;
73 KeyboardContainerView* keyboard_; 73 KeyboardContainerView* keyboard_;
74 NotificationRegistrar registrar_; 74 NotificationRegistrar registrar_;
75 75
76 scoped_ptr<ui::SlideAnimation> animation_; 76 scoped_ptr<ui::SlideAnimation> animation_;
77 77
78 DISALLOW_COPY_AND_ASSIGN(TouchLoginView); 78 DISALLOW_COPY_AND_ASSIGN(TouchLoginView);
79 }; 79 };
80 80
81 } // namespace chromeos 81 } // namespace chromeos
82 82
83 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_TOUCH_LOGIN_VIEW_H_ 83 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_TOUCH_LOGIN_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/screen_locker_browsertest.cc ('k') | chrome/browser/chromeos/login/touch_login_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698