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_UI_TOUCH_FRAME_TOUCH_BROWSER_FRAME_VIEW_H_ | 5 #ifndef CHROME_BROWSER_UI_TOUCH_FRAME_TOUCH_BROWSER_FRAME_VIEW_H_ |
6 #define CHROME_BROWSER_UI_TOUCH_FRAME_TOUCH_BROWSER_FRAME_VIEW_H_ | 6 #define CHROME_BROWSER_UI_TOUCH_FRAME_TOUCH_BROWSER_FRAME_VIEW_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "chrome/browser/tabs/tab_strip_model_observer.h" | 9 #include "chrome/browser/tabs/tab_strip_model_observer.h" |
10 #include "chrome/browser/ui/views/frame/opaque_browser_frame_view.h" | 10 #include "chrome/browser/ui/views/frame/opaque_browser_frame_view.h" |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 // Overridden from NotificationObserver. | 73 // Overridden from NotificationObserver. |
74 virtual void Observe(NotificationType type, | 74 virtual void Observe(NotificationType type, |
75 const NotificationSource& source, | 75 const NotificationSource& source, |
76 const NotificationDetails& details); | 76 const NotificationDetails& details); |
77 | 77 |
78 // Overridden from ui::AnimationDelegate: | 78 // Overridden from ui::AnimationDelegate: |
79 virtual void AnimationProgressed(const ui::Animation* animation); | 79 virtual void AnimationProgressed(const ui::Animation* animation); |
80 virtual void AnimationEnded(const ui::Animation* animation); | 80 virtual void AnimationEnded(const ui::Animation* animation); |
81 | 81 |
82 bool keyboard_showing_; | 82 bool keyboard_showing_; |
| 83 int keyboard_height_; |
83 bool focus_listener_added_; | 84 bool focus_listener_added_; |
84 KeyboardContainerView* keyboard_; | 85 KeyboardContainerView* keyboard_; |
85 NotificationRegistrar registrar_; | 86 NotificationRegistrar registrar_; |
86 | 87 |
87 scoped_ptr<ui::SlideAnimation> animation_; | 88 scoped_ptr<ui::SlideAnimation> animation_; |
88 | 89 |
89 DISALLOW_COPY_AND_ASSIGN(TouchBrowserFrameView); | 90 DISALLOW_COPY_AND_ASSIGN(TouchBrowserFrameView); |
90 }; | 91 }; |
91 | 92 |
92 #endif // CHROME_BROWSER_UI_TOUCH_FRAME_TOUCH_BROWSER_FRAME_VIEW_H_ | 93 #endif // CHROME_BROWSER_UI_TOUCH_FRAME_TOUCH_BROWSER_FRAME_VIEW_H_ |
OLD | NEW |