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

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

Issue 149073009: Remove InputMethodTSF, TSFEventRouter, TSFTextStore, TSFBridge (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: revert input_method_imm32 changes Created 6 years, 11 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/ime/input_method_initializer.cc ('k') | ui/base/ime/input_method_tsf.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« no previous file with comments | « ui/base/ime/input_method_initializer.cc ('k') | ui/base/ime/input_method_tsf.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698