| 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..a7faba9f99dcf080655d9b54f6fcc5af981793b9 100644
|
| --- a/views/ime/text_input_client.h
|
| +++ b/ui/base/ime/text_input_client.h
|
| @@ -2,29 +2,26 @@
|
| // 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() {}
|
|
|
| @@ -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_
|
|
|