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

Side by Side Diff: services/ui/public/cpp/window_tree_client_delegate.h

Issue 2537343006: services: Cleanup class/struct fwd declarations (Closed)
Patch Set: Rebase on top of master #2 Created 4 years 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
« no previous file with comments | « services/ui/public/cpp/window_compositor_frame_sink.h ('k') | services/ui/service.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef SERVICES_UI_PUBLIC_CPP_WINDOW_TREE_CLIENT_DELEGATE_H_ 5 #ifndef SERVICES_UI_PUBLIC_CPP_WINDOW_TREE_CLIENT_DELEGATE_H_
6 #define SERVICES_UI_PUBLIC_CPP_WINDOW_TREE_CLIENT_DELEGATE_H_ 6 #define SERVICES_UI_PUBLIC_CPP_WINDOW_TREE_CLIENT_DELEGATE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "services/service_manager/public/interfaces/interface_provider.mojom.h" 10 #include "services/service_manager/public/interfaces/interface_provider.mojom.h"
11 #include "services/ui/public/interfaces/window_tree.mojom.h" 11 #include "services/ui/public/interfaces/window_tree.mojom.h"
12 12
13 namespace ui { 13 namespace ui {
14 class Event;
15 }
16
17 namespace ui {
18 14
19 class Window; 15 class Window;
20 class WindowTreeClient; 16 class WindowTreeClient;
21 17
22 // Interface implemented by an application using mus. 18 // Interface implemented by an application using mus.
23 class WindowTreeClientDelegate { 19 class WindowTreeClientDelegate {
24 public: 20 public:
25 // Called when the application implementing this interface is embedded at 21 // Called when the application implementing this interface is embedded at
26 // |root|. 22 // |root|.
27 // NOTE: this is only invoked if the WindowTreeClient is created with an 23 // NOTE: this is only invoked if the WindowTreeClient is created with an
(...skipping 24 matching lines...) Expand all
52 virtual void OnPointerEventObserved(const ui::PointerEvent& event, 48 virtual void OnPointerEventObserved(const ui::PointerEvent& event,
53 Window* target) = 0; 49 Window* target) = 0;
54 50
55 protected: 51 protected:
56 virtual ~WindowTreeClientDelegate() {} 52 virtual ~WindowTreeClientDelegate() {}
57 }; 53 };
58 54
59 } // namespace ui 55 } // namespace ui
60 56
61 #endif // SERVICES_UI_PUBLIC_CPP_WINDOW_TREE_CLIENT_DELEGATE_H_ 57 #endif // SERVICES_UI_PUBLIC_CPP_WINDOW_TREE_CLIENT_DELEGATE_H_
OLDNEW
« no previous file with comments | « services/ui/public/cpp/window_compositor_frame_sink.h ('k') | services/ui/service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698