diff options
author | satorux@chromium.org <satorux@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-24 01:29:01 +0000 |
---|---|---|
committer | satorux@chromium.org <satorux@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-24 01:29:01 +0000 |
commit | ffc22aac0caf43c33c9fc394ec6bfc23522b8dd6 (patch) | |
tree | 030194a061670f007d5631f3b1c6c725d6326e63 | |
parent | 57278b9b305fd6dac68f6b66700cf817e3a1c0f5 (diff) | |
download | chromium_src-ffc22aac0caf43c33c9fc394ec6bfc23522b8dd6.zip chromium_src-ffc22aac0caf43c33c9fc394ec6bfc23522b8dd6.tar.gz chromium_src-ffc22aac0caf43c33c9fc394ec6bfc23522b8dd6.tar.bz2 |
Move constructor/destructor to .cc file to make Clang happy.
TEST=chrome builds
BUG=none
Review URL: http://codereview.chromium.org/7239016
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@90323 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | chrome/browser/chromeos/input_method/ibus_ui_controller.cc | 10 | ||||
-rw-r--r-- | chrome/browser/chromeos/input_method/ibus_ui_controller.h | 9 |
2 files changed, 13 insertions, 6 deletions
diff --git a/chrome/browser/chromeos/input_method/ibus_ui_controller.cc b/chrome/browser/chromeos/input_method/ibus_ui_controller.cc index 7f5721e9..6d8bb37 100644 --- a/chrome/browser/chromeos/input_method/ibus_ui_controller.cc +++ b/chrome/browser/chromeos/input_method/ibus_ui_controller.cc @@ -15,6 +15,16 @@ namespace chromeos { namespace input_method { +InputMethodLookupTable::InputMethodLookupTable() + : visible(false), + cursor_absolute_index(0), + page_size(0), + orientation(kHorizontal) { +} + +InputMethodLookupTable::~InputMethodLookupTable() { +} + #if defined(HAVE_IBUS) // Checks the attribute if this indicates annotation. diff --git a/chrome/browser/chromeos/input_method/ibus_ui_controller.h b/chrome/browser/chromeos/input_method/ibus_ui_controller.h index 8881490..24efbfe 100644 --- a/chrome/browser/chromeos/input_method/ibus_ui_controller.h +++ b/chrome/browser/chromeos/input_method/ibus_ui_controller.h @@ -31,12 +31,9 @@ struct InputMethodLookupTable { kHorizontal, }; - InputMethodLookupTable() - : visible(false), - cursor_absolute_index(0), - page_size(0), - orientation(kHorizontal) { - } + InputMethodLookupTable(); + + ~InputMethodLookupTable(); // Returns a string representation of the class. Used for debugging. // The function has to be defined here rather than in the .cc file. If |