keyboard_util: Remove flag/switch wrappers
This CL moves some common flag/switch wrappers into the callers to remove unnecessary dependencies on keyboard_util.h. With the upcoming Chrome/Ash separation, the wrappers cause more confusion than they improve readability. This CL also moves some keyboard_util.cc code only used in KeyboardController to that class. Bug: 843332 Change-Id: I042928bebfe4f9ea93ccb4fb7a24f8fc46f555cf Reviewed-on: https://chromium-review.googlesource.com/1226191 Commit-Queue: Steven Bennetts <stevenjb@chromium.org> Reviewed-by:Darren Shen <shend@chromium.org> Reviewed-by:
Shu Chen <shuchen@chromium.org> Cr-Commit-Position: refs/heads/master@{#592545}
Showing
Please register or sign in to comment