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

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

Issue 10092006: Add Reset() to IBusController. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 8 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 27 matching lines...) Expand all
38 typedef std::vector<InputMethodProperty> InputMethodPropertyList; 38 typedef std::vector<InputMethodProperty> InputMethodPropertyList;
39 39
40 // The IBusController implementation. 40 // The IBusController implementation.
41 class IBusControllerImpl : public IBusControllerBase { 41 class IBusControllerImpl : public IBusControllerBase {
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 bool Stop() OVERRIDE; 49 virtual bool Stop() OVERRIDE;
49 virtual bool ChangeInputMethod(const std::string& id) OVERRIDE; 50 virtual bool ChangeInputMethod(const std::string& id) OVERRIDE;
50 virtual bool ActivateInputMethodProperty(const std::string& key) OVERRIDE; 51 virtual bool ActivateInputMethodProperty(const std::string& key) OVERRIDE;
51 #if defined(USE_VIRTUAL_KEYBOARD) 52 #if defined(USE_VIRTUAL_KEYBOARD)
52 virtual void SendHandwritingStroke(const HandwritingStroke& stroke) OVERRIDE; 53 virtual void SendHandwritingStroke(const HandwritingStroke& stroke) OVERRIDE;
53 virtual void CancelHandwriting(int n_strokes) OVERRIDE; 54 virtual void CancelHandwriting(int n_strokes) OVERRIDE;
54 #endif 55 #endif
55 56
56 // Calls <anonymous_namespace>::FindAndUpdateProperty. This method is just for 57 // Calls <anonymous_namespace>::FindAndUpdateProperty. This method is just for
57 // unit testing. 58 // unit testing.
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 // An object which knows all valid input methods and layout IDs. 157 // An object which knows all valid input methods and layout IDs.
157 InputMethodWhitelist whitelist_; 158 InputMethodWhitelist whitelist_;
158 159
159 DISALLOW_COPY_AND_ASSIGN(IBusControllerImpl); 160 DISALLOW_COPY_AND_ASSIGN(IBusControllerImpl);
160 }; 161 };
161 162
162 } // namespace input_method 163 } // namespace input_method
163 } // namespace chromeos 164 } // namespace chromeos
164 165
165 #endif // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_IBUS_CONTROLLER_IMPL_H_ 166 #endif // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_IBUS_CONTROLLER_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698