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

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: Created 5 years, 10 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 2c1764ff5215431c1fe2625ad14cd7418f87c48d..064e4882ebcc6710ee93d4e6a8a1dcf5be0bf92c 100644
--- a/content/child/blink_platform_impl.h
+++ b/content/child/blink_platform_impl.h
@@ -169,6 +169,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 domEnumFromKeyString(const blink::WebString& codeString);
+
private:
static void DestroyCurrentThread(void*);

Powered by Google App Engine
This is Rietveld 408576698