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

Unified Diff: mash/wm/accelerator_registrar_apptest.cc

Issue 1674903003: Extract shell methods from ApplicationImpl into a base class, and pass this to Initialize() instead. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mojom
Patch Set: . Created 4 years, 10 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 | « mash/wallpaper/wallpaper.cc ('k') | mash/wm/non_client_frame_controller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mash/wm/accelerator_registrar_apptest.cc
diff --git a/mash/wm/accelerator_registrar_apptest.cc b/mash/wm/accelerator_registrar_apptest.cc
index 6976fc23c0a9101217b9e7cf37d3afc21351386d..5cdc8b5311f37b4abd570f820e28ef6dc1865b77 100644
--- a/mash/wm/accelerator_registrar_apptest.cc
+++ b/mash/wm/accelerator_registrar_apptest.cc
@@ -11,7 +11,6 @@
#include "components/mus/public/cpp/window.h"
#include "components/mus/public/interfaces/accelerator_registrar.mojom.h"
#include "mojo/public/cpp/bindings/binding.h"
-#include "mojo/shell/public/cpp/application_impl.h"
#include "mojo/shell/public/cpp/application_test_base.h"
using mus::mojom::AcceleratorHandler;
@@ -73,7 +72,7 @@ class AcceleratorRegistrarTest : public mojo::test::ApplicationTestBase {
protected:
void ConnectToRegistrar(AcceleratorRegistrarPtr* registrar) {
- application_impl()->ConnectToService("mojo:desktop_wm", registrar);
+ shell()->ConnectToService("mojo:desktop_wm", registrar);
}
private:
« no previous file with comments | « mash/wallpaper/wallpaper.cc ('k') | mash/wm/non_client_frame_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698