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

Side by Side Diff: mojo/services/view_manager/window_manager_client_impl.h

Issue 667223002: Mojo: More virtual/override style fixes in mojo/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
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 MOJO_SERVICES_VIEW_MANAGER_WINDOW_MANAGER_CLIENT_IMPL_H_ 5 #ifndef MOJO_SERVICES_VIEW_MANAGER_WINDOW_MANAGER_CLIENT_IMPL_H_
6 #define MOJO_SERVICES_VIEW_MANAGER_WINDOW_MANAGER_CLIENT_IMPL_H_ 6 #define MOJO_SERVICES_VIEW_MANAGER_WINDOW_MANAGER_CLIENT_IMPL_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 12 matching lines...) Expand all
23 // Equivalent of NON_EXPORTED_BASE which does not work with the template snafu 23 // Equivalent of NON_EXPORTED_BASE which does not work with the template snafu
24 // below. 24 // below.
25 #pragma warning(push) 25 #pragma warning(push)
26 #pragma warning(disable : 4275) 26 #pragma warning(disable : 4275)
27 #endif 27 #endif
28 28
29 class MOJO_VIEW_MANAGER_EXPORT WindowManagerClientImpl 29 class MOJO_VIEW_MANAGER_EXPORT WindowManagerClientImpl
30 : public InterfaceImpl<WindowManagerClient> { 30 : public InterfaceImpl<WindowManagerClient> {
31 public: 31 public:
32 explicit WindowManagerClientImpl(ConnectionManager* connection_manager); 32 explicit WindowManagerClientImpl(ConnectionManager* connection_manager);
33 virtual ~WindowManagerClientImpl(); 33 ~WindowManagerClientImpl() override;
34 34
35 // WindowManagerClient: 35 // WindowManagerClient:
36 virtual void DispatchInputEventToView(Id transport_view_id, 36 void DispatchInputEventToView(Id transport_view_id, EventPtr event) override;
37 EventPtr event) override;
38 37
39 // InterfaceImp overrides: 38 // InterfaceImp overrides:
40 virtual void OnConnectionError() override; 39 void OnConnectionError() override;
41 40
42 private: 41 private:
43 ConnectionManager* connection_manager_; 42 ConnectionManager* connection_manager_;
44 43
45 DISALLOW_COPY_AND_ASSIGN(WindowManagerClientImpl); 44 DISALLOW_COPY_AND_ASSIGN(WindowManagerClientImpl);
46 }; 45 };
47 46
48 #if defined(OS_WIN) 47 #if defined(OS_WIN)
49 #pragma warning(pop) 48 #pragma warning(pop)
50 #endif 49 #endif
51 50
52 } // namespace service 51 } // namespace service
53 } // namespace mojo 52 } // namespace mojo
54 53
55 #endif // MOJO_SERVICES_VIEW_MANAGER_WINDOW_MANAGER_CLIENT_IMPL_H_ 54 #endif // MOJO_SERVICES_VIEW_MANAGER_WINDOW_MANAGER_CLIENT_IMPL_H_
OLDNEW
« no previous file with comments | « mojo/services/view_manager/window_manager_access_policy.h ('k') | mojo/services/window_manager/main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698