From 72851a9a7d4f40ae41d26ac1a94f02544ac495be Mon Sep 17 00:00:00 2001 From: "bryeung@chromium.org" Date: Tue, 29 Nov 2011 20:15:11 +0000 Subject: Change TOUCH_UI => USE_VIRTUAL_KEYBOARD. BUG=105046 TEST=manually Review URL: http://codereview.chromium.org/8652001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112008 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/chromeos/input_method/input_method_manager.cc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/chrome/browser/chromeos/input_method/input_method_manager.cc b/chrome/browser/chromeos/input_method/input_method_manager.cc index ac8a99d..8f014f8 100644 --- a/chrome/browser/chromeos/input_method/input_method_manager.cc +++ b/chrome/browser/chromeos/input_method/input_method_manager.cc @@ -30,7 +30,7 @@ #include "content/public/browser/notification_types.h" #include "googleurl/src/gurl.h" -#if !defined(TOUCH_UI) +#if !defined(USE_VIRTUAL_KEYBOARD) #include "chrome/browser/chromeos/input_method/candidate_window.h" #endif @@ -944,7 +944,7 @@ class InputMethodManagerImpl : public HotkeyManager::Observer, } void UpdateVirtualKeyboardUI() { -#if defined(TOUCH_UI) +#if defined(USE_VIRTUAL_KEYBOARD) const VirtualKeyboard* virtual_keyboard = NULL; std::string virtual_keyboard_layout = ""; @@ -1011,7 +1011,7 @@ class InputMethodManagerImpl : public HotkeyManager::Observer, *virtual_keyboard, virtual_keyboard_layout)); } -#endif // TOUCH_UI +#endif // USE_VIRTUAL_KEYBOARD } // Changes the current input method from the given input method ID. @@ -1099,7 +1099,7 @@ class InputMethodManagerImpl : public HotkeyManager::Observer, return false; } -#if !defined(TOUCH_UI) +#if !defined(USE_VIRTUAL_KEYBOARD) if (!candidate_window_controller_.get()) { candidate_window_controller_.reset(new CandidateWindowController); if (!candidate_window_controller_->Init()) { @@ -1177,7 +1177,7 @@ class InputMethodManagerImpl : public HotkeyManager::Observer, shutting_down_ = true; notification_registrar_.RemoveAll(); StopInputMethodDaemon(); -#if !defined(TOUCH_UI) +#if !defined(USE_VIRTUAL_KEYBOARD) candidate_window_controller_.reset(NULL); #endif } @@ -1344,7 +1344,7 @@ class InputMethodManagerImpl : public HotkeyManager::Observer, // The candidate window. This will be deleted when the APP_TERMINATING // message is sent. -#if !defined(TOUCH_UI) +#if !defined(USE_VIRTUAL_KEYBOARD) scoped_ptr candidate_window_controller_; #endif -- cgit v1.1