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

Unified Diff: chrome/browser/ui/libgtk2ui/gtk2_key_bindings_handler.h

Issue 2029733003: Views: Replace resource ids with ui::TextEditCommand enum for text editing commands in Textfield. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: === Created 4 years, 6 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: chrome/browser/ui/libgtk2ui/gtk2_key_bindings_handler.h
diff --git a/chrome/browser/ui/libgtk2ui/gtk2_key_bindings_handler.h b/chrome/browser/ui/libgtk2ui/gtk2_key_bindings_handler.h
index 32584d4e334edf824494514b17fb42dedb383b96..4c19ee30ab71413e20be54128d6f658ceb536b29 100644
--- a/chrome/browser/ui/libgtk2ui/gtk2_key_bindings_handler.h
+++ b/chrome/browser/ui/libgtk2ui/gtk2_key_bindings_handler.h
@@ -11,7 +11,7 @@
#include <vector>
#include "base/event_types.h"
-#include "ui/events/linux/text_edit_command_auralinux.h"
+#include "ui/base/ime/linux/text_edit_command_auralinux.h"
namespace content {
struct NativeWebKeyboardEvent;
@@ -70,9 +70,8 @@ class Gtk2KeyBindingsHandler {
GtkWidget* CreateNewHandler();
// Adds an edit command to the key event.
- void EditCommandMatched(ui::TextEditCommandAuraLinux::CommandId id,
- const std::string& value,
- bool extend_selection);
+ void EditCommandMatched(ui::TextEditCommand command,
+ const std::string& value);
// Builds a fake GdkEventKey from an XEvent.
void BuildGdkEventKeyFromXEvent(const base::NativeEvent& xevent,
« no previous file with comments | « chrome/browser/ui/browser_command_controller.cc ('k') | chrome/browser/ui/libgtk2ui/gtk2_key_bindings_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698