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

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

Issue 8509034: Move views/ime/text_input_client.h to ui/base/ime/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more win_shared fix Created 9 years, 1 month 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 | « chrome/chrome_browser.gypi ('k') | ui/base/ime/text_input_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« no previous file with comments | « chrome/chrome_browser.gypi ('k') | ui/base/ime/text_input_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698