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

Unified Diff: services/ui/input_manager/input_manager_app.h

Issue 2015363003: Yet more ApplicationDelegate -> ApplicationImplBase conversion. (Closed) Base URL: https://github.com/domokit/mojo.git@work797-x-work796_no_run_main_app
Patch Set: rebased again Created 4 years, 7 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 | « services/http_server/http_server_app.cc ('k') | services/ui/input_manager/input_manager_app.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/input_manager/input_manager_app.h
diff --git a/services/ui/input_manager/input_manager_app.h b/services/ui/input_manager/input_manager_app.h
index d0c13ac3f0922d9611202cd1671cbfbced6c8a3c..36eb65ec83a40995e20b33bc2cbf47c619128e80 100644
--- a/services/ui/input_manager/input_manager_app.h
+++ b/services/ui/input_manager/input_manager_app.h
@@ -5,29 +5,26 @@
#ifndef SERVICES_UI_INPUT_MANAGER_INPUT_MANAGER_APP_H_
#define SERVICES_UI_INPUT_MANAGER_INPUT_MANAGER_APP_H_
-#include <memory>
-
#include "base/macros.h"
#include "mojo/common/strong_binding_set.h"
#include "mojo/common/tracing_impl.h"
-#include "mojo/public/cpp/application/application_delegate.h"
+#include "mojo/public/cpp/application/application_impl_base.h"
#include "mojo/services/ui/views/interfaces/view_associates.mojom.h"
namespace input_manager {
// Input manager application entry point.
-class InputManagerApp : public mojo::ApplicationDelegate {
+class InputManagerApp : public mojo::ApplicationImplBase {
public:
InputManagerApp();
~InputManagerApp() override;
private:
- // |ApplicationDelegate|:
- void Initialize(mojo::ApplicationImpl* app_impl) override;
- bool ConfigureIncomingConnection(
+ // |ApplicationImplBase|:
+ void OnInitialize() override;
+ bool OnAcceptConnection(
mojo::ServiceProviderImpl* service_provider_impl) override;
- mojo::ApplicationImpl* app_impl_;
mojo::TracingImpl tracing_;
mojo::StrongBindingSet<mojo::ui::ViewAssociate> input_associates_;
« no previous file with comments | « services/http_server/http_server_app.cc ('k') | services/ui/input_manager/input_manager_app.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698