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

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: Code review comments Created 5 years, 8 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 3b5462d237e6870af9d1633eaeb6742f69b65a4f..3b44d52dff2f3f5d2220b44a4cc56945bda24c33 100644
--- a/content/child/blink_platform_impl.h
+++ b/content/child/blink_platform_impl.h
@@ -173,6 +173,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);
Wez 2015/05/07 00:23:23 nit: dom_code -> dom_key
Habib Virji 2015/05/19 16:16:28 Acknowledged.
+ virtual int domKeyEnumFromString(const blink::WebString& codeString);
Wez 2015/05/07 00:23:23 nit: codeString -> keyString
Habib Virji 2015/05/19 16:16:28 Acknowledged.
+
private:
void DoTimeout() {
if (shared_timer_func_ && !shared_timer_suspended_)

Powered by Google App Engine
This is Rietveld 408576698