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

Side by Side Diff: mojo/services/window_manager/window_manager_internal_service_impl.h

Issue 685013002: Refactors event dispatching of NativeViewport into its own interface (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: cleanup Created 6 years, 1 month 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef MOJO_SERVICES_WINDOW_MANAGER_WINDOW_MANAGER_INTERNAL_SERVICE_IMPL_H_
6 #define MOJO_SERVICES_WINDOW_MANAGER_WINDOW_MANAGER_INTERNAL_SERVICE_IMPL_H_
7
8 #include "base/basictypes.h"
9 #include "mojo/services/public/interfaces/window_manager/window_manager_internal .mojom.h"
10
11 namespace mojo {
12
13 class WindowManagerApp;
14
15 class WindowManagerInternalServiceImpl
16 : public InterfaceImpl<WindowManagerInternalService> {
17 public:
18 explicit WindowManagerInternalServiceImpl(WindowManagerApp* app);
19 virtual ~WindowManagerInternalServiceImpl();
20
21 private:
22 // WindowManagerInternalServiceImpl:
23 virtual void OnViewInputEvent(mojo::EventPtr event) override;
24
25 // InterfaceImpl:
26 virtual void OnConnectionEstablished() override;
27
28 WindowManagerApp* app_;
29
30 DISALLOW_COPY_AND_ASSIGN(WindowManagerInternalServiceImpl);
31 };
32
33 } // namespace mojo
34
35 #endif // MOJO_SERVICES_WINDOW_MANAGER_WINDOW_MANAGER_INTERNAL_SERVICE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698