diff options
| author | yusukes@google.com <yusukes@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-05 08:36:19 +0000 |
|---|---|---|
| committer | yusukes@google.com <yusukes@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-05 08:36:19 +0000 |
| commit | 2166ebac5d01f111ff05ba93dcfcf19594b5d195 (patch) | |
| tree | 8f20f75ed70e07421f29118dce794fea23561338 /chrome/browser/chromeos/input_method/ibus_ui_controller.cc | |
| parent | b69413f5ce113ac316f5a5050be2d465aae0bff7 (diff) | |
| download | chromium_src-2166ebac5d01f111ff05ba93dcfcf19594b5d195.zip chromium_src-2166ebac5d01f111ff05ba93dcfcf19594b5d195.tar.gz chromium_src-2166ebac5d01f111ff05ba93dcfcf19594b5d195.tar.bz2 | |
Revert "Add "InfoList" for input methods on ChromeOS"
This reverts commit 698c3c39311a91b7f34bfab8e1523b3d97a7a1ba.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/7779031
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99627 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/chromeos/input_method/ibus_ui_controller.cc')
| -rw-r--r-- | chrome/browser/chromeos/input_method/ibus_ui_controller.cc | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/chrome/browser/chromeos/input_method/ibus_ui_controller.cc b/chrome/browser/chromeos/input_method/ibus_ui_controller.cc index f6d1363..6d8bb37 100644 --- a/chrome/browser/chromeos/input_method/ibus_ui_controller.cc +++ b/chrome/browser/chromeos/input_method/ibus_ui_controller.cc @@ -11,7 +11,6 @@ #include "base/logging.h" #include "base/string_util.h" #include "base/utf_string_conversions.h" -#include "third_party/mozc/session/commands.pb.h" namespace chromeos { namespace input_method { @@ -502,29 +501,6 @@ class IBusUiControllerImpl : public IBusUiController { lookup_table.orientation = InputMethodLookupTable::kHorizontal; } - -#ifdef OS_CHROMEOS - // The function ibus_serializable_get_attachment had been changed - // to use GVariant by the commit - // https://github.com/ibus/ibus/commit/ac9dfac13cef34288440a2ecdf067cd827fb2f8f - GVariant* variant = ibus_serializable_get_attachment( - IBUS_SERIALIZABLE(table), "mozc.candidates"); - if (variant != NULL) { - gconstpointer ptr = g_variant_get_data(variant); - if (ptr != NULL) { - gsize size = g_variant_get_size(variant); - GByteArray* bytearray = g_byte_array_sized_new(size); - g_byte_array_append( - bytearray, reinterpret_cast<const guint8*>(ptr), size); - if (!lookup_table.mozc_candidates.ParseFromArray( - bytearray->data, bytearray->len)) { - lookup_table.mozc_candidates.Clear(); - } - g_byte_array_unref(bytearray); - } - } -#endif - // Copy candidates and annotations to |lookup_table|. for (int i = 0; ; i++) { IBusText *text = ibus_lookup_table_get_candidate(table, i); |
