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

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

Issue 2808723004: Renames WmShell to ShellPort (Closed)
Patch Set: feedback Created 3 years, 8 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
Index: ash/mus/bridge/shell_port_mash_test_api.h
diff --git a/ash/mus/bridge/shell_port_mash_test_api.h b/ash/mus/bridge/shell_port_mash_test_api.h
new file mode 100644
index 0000000000000000000000000000000000000000..7ab640eb343ebba0e170323550bb2fcfbb85db5c
--- /dev/null
+++ b/ash/mus/bridge/shell_port_mash_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_SHELL_PORT_MASH_TEST_API_H_
+#define ASH_MUS_BRIDGE_SHELL_PORT_MASH_TEST_API_H_
+
+#include "ash/mus/bridge/shell_port_mash.h"
+
+namespace ash {
+namespace mus {
+
+// Use to get at internal state of ShellPortMash.
+class ShellPortMashTestApi {
+ public:
+ ShellPortMashTestApi() {}
+ ~ShellPortMashTestApi() {}
+
+ AcceleratorControllerRegistrar* accelerator_controller_registrar() {
+ return ShellPortMash::Get()->accelerator_controller_registrar_.get();
+ }
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(ShellPortMashTestApi);
+};
+
+} // namespace mus
+} // namespace ash
+
+#endif // ASH_MUS_BRIDGE_SHELL_PORT_MASH_TEST_API_H_

Powered by Google App Engine
This is Rietveld 408576698