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

Unified Diff: third_party/WebKit/Source/platform/PlatformKeyboardEvent.h

Issue 2120153003: Remove keyIdentifier. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remove_key_identifier_3a
Patch Set: Rebase Created 4 years, 5 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: third_party/WebKit/Source/platform/PlatformKeyboardEvent.h
diff --git a/third_party/WebKit/Source/platform/PlatformKeyboardEvent.h b/third_party/WebKit/Source/platform/PlatformKeyboardEvent.h
index 028deacaa1ca297b203a69f97bac2e5d3e4c4b49..abf3841ea4f0d17bc6cefc12421f1f91669e2878 100644
--- a/third_party/WebKit/Source/platform/PlatformKeyboardEvent.h
+++ b/third_party/WebKit/Source/platform/PlatformKeyboardEvent.h
@@ -44,11 +44,10 @@ public:
{
}
- PlatformKeyboardEvent(EventType type, const String& text, const String& unmodifiedText, const String& keyIdentifier, const String& code, const String& key, int windowsVirtualKeyCode, int nativeVirtualKeyCode, bool isSystemKey, Modifiers modifiers, double timestamp)
+ PlatformKeyboardEvent(EventType type, const String& text, const String& unmodifiedText, const String& code, const String& key, int windowsVirtualKeyCode, int nativeVirtualKeyCode, bool isSystemKey, Modifiers modifiers, double timestamp)
: PlatformEvent(type, modifiers, timestamp)
, m_text(text)
, m_unmodifiedText(unmodifiedText)
- , m_keyIdentifier(keyIdentifier)
, m_code(code)
, m_key(key)
, m_windowsVirtualKeyCode(windowsVirtualKeyCode)
@@ -72,8 +71,6 @@ public:
// Otherwise, same as text().
String unmodifiedText() const { return m_unmodifiedText; }
- String keyIdentifier() const { return m_keyIdentifier; }
-
String code() const { return m_code; }
String key() const { return m_key; }
@@ -97,7 +94,6 @@ public:
protected:
String m_text;
String m_unmodifiedText;
- String m_keyIdentifier;
String m_code;
String m_key;
int m_windowsVirtualKeyCode;

Powered by Google App Engine
This is Rietveld 408576698