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

Unified Diff: ui/base/ime/composition_text.h

Issue 6709023: Move some common ime code to ui/base/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Always put the composition cursor to the selection end. 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
« no previous file with comments | « ui/base/gtk/gtk_im_context_util_unittest.cc ('k') | ui/base/ime/composition_text.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/ime/composition_text.h
diff --git a/ui/base/ime/composition.h b/ui/base/ime/composition_text.h
similarity index 77%
rename from ui/base/ime/composition.h
rename to ui/base/ime/composition_text.h
index e59d976ea9fa3942670931415cb766ac43154f7f..2014e50c48d9bb88c113a8b2b8cbfc9b59db4f8c 100644
--- a/ui/base/ime/composition.h
+++ b/ui/base/ime/composition_text.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef UI_BASE_IME_COMPOSITION_H_
-#define UI_BASE_IME_COMPOSITION_H_
+#ifndef UI_BASE_IME_COMPOSITION_TEXT_H_
+#define UI_BASE_IME_COMPOSITION_TEXT_H_
#pragma once
#include "base/string16.h"
@@ -12,10 +12,10 @@
namespace ui {
-// A struct represents the status of an ongoing composition.
-struct Composition {
- Composition();
- ~Composition();
+// A struct represents the status of an ongoing composition text.
+struct CompositionText {
+ CompositionText();
+ ~CompositionText();
void Clear();
@@ -36,4 +36,4 @@ struct Composition {
} // namespace ui
-#endif // UI_BASE_IME_COMPOSITION_H_
+#endif // UI_BASE_IME_COMPOSITION_TEXT_H_
« no previous file with comments | « ui/base/gtk/gtk_im_context_util_unittest.cc ('k') | ui/base/ime/composition_text.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698