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

Unified Diff: mash/wm/window_manager_application.h

Issue 1675083002: Rename ApplicationDelegate to ShellClient (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@delegate
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/window_manager_application.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mash/wm/window_manager_application.h
diff --git a/mash/wm/window_manager_application.h b/mash/wm/window_manager_application.h
index 19c7d33fa690c7bf2eb9d12633fa4f109703bfbd..f5ef9e1c6d19a719c3998f393b86809cfde66595 100644
--- a/mash/wm/window_manager_application.h
+++ b/mash/wm/window_manager_application.h
@@ -21,7 +21,7 @@
#include "mojo/common/weak_binding_set.h"
#include "mojo/public/cpp/bindings/binding.h"
#include "mojo/services/tracing/public/cpp/tracing_impl.h"
-#include "mojo/shell/public/cpp/application_delegate.h"
+#include "mojo/shell/public/cpp/shell_client.h"
namespace ui {
namespace mojo {
@@ -42,7 +42,7 @@ class RootWindowsObserver;
class UserWindowControllerImpl;
class WindowManagerApplication
- : public mojo::ApplicationDelegate,
+ : public mojo::ShellClient,
public mus::mojom::WindowManagerFactory,
public mojo::InterfaceFactory<mash::wm::mojom::UserWindowController>,
public mojo::InterfaceFactory<mus::mojom::AcceleratorRegistrar> {
@@ -77,19 +77,18 @@ class WindowManagerApplication
private:
void OnAcceleratorRegistrarDestroyed(AcceleratorRegistrarImpl* registrar);
- // ApplicationDelegate:
+ // mojo::ShellClient:
void Initialize(mojo::Shell* shell, const std::string& url,
uint32_t id) override;
- bool AcceptConnection(
- mojo::ApplicationConnection* connection) override;
+ bool AcceptConnection(mojo::Connection* connection) override;
// InterfaceFactory<mash::wm::mojom::UserWindowController>:
- void Create(mojo::ApplicationConnection* connection,
+ void Create(mojo::Connection* connection,
mojo::InterfaceRequest<mash::wm::mojom::UserWindowController>
request) override;
// InterfaceFactory<mus::mojom::AcceleratorRegistrar>:
- void Create(mojo::ApplicationConnection* connection,
+ void Create(mojo::Connection* connection,
mojo::InterfaceRequest<mus::mojom::AcceleratorRegistrar> request)
override;
« no previous file with comments | « mash/wallpaper/wallpaper.cc ('k') | mash/wm/window_manager_application.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698