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

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

Issue 636363002: Splits window manager like methods into ViewManagerServiceDelegate (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: minor cleanup Created 6 years, 2 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 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_VIEW_MANAGER_SERVICE_DELEGATE_IMPL_H_
6 #define MOJO_SERVICES_WINDOW_MANAGER_VIEW_MANAGER_SERVICE_DELEGATE_IMPL_H_
7
8 #include "base/basictypes.h"
9 #include "mojo/services/public/interfaces/view_manager/view_manager_service_dele gate.mojom.h"
10
11 namespace mojo {
12
13 class WindowManagerApp;
14
15 class ViewManagerServiceDelegateImpl
16 : public InterfaceImpl<ViewManagerServiceDelegate> {
17 public:
18 explicit ViewManagerServiceDelegateImpl(WindowManagerApp* app);
19 virtual ~ViewManagerServiceDelegateImpl();
20
21 private:
22 // ViewManagerServiceDelegateImpl:
23 virtual void Embed(
24 const String& url,
25 InterfaceRequest<ServiceProvider> service_provider) override;
26 virtual void OnViewInputEvent(mojo::EventPtr event) override;
27
28 // InterfaceImpl:
29 virtual void OnConnectionEstablished() override;
30
31 WindowManagerApp* app_;
32
33 DISALLOW_COPY_AND_ASSIGN(ViewManagerServiceDelegateImpl);
34 };
35
36 } // namespace mojo
37
38 #endif // MOJO_SERVICES_WINDOW_MANAGER_VIEW_MANAGER_SERVICE_DELEGATE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698