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

Unified Diff: content/child/blink_platform_impl.h

Issue 929053004: [KeyboardEvent] Add embedder APIs to translate between Dom |key| enum and strings (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: "API has been updated on the blink side" Created 5 years, 9 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: content/child/blink_platform_impl.h
diff --git a/content/child/blink_platform_impl.h b/content/child/blink_platform_impl.h
index 9445ea662f59253cfb5c5d0d0b709123e49b032b..e1232ea5a56b59db5a3ed953df2b07d69eb49adb 100644
--- a/content/child/blink_platform_impl.h
+++ b/content/child/blink_platform_impl.h
@@ -175,6 +175,9 @@ class CONTENT_EXPORT BlinkPlatformImpl
virtual blink::WebString domCodeStringFromEnum(int dom_code);
virtual int domEnumFromCodeString(const blink::WebString& codeString);
+ virtual blink::WebString domKeyStringFromEnum(int dom_code);
+ virtual int domKeyEnumFromString(const blink::WebString& codeString);
+
private:
static void DestroyCurrentThread(void*);

Powered by Google App Engine
This is Rietveld 408576698