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

Unified Diff: content/child/blink_platform_impl.cc

Issue 2874263002: Don't count modifiers-changed events as being user gestures. (Closed)
Patch Set: Created 3 years, 7 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
« no previous file with comments | « content/child/blink_platform_impl.h ('k') | third_party/WebKit/Source/core/input/KeyboardEventManager.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/blink_platform_impl.cc
diff --git a/content/child/blink_platform_impl.cc b/content/child/blink_platform_impl.cc
index e99bb3f585540547c3f4a1749078355f78baea13..598c6bc07b88cfaab8b725274a8f37755bcf0cda 100644
--- a/content/child/blink_platform_impl.cc
+++ b/content/child/blink_platform_impl.cc
@@ -832,6 +832,11 @@ int BlinkPlatformImpl::DomKeyEnumFromString(const WebString& key_string) {
ui::KeycodeConverter::KeyStringToDomKey(key_string.Utf8()));
}
+bool BlinkPlatformImpl::IsDomKeyForModifier(int dom_key) {
+ return ui::KeycodeConverter::IsDomKeyForModifier(
+ static_cast<ui::DomKey>(dom_key));
+}
+
std::unique_ptr<blink::WebFeaturePolicy> BlinkPlatformImpl::CreateFeaturePolicy(
const blink::WebFeaturePolicy* parent_policy,
const blink::WebParsedFeaturePolicy& container_policy,
« no previous file with comments | « content/child/blink_platform_impl.h ('k') | third_party/WebKit/Source/core/input/KeyboardEventManager.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698