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

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: Added a new parameter to pass DOM |key| character 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..9671f4300b2eb12de887188724573e5e22829fd5 100644
--- a/content/child/blink_platform_impl.h
+++ b/content/child/blink_platform_impl.h
@@ -179,6 +179,9 @@ class CONTENT_EXPORT BlinkPlatformImpl
virtual blink::WebString domCodeStringFromEnum(int dom_code);
virtual int domEnumFromCodeString(const blink::WebString& codeString);
Wez 2015/06/11 00:09:05 code_string (see below)
Habib Virji 2015/06/24 14:32:12 Done.
+ virtual blink::WebString domKeyStringFromEnum(int dom_key);
+ virtual int domKeyEnumFromString(const blink::WebString& keyString);
Wez 2015/06/11 00:09:05 Sorry, in Chromium-style this should be key_string
Habib Virji 2015/06/24 14:32:12 Done.
+
private:
void DoTimeout() {
if (shared_timer_func_ && !shared_timer_suspended_)

Powered by Google App Engine
This is Rietveld 408576698