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

Unified Diff: mojo/views/input_method_mojo_linux.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 | « mojo/views/DEPS ('k') | mojo/views/input_method_mojo_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/views/input_method_mojo_linux.h
diff --git a/mojo/views/input_method_mojo_linux.h b/mojo/views/input_method_mojo_linux.h
deleted file mode 100644
index f941ab258e2fc9306a05439e2df56303fa563a8f..0000000000000000000000000000000000000000
--- a/mojo/views/input_method_mojo_linux.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 MOJO_VIEWS_INPUT_METHOD_MOJO_LINUX_H_
-#define MOJO_VIEWS_INPUT_METHOD_MOJO_LINUX_H_
-
-#include "ui/base/ime/input_method_auralinux.h"
-#include "ui/base/ime/input_method_delegate.h"
-
-namespace mojo {
-
-// An input method for linux that does absolutely no translation.
-//
-// The current InputMethodMinimal makes assumptions that a system will only
-// input/output keydown/keyup events; it assumes that things don't work like
-// Windows does. When it gets a keydown event, it then tries to insert a
-// character at the same time.
-//
-// However, we're standardizing on Windows' WM_CHAR style events. This tries to
-// follow InputMethodWin::DispatchKeyEvent() instead, because PlatformViewX11
-// now synthesizes a character events so that we have one behaviour across our
-// platforms.
-class InputMethodMojoLinux : public ui::InputMethodAuraLinux {
- public:
- explicit InputMethodMojoLinux(ui::internal::InputMethodDelegate* delegate);
- virtual ~InputMethodMojoLinux();
-
- // Overriden from ui::InputMethodAuraLinux:
- virtual bool DispatchKeyEvent(const ui::KeyEvent& event) override;
-
- private:
- DISALLOW_COPY_AND_ASSIGN(InputMethodMojoLinux);
-};
-
-} // namespace mojo
-
-#endif // MOJO_VIEWS_INPUT_METHOD_MOJO_LINUX_H_
« no previous file with comments | « mojo/views/DEPS ('k') | mojo/views/input_method_mojo_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698