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

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: Updated MakeWebKeyboardEvent function with the changes. Created 5 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: content/child/blink_platform_impl.h
diff --git a/content/child/blink_platform_impl.h b/content/child/blink_platform_impl.h
index 178bfb6a11251bb3c3d9a2db1b07503f4ea90516..7af87febf5bf6ce3b014006082ad2d8e85c4f8b5 100644
--- a/content/child/blink_platform_impl.h
+++ b/content/child/blink_platform_impl.h
@@ -177,7 +177,10 @@ class CONTENT_EXPORT BlinkPlatformImpl
virtual void OnStartSharedTimer(base::TimeDelta delay) {}
virtual blink::WebString domCodeStringFromEnum(int dom_code);
- virtual int domEnumFromCodeString(const blink::WebString& codeString);
+ virtual int domEnumFromCodeString(const blink::WebString& code_string);
+
+ virtual blink::WebString domKeyStringFromEnum(int dom_key);
+ virtual int domKeyEnumFromString(const blink::WebString& key_string);
private:
void DoTimeout() {

Powered by Google App Engine
This is Rietveld 408576698