Index: ui/base/ime/input_method_tsf.h |
diff --git a/ui/base/ime/input_method_tsf.h b/ui/base/ime/input_method_tsf.h |
deleted file mode 100644 |
index b01bb7ed5bf5410ee02a04c029bd0161357ba458..0000000000000000000000000000000000000000 |
--- a/ui/base/ime/input_method_tsf.h |
+++ /dev/null |
@@ -1,58 +0,0 @@ |
-// Copyright (c) 2013 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. |
- |
-#ifndef UI_BASE_IME_INPUT_METHOD_TSF_H_ |
-#define UI_BASE_IME_INPUT_METHOD_TSF_H_ |
- |
-#include <windows.h> |
- |
-#include <string> |
- |
-#include "base/memory/scoped_ptr.h" |
-#include "ui/base/ime/input_method_win.h" |
- |
-namespace ui { |
- |
-class TSFEventRouter; |
- |
-// An InputMethod implementation based on Windows TSF API. |
-class UI_BASE_EXPORT InputMethodTSF : public InputMethodWin { |
- public: |
- InputMethodTSF(internal::InputMethodDelegate* delegate, |
- HWND toplevel_window_handle); |
- virtual ~InputMethodTSF(); |
- |
- // Overridden from InputMethod: |
- virtual void OnFocus() OVERRIDE; |
- virtual void OnBlur() OVERRIDE; |
- virtual bool OnUntranslatedIMEMessage(const base::NativeEvent& event, |
- NativeEventResult* result) OVERRIDE; |
- virtual void OnTextInputTypeChanged(const TextInputClient* client) OVERRIDE; |
- virtual void OnCaretBoundsChanged(const TextInputClient* client) OVERRIDE; |
- virtual void CancelComposition(const TextInputClient* client) OVERRIDE; |
- virtual void DetachTextInputClient(TextInputClient* client) OVERRIDE; |
- virtual bool IsCandidatePopupOpen() const OVERRIDE; |
- |
- // Overridden from InputMethodBase: |
- virtual void OnWillChangeFocusedClient(TextInputClient* focused_before, |
- TextInputClient* focused) OVERRIDE; |
- virtual void OnDidChangeFocusedClient(TextInputClient* focused_before, |
- TextInputClient* focused) OVERRIDE; |
- |
- private: |
- class TSFEventObserver; |
- |
- // Asks the client to confirm current composition text. |
- void ConfirmCompositionText(); |
- |
- // TSF event router and observer. |
- scoped_ptr<TSFEventObserver> tsf_event_observer_; |
- scoped_ptr<TSFEventRouter> tsf_event_router_; |
- |
- DISALLOW_COPY_AND_ASSIGN(InputMethodTSF); |
-}; |
- |
-} // namespace ui |
- |
-#endif // UI_BASE_IME_INPUT_METHOD_TSF_H_ |