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

Unified Diff: ui/base/ime/composition.cc

Issue 6711008: Add common data types for input method support. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: ui/base/ime/composition.cc
diff --git a/ui/base/ime/composition.cc b/ui/base/ime/composition.cc
new file mode 100644
index 0000000000000000000000000000000000000000..8541e179bf9a29e721f3d6ef869681f70ed73095
--- /dev/null
+++ b/ui/base/ime/composition.cc
@@ -0,0 +1,18 @@
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "ui/base/ime/composition.h"
+
+namespace ui {
+
Peng 2011/03/18 18:01:11 It is better to put those struct's functions in he
James Su 2011/03/18 18:11:24 According to chromium code style, we shouldn't inl
Peng 2011/03/18 18:50:11 But it still looks not much reasonable for me, to
James Su 2011/03/18 19:18:35 Just removed it. We actually don't need it.
+Composition::Composition() {
+}
+
+void Composition::Clear() {
+ text.clear();
+ underlines.clear();
+ selection = Range();
+}
+
+} // namespace ui

Powered by Google App Engine
This is Rietveld 408576698