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

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

Issue 7648051: Fixed a broken TOUCH_UI build. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 years, 4 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "chrome/browser/chromeos/login/touch_login_view.h" 5 #include "chrome/browser/chromeos/login/touch_login_view.h"
6 6
7 #include "chrome/browser/chromeos/status/status_area_view.h" 7 #include "chrome/browser/chromeos/status/status_area_view.h"
8 #include "chrome/browser/profiles/profile.h" 8 #include "chrome/browser/profiles/profile.h"
9 #include "chrome/browser/renderer_host/render_widget_host_view_views.h" 9 #include "chrome/browser/renderer_host/render_widget_host_view_views.h"
10 #include "chrome/browser/ui/touch/frame/keyboard_container_view.h" 10 #include "chrome/browser/ui/touch/frame/keyboard_container_view.h"
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 50
51 TouchLoginView::~TouchLoginView() { 51 TouchLoginView::~TouchLoginView() {
52 } 52 }
53 53
54 void TouchLoginView::Init() { 54 void TouchLoginView::Init() {
55 WebUILoginView::Init(); 55 WebUILoginView::Init();
56 InitStatusArea(); 56 InitStatusArea();
57 InitVirtualKeyboard(); 57 InitVirtualKeyboard();
58 58
59 59
60 Source<TabContents> tab_contents(webui_login_->tab_contents())); 60 Source<TabContents> tab_contents(webui_login_->tab_contents());
61 registrar_.Add(this, 61 registrar_.Add(this,
62 content::NOTIFICATION_FOCUS_CHANGED_IN_PAGE, 62 content::NOTIFICATION_FOCUS_CHANGED_IN_PAGE,
63 tab_contents); 63 tab_contents);
64 registrar_.Add(this, 64 registrar_.Add(this,
65 content::NOTIFICATION_TAB_CONTENTS_DESTROYED, 65 content::NOTIFICATION_TAB_CONTENTS_DESTROYED,
66 tab_contents); 66 tab_contents);
67 registrar_.Add(this, 67 registrar_.Add(this,
68 chrome::NOTIFICATION_HIDE_KEYBOARD_INVOKED, 68 chrome::NOTIFICATION_HIDE_KEYBOARD_INVOKED,
69 NotificationService::AllSources()); 69 NotificationService::AllSources());
70 registrar_.Add(this, 70 registrar_.Add(this,
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 void TouchLoginView::AnimationEnded(const ui::Animation* animation) { 226 void TouchLoginView::AnimationEnded(const ui::Animation* animation) {
227 if (keyboard_showing_) { 227 if (keyboard_showing_) {
228 Layout(); 228 Layout();
229 } else { 229 } else {
230 // Notify the keyboard that it is hidden now. 230 // Notify the keyboard that it is hidden now.
231 keyboard_->SetVisible(false); 231 keyboard_->SetVisible(false);
232 } 232 }
233 } 233 }
234 234
235 } // namespace chromeos 235 } // namespace chromeos
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698