Commit 0e7ab159 authored by Darren Shen's avatar Darren Shen Committed by Commit Bot

rule-based: Deprecate |alt| and |ctrl| in keypress info.

These aren't actually used in rule-based engine. No point sending them.

Bug: 1009903
Change-Id: Ic0add4ecba3d4341c2976f6abce8e9c86465d116
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1833032Reviewed-by: default avatarSam McNally <sammc@chromium.org>
Commit-Queue: Darren Shen <shend@chromium.org>
Cr-Commit-Position: refs/heads/master@{#701472}
parent 1b020326
...@@ -44,7 +44,6 @@ struct KeypressResponseForRulebased { ...@@ -44,7 +44,6 @@ struct KeypressResponseForRulebased {
// Information about a specific keypress. // Information about a specific keypress.
struct KeypressInfoForRulebased { struct KeypressInfoForRulebased {
// Keypress Type (Eg; "keydown", "keyup", etc). // Keypress Type (Eg; "keydown", "keyup", etc).
string type; string type;
...@@ -55,8 +54,8 @@ struct KeypressInfoForRulebased { ...@@ -55,8 +54,8 @@ struct KeypressInfoForRulebased {
bool shift; bool shift;
bool altgr; bool altgr;
bool caps; bool caps;
bool ctrl; bool ctrl = false; // DEPRECATED
bool alt; bool alt = false; // DEPRECATED
}; };
// Manages access to a set of IME engines, implemented by the IME service // Manages access to a set of IME engines, implemented by the IME service
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment