Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(138)

Unified Diff: ash/mus/bridge/wm_shell_mus_test_api.h

Issue 2203003003: Get AcceleratorControllerTest working with mash (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: feedback Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/mus/bridge/wm_shell_mus.h ('k') | ash/mus/bridge/wm_window_mus.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/mus/bridge/wm_shell_mus_test_api.h
diff --git a/ash/mus/bridge/wm_shell_mus_test_api.h b/ash/mus/bridge/wm_shell_mus_test_api.h
new file mode 100644
index 0000000000000000000000000000000000000000..df73a718a7fa8e93d2c5b496278617c173c87d4f
--- /dev/null
+++ b/ash/mus/bridge/wm_shell_mus_test_api.h
@@ -0,0 +1,30 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef ASH_MUS_BRIDGE_WM_SHELL_MUS_TEST_API_H_
+#define ASH_MUS_BRIDGE_WM_SHELL_MUS_TEST_API_H_
+
+#include "ash/mus/bridge/wm_shell_mus.h"
+
+namespace ash {
+namespace mus {
+
+// Use to get at internal state of WmShellMus.
+class WmShellMusTestApi {
+ public:
+ WmShellMusTestApi() {}
+ ~WmShellMusTestApi() {}
+
+ AcceleratorControllerRegistrar* accelerator_controller_registrar() {
+ return WmShellMus::Get()->accelerator_controller_registrar_.get();
+ }
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(WmShellMusTestApi);
+};
+
+} // namespace mus
+} // namespace ash
+
+#endif // ASH_MUS_BRIDGE_WM_SHELL_MUS_TEST_API_H_
« no previous file with comments | « ash/mus/bridge/wm_shell_mus.h ('k') | ash/mus/bridge/wm_window_mus.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698