OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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/ui/views/frame/opaque_browser_frame_view.h" | 9 #include "chrome/browser/ui/views/frame/opaque_browser_frame_view.h" |
10 #include "chrome/common/notification_observer.h" | 10 #include "chrome/common/notification_observer.h" |
(...skipping 18 matching lines...) Expand all Loading... |
29 | 29 |
30 private: | 30 private: |
31 virtual void InitVirtualKeyboard(); | 31 virtual void InitVirtualKeyboard(); |
32 virtual void UpdateKeyboardAndLayout(bool should_show_keyboard); | 32 virtual void UpdateKeyboardAndLayout(bool should_show_keyboard); |
33 | 33 |
34 // Overridden from NotificationObserver. | 34 // Overridden from NotificationObserver. |
35 virtual void Observe(NotificationType type, | 35 virtual void Observe(NotificationType type, |
36 const NotificationSource& source, | 36 const NotificationSource& source, |
37 const NotificationDetails& details); | 37 const NotificationDetails& details); |
38 | 38 |
| 39 bool keyboard_showing_; |
39 DOMView* keyboard_; | 40 DOMView* keyboard_; |
40 NotificationRegistrar registrar_; | 41 NotificationRegistrar registrar_; |
41 | 42 |
42 DISALLOW_COPY_AND_ASSIGN(TouchBrowserFrameView); | 43 DISALLOW_COPY_AND_ASSIGN(TouchBrowserFrameView); |
43 }; | 44 }; |
44 | 45 |
45 #endif // CHROME_BROWSER_UI_TOUCH_FRAME_TOUCH_BROWSER_FRAME_VIEW_H_ | 46 #endif // CHROME_BROWSER_UI_TOUCH_FRAME_TOUCH_BROWSER_FRAME_VIEW_H_ |
OLD | NEW |