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

Unified Diff: chrome/browser/chromeos/login/webui_login_view.cc

Issue 7302015: A keyboard widget that manages itself (the animation and all that). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove touch-login-view 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/login/webui_login_view.cc
diff --git a/chrome/browser/chromeos/login/webui_login_view.cc b/chrome/browser/chromeos/login/webui_login_view.cc
index e3687ae245eb869d8823d3b3d851f34aac5c0b1d..c1f50018995bf96a30fee4619e8846b077e87cd2 100644
--- a/chrome/browser/chromeos/login/webui_login_view.cc
+++ b/chrome/browser/chromeos/login/webui_login_view.cc
@@ -14,6 +14,10 @@
#include "chrome/browser/ui/views/dom_view.h"
#include "content/browser/tab_contents/tab_contents.h"
+#if defined(TOUCH_UI)
+#include "chrome/browser/ui/touch/keyboard/keyboard_manager.h"
+#endif
+
namespace {
const char kViewClassName[] = "browser/chromeos/login/WebUILoginView";
@@ -28,6 +32,10 @@ WebUILoginView::WebUILoginView()
: profile_(NULL),
status_area_(NULL),
webui_login_(NULL) {
+#if defined(TOUCH_UI)
+ // Make sure the singleton KeyboardManager object is created.
+ KeyboardManager::GetInstance();
+#endif
}
WebUILoginView::~WebUILoginView() {

Powered by Google App Engine
This is Rietveld 408576698