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

Side by Side Diff: chrome/browser/chromeos/input_method/ibus_controller_impl.h

Issue 10399046: Remove virtual keyboard support. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: final rebase Created 8 years, 7 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_CHROMEOS_INPUT_METHOD_IBUS_CONTROLLER_IMPL_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_INPUT_METHOD_IBUS_CONTROLLER_IMPL_H_
6 #define CHROME_BROWSER_CHROMEOS_INPUT_METHOD_IBUS_CONTROLLER_IMPL_H_ 6 #define CHROME_BROWSER_CHROMEOS_INPUT_METHOD_IBUS_CONTROLLER_IMPL_H_
7 #pragma once 7 #pragma once
8 8
9 #include <gio/gio.h> // GAsyncResult and related types. 9 #include <gio/gio.h> // GAsyncResult and related types.
10 #include <glib-object.h> 10 #include <glib-object.h>
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 public: 42 public:
43 IBusControllerImpl(); 43 IBusControllerImpl();
44 virtual ~IBusControllerImpl(); 44 virtual ~IBusControllerImpl();
45 45
46 // IBusController overrides: 46 // IBusController overrides:
47 virtual bool Start() OVERRIDE; 47 virtual bool Start() OVERRIDE;
48 virtual void Reset() OVERRIDE; 48 virtual void Reset() OVERRIDE;
49 virtual bool Stop() OVERRIDE; 49 virtual bool Stop() OVERRIDE;
50 virtual bool ChangeInputMethod(const std::string& id) OVERRIDE; 50 virtual bool ChangeInputMethod(const std::string& id) OVERRIDE;
51 virtual bool ActivateInputMethodProperty(const std::string& key) OVERRIDE; 51 virtual bool ActivateInputMethodProperty(const std::string& key) OVERRIDE;
52 #if defined(USE_VIRTUAL_KEYBOARD)
53 virtual void SendHandwritingStroke(const HandwritingStroke& stroke) OVERRIDE;
54 virtual void CancelHandwriting(int n_strokes) OVERRIDE;
55 #endif
56 52
57 // Calls <anonymous_namespace>::FindAndUpdateProperty. This method is just for 53 // Calls <anonymous_namespace>::FindAndUpdateProperty. This method is just for
58 // unit testing. 54 // unit testing.
59 static bool FindAndUpdatePropertyForTesting( 55 static bool FindAndUpdatePropertyForTesting(
60 const InputMethodProperty& new_prop, 56 const InputMethodProperty& new_prop,
61 InputMethodPropertyList* prop_list); 57 InputMethodPropertyList* prop_list);
62 58
63 static void IBusDaemonInitializationDone(IBusControllerImpl* controller, 59 static void IBusDaemonInitializationDone(IBusControllerImpl* controller,
64 const std::string& ibus_address); 60 const std::string& ibus_address);
65 61
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 // Used for making callbacks for PostTask. 172 // Used for making callbacks for PostTask.
177 base::WeakPtrFactory<IBusControllerImpl> weak_ptr_factory_; 173 base::WeakPtrFactory<IBusControllerImpl> weak_ptr_factory_;
178 174
179 DISALLOW_COPY_AND_ASSIGN(IBusControllerImpl); 175 DISALLOW_COPY_AND_ASSIGN(IBusControllerImpl);
180 }; 176 };
181 177
182 } // namespace input_method 178 } // namespace input_method
183 } // namespace chromeos 179 } // namespace chromeos
184 180
185 #endif // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_IBUS_CONTROLLER_IMPL_H_ 181 #endif // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_IBUS_CONTROLLER_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698