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

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

Issue 851853002: It is time. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Trying to reup because the last upload failed. Created 5 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_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/ime/input_method_mac.h
diff --git a/ui/base/ime/input_method_mac.h b/ui/base/ime/input_method_mac.h
deleted file mode 100644
index d910fa1961255b1aea62b2ad0bec583038742189..0000000000000000000000000000000000000000
--- a/ui/base/ime/input_method_mac.h
+++ /dev/null
@@ -1,38 +0,0 @@
-// Copyright 2014 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_MAC_H_
-#define UI_BASE_IME_INPUT_METHOD_MAC_H_
-
-#include "ui/base/ime/input_method_base.h"
-
-namespace ui {
-
-// A ui::InputMethod implementation for Mac.
-// On the Mac, key events don't pass through InputMethod.
-// Instead, NSTextInputClient calls are bridged to the currently focused
-// ui::TextInputClient object.
-class UI_BASE_EXPORT InputMethodMac : public InputMethodBase {
- public:
- explicit InputMethodMac(internal::InputMethodDelegate* delegate);
- ~InputMethodMac() override;
-
- // Overriden from InputMethod.
- bool OnUntranslatedIMEMessage(const base::NativeEvent& event,
- NativeEventResult* result) override;
- bool DispatchKeyEvent(const ui::KeyEvent& event) override;
- void OnCaretBoundsChanged(const TextInputClient* client) override;
- void CancelComposition(const TextInputClient* client) override;
- void OnInputLocaleChanged() override;
- std::string GetInputLocale() override;
- bool IsActive() override;
- bool IsCandidatePopupOpen() const override;
-
- private:
- DISALLOW_COPY_AND_ASSIGN(InputMethodMac);
-};
-
-} // namespace ui
-
-#endif // UI_BASE_IME_INPUT_METHOD_MAC_H_
« no previous file with comments | « ui/base/ime/input_method_initializer.cc ('k') | ui/base/ime/input_method_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698