Commit 87a7d8be authored by Scott Violet's avatar Scott Violet Committed by Commit Bot

chromeos: remove dead code in ash_util

ShouldOpenAshOnStartup() is no longer called.

BUG=none
TEST=none

Change-Id: I489e5376be048c8078f4c4659f336bbb82b85f57
Reviewed-on: https://chromium-review.googlesource.com/1163825Reviewed-by: default avatarXiyuan Xia <xiyuan@chromium.org>
Commit-Queue: Scott Violet <sky@chromium.org>
Cr-Commit-Position: refs/heads/master@{#580928}
parent 7e856540
......@@ -21,10 +21,6 @@
namespace ash_util {
bool ShouldOpenAshOnStartup() {
return features::IsAshInBrowserProcess();
}
bool IsAcceleratorDeprecated(const ui::Accelerator& accelerator) {
// When running in mash the browser doesn't handle ash accelerators.
if (!features::IsAshInBrowserProcess())
......
......@@ -20,9 +20,6 @@ class KeyEvent;
namespace ash_util {
// Returns true if Ash should be run at startup.
bool ShouldOpenAshOnStartup();
// Returns true if the given |accelerator| has been deprecated and hence can
// be consumed by web contents if needed.
bool IsAcceleratorDeprecated(const ui::Accelerator& accelerator);
......
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