Index: ui/base/ime/text_input_client.h |
diff --git a/views/ime/text_input_client.h b/ui/base/ime/text_input_client.h |
similarity index 92% |
rename from views/ime/text_input_client.h |
rename to ui/base/ime/text_input_client.h |
index a0dd86a316358cacf91a3849f8c3b11f5af97d28..01f5152bf63394fc82ba12d887413c2c10a3af6f 100644 |
--- a/views/ime/text_input_client.h |
+++ b/ui/base/ime/text_input_client.h |
@@ -2,31 +2,28 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#ifndef VIEWS_IME_TEXT_INPUT_CLIENT_H_ |
-#define VIEWS_IME_TEXT_INPUT_CLIENT_H_ |
+#ifndef UI_BASE_IME_TEXT_INPUT_CLIENT_H_ |
+#define UI_BASE_IME_TEXT_INPUT_CLIENT_H_ |
#pragma once |
-#include <vector> |
- |
#include "base/basictypes.h" |
+#include "base/i18n/rtl.h" |
#include "base/string16.h" |
#include "ui/base/ime/composition_text.h" |
#include "ui/base/ime/text_input_type.h" |
#include "ui/base/range/range.h" |
-#include "views/views_export.h" |
+#include "ui/base/ui_export.h" |
namespace gfx { |
class Rect; |
} |
-namespace views { |
- |
-class View; |
+namespace ui { |
// An interface implemented by a View that needs text input support. |
-class VIEWS_EXPORT TextInputClient { |
+class UI_EXPORT TextInputClient { |
public: |
- virtual ~TextInputClient() {} |
+ virtual ~TextInputClient(); |
// Input method result ------------------------------------------------------- |
@@ -115,11 +112,8 @@ class VIEWS_EXPORT TextInputClient { |
// Returns false if the operation is not supported. |
virtual bool ChangeTextDirectionAndLayoutAlignment( |
base::i18n::TextDirection direction) = 0; |
- |
- // Gets the View object who owns this TextInputClient instance. |
- virtual View* GetOwnerViewOfTextInputClient() = 0; |
}; |
-} // namespace views |
+} // namespace ui |
-#endif // VIEWS_IME_TEXT_INPUT_CLIENT_H_ |
+#endif // UI_BASE_IME_TEXT_INPUT_CLIENT_H_ |