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

Side by Side Diff: chrome/browser/ui/touch/frame/touch_browser_frame_view.h

Issue 7058046: Adjust virtual keyboard size base on input method candidates. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Rebase on trunk Created 9 years, 6 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_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
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_
OLDNEW
« no previous file with comments | « chrome/browser/resources/keyboard/main.js ('k') | chrome/browser/ui/touch/frame/touch_browser_frame_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698