| Index: mash/wm/window_manager_application.cc
|
| diff --git a/mash/wm/window_manager_application.cc b/mash/wm/window_manager_application.cc
|
| index 1e934c6699654233331f22d35dc5ddc2f27ed10b..1403f5a57a94037ea5bc1cbce5d23c8672796017 100644
|
| --- a/mash/wm/window_manager_application.cc
|
| +++ b/mash/wm/window_manager_application.cc
|
| @@ -4,6 +4,7 @@
|
|
|
| #include "mash/wm/window_manager_application.h"
|
|
|
| +#include "base/bind.h"
|
| #include "components/mus/common/util.h"
|
| #include "components/mus/public/cpp/event_matcher.h"
|
| #include "components/mus/public/cpp/window.h"
|
| @@ -23,6 +24,11 @@ namespace mash {
|
| namespace wm {
|
| namespace {
|
| const uint32_t kWindowSwitchCmd = 1;
|
| +
|
| +void AssertTrue(bool success) {
|
| + DCHECK(success);
|
| +}
|
| +
|
| } // namespace
|
|
|
| WindowManagerApplication::WindowManagerApplication()
|
| @@ -48,7 +54,8 @@ void WindowManagerApplication::AddAccelerators() {
|
| window_tree_host_->AddAccelerator(
|
| kWindowSwitchCmd,
|
| mus::CreateKeyMatcher(mus::mojom::KEYBOARD_CODE_TAB,
|
| - mus::mojom::EVENT_FLAGS_CONTROL_DOWN));
|
| + mus::mojom::EVENT_FLAGS_CONTROL_DOWN),
|
| + base::Bind(&AssertTrue));
|
| }
|
|
|
| void WindowManagerApplication::Initialize(mojo::ApplicationImpl* app) {
|
|
|