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

Side by Side Diff: chromeos/dbus/ibus/ibus_panel_service.h

Issue 11956008: Move SetCursorLocation bypass code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix unittests: add TextInputTestSupport initialzation Created 7 years, 10 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 CHROMEOS_DBUS_IBUS_IBUS_PANEL_SERVICE_H_ 5 #ifndef CHROMEOS_DBUS_IBUS_IBUS_PANEL_SERVICE_H_
6 #define CHROMEOS_DBUS_IBUS_IBUS_PANEL_SERVICE_H_ 6 #define CHROMEOS_DBUS_IBUS_IBUS_PANEL_SERVICE_H_
7 7
8 #include <string> 8 #include <string>
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 virtual void HideAuxiliaryText() = 0; 48 virtual void HideAuxiliaryText() = 0;
49 49
50 // Called when the IME updates the preedit text. The |text| is given in 50 // Called when the IME updates the preedit text. The |text| is given in
51 // UTF-8 encoding. 51 // UTF-8 encoding.
52 virtual void UpdatePreeditText(const std::string& text, uint32 cursor_pos, 52 virtual void UpdatePreeditText(const std::string& text, uint32 cursor_pos,
53 bool visible) = 0; 53 bool visible) = 0;
54 54
55 // Called when the IME hides the preedit text. 55 // Called when the IME hides the preedit text.
56 virtual void HidePreeditText() = 0; 56 virtual void HidePreeditText() = 0;
57 57
58 // TODO(nona): Introduce SetCursorLocation function. 58 // Called when the application changes its caret location.
59 virtual void SetCursorLocation(const ibus::Rect& cursor_location,
60 const ibus::Rect& composition_head) = 0;
59 61
60 protected: 62 protected:
61 IBusPanelCandidateWindowHandlerInterface() {} 63 IBusPanelCandidateWindowHandlerInterface() {}
62 }; 64 };
63 65
64 // A interface to handle the property related method call. 66 // A interface to handle the property related method call.
65 class CHROMEOS_EXPORT IBusPanelPropertyHandlerInterface { 67 class CHROMEOS_EXPORT IBusPanelPropertyHandlerInterface {
66 public: 68 public:
67 virtual ~IBusPanelPropertyHandlerInterface() {} 69 virtual ~IBusPanelPropertyHandlerInterface() {}
68 70
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 IBusPanelService(); 129 IBusPanelService();
128 130
129 private: 131 private:
130 DISALLOW_COPY_AND_ASSIGN(IBusPanelService); 132 DISALLOW_COPY_AND_ASSIGN(IBusPanelService);
131 }; 133 };
132 134
133 } // namespace ibus 135 } // namespace ibus
134 } // namespace chromeos 136 } // namespace chromeos
135 137
136 #endif // CHROMEOS_DBUS_IBUS_IBUS_PANEL_SERVICE_H_ 138 #endif // CHROMEOS_DBUS_IBUS_IBUS_PANEL_SERVICE_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/input_method/input_method_manager_impl_unittest.cc ('k') | chromeos/dbus/ibus/ibus_panel_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698