Reland "Make Interaction Media Features MQ dynamic on Android"
This is a reland of 1bdb8833 without changes. Original CL was reverted due to a bug in how chromium generates JNI bindings with native functions. It is fixed by https://codereview.chromium.org/2966163006/. Original change's description: > Make Interaction Media Features MQ dynamic on Android > > With detachable form factors such as Asus Transformer > it is important to make sure the interaction media > features are updated whenever the keyboard/trackpad combo is > detached. This will allow content author to react to > media query changes to adapt the user interface to > better suit the new interaction method (often touch vs > trackpad). The patch also handles any input changes e.g. > USB connected mouse. > > The patch uses the facility landed in previous OSes and > add a bit of Java code to listen the changes of inputs > through the InputDeviceListener mechanism. > > BUG=442418 > > Change-Id: I5c18ce4df8e6da927eede5a24f40aac10ecf1974 > Reviewed-on: https://chromium-review.googlesource.com/553457 > Reviewed-by: Sadrul Chowdhury <sadrul@chromium.org> > Reviewed-by: Andrew Grieve <agrieve@chromium.org> > Reviewed-by: Bo Liu <boliu@chromium.org> > Commit-Queue: Alexis Menard <alexis.menard@intel.com> > Cr-Commit-Position: refs/heads/master@{#484641} TBR=agrieve@chromium.org, alexis.menard@intel.com, boliu@chromium.org, sadrul@chromium.org Bug: 442418 Change-Id: I5dca047c566625fa2f976d3311899f9a3a23f44e Reviewed-on: https://chromium-review.googlesource.com/563478Reviewed-by:Alexis Menard <alexis.menard@intel.com> Commit-Queue: Alexis Menard <alexis.menard@intel.com> Cr-Commit-Position: refs/heads/master@{#484981}
Showing
ui/events/devices/DEPS
0 → 100644
Please register or sign in to comment