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

Unified Diff: ui/events/ozone/layout/keyboard_layout_engine.h

Issue 1284433002: Revise ui::DomKey to unify character and non-character codes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: IsDead Created 5 years, 4 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/events/ozone/events_ozone.gyp ('k') | ui/events/ozone/layout/layout_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/ozone/layout/keyboard_layout_engine.h
diff --git a/ui/events/ozone/layout/keyboard_layout_engine.h b/ui/events/ozone/layout/keyboard_layout_engine.h
index c4a96d441e6c8ae337ebaba0cb4218ca9297d309..1e15dfab51eb925a0c1857a53d7e232b3407a247 100644
--- a/ui/events/ozone/layout/keyboard_layout_engine.h
+++ b/ui/events/ozone/layout/keyboard_layout_engine.h
@@ -8,13 +8,13 @@
#include <string>
#include "base/strings/string16.h"
+#include "ui/events/keycodes/dom/dom_key.h"
#include "ui/events/keycodes/keyboard_codes.h"
#include "ui/events/ozone/layout/events_ozone_layout_export.h"
namespace ui {
enum class DomCode;
-enum class DomKey;
// A KeyboardLayoutEngine provides a platform-independent interface to
// key mapping. Key mapping provides a meaning (DomKey and character,
@@ -66,7 +66,6 @@ class EVENTS_OZONE_LAYOUT_EXPORT KeyboardLayoutEngine {
virtual bool Lookup(DomCode dom_code,
int event_flags,
DomKey* dom_key,
- base::char16* character,
KeyboardCode* key_code,
uint32* platform_keycode) const = 0;
};
« no previous file with comments | « ui/events/ozone/events_ozone.gyp ('k') | ui/events/ozone/layout/layout_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698