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

Unified Diff: ui/events/linux/text_edit_key_bindings_delegate_auralinux.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
Index: ui/events/linux/text_edit_key_bindings_delegate_auralinux.h
diff --git a/ui/events/linux/text_edit_key_bindings_delegate_auralinux.h b/ui/events/linux/text_edit_key_bindings_delegate_auralinux.h
deleted file mode 100644
index d2916260380b64b67b69e4ce07426bd6e8cad654..0000000000000000000000000000000000000000
--- a/ui/events/linux/text_edit_key_bindings_delegate_auralinux.h
+++ /dev/null
@@ -1,43 +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_EVENTS_X_TEXT_EDIT_KEY_BINDINGS_DELEGATE_X11_H_
-#define UI_EVENTS_X_TEXT_EDIT_KEY_BINDINGS_DELEGATE_X11_H_
-
-#include <vector>
-
-#include "ui/events/events_export.h"
-
-namespace ui {
-class Event;
-class TextEditCommandAuraLinux;
-
-// An interface which can interpret various text editing commands out of key
-// events.
-//
-// On desktop Linux, we've traditionally supported the user's custom
-// keybindings. We need to support this in both content/ and in views/.
-class EVENTS_EXPORT TextEditKeyBindingsDelegateAuraLinux {
- public:
- // Matches a key event against the users' platform specific key bindings,
- // false will be returned if the key event doesn't correspond to a predefined
- // key binding. Edit commands matched with |event| will be stored in
- // |edit_commands|, if |edit_commands| is non-NULL.
- virtual bool MatchEvent(const ui::Event& event,
- std::vector<TextEditCommandAuraLinux>* commands) = 0;
-
- protected:
- virtual ~TextEditKeyBindingsDelegateAuraLinux() {}
-};
-
-// Sets/Gets the global TextEditKeyBindingsDelegateAuraLinux. No ownership
-// changes. Can be NULL.
-EVENTS_EXPORT void SetTextEditKeyBindingsDelegate(
- TextEditKeyBindingsDelegateAuraLinux* delegate);
-EVENTS_EXPORT TextEditKeyBindingsDelegateAuraLinux*
- GetTextEditKeyBindingsDelegate();
-
-} // namespace ui
-
-#endif // UI_EVENTS_X_TEXT_EDIT_KEY_BINDINGS_DELEGATE_X11_H_
« no previous file with comments | « ui/events/linux/text_edit_command_auralinux.cc ('k') | ui/events/linux/text_edit_key_bindings_delegate_auralinux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698