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

Side by Side Diff: mojo/services/view_manager/public/cpp/lib/view_manager_client_impl.h

Issue 954273002: Routes WindowManager functionality through the view manager (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: comments Created 5 years, 10 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_PUBLIC_CPP_LIB_VIEW_MANAGER_CLIENT_IMPL_H_ 5 #ifndef MOJO_SERVICES_VIEW_MANAGER_PUBLIC_CPP_LIB_VIEW_MANAGER_CLIENT_IMPL_H_
6 #define MOJO_SERVICES_VIEW_MANAGER_PUBLIC_CPP_LIB_VIEW_MANAGER_CLIENT_IMPL_H_ 6 #define MOJO_SERVICES_VIEW_MANAGER_PUBLIC_CPP_LIB_VIEW_MANAGER_CLIENT_IMPL_H_
7 7
8 #include "mojo/public/cpp/bindings/strong_binding.h" 8 #include "mojo/public/cpp/bindings/strong_binding.h"
9 #include "view_manager/public/cpp/types.h" 9 #include "view_manager/public/cpp/types.h"
10 #include "view_manager/public/cpp/view.h" 10 #include "view_manager/public/cpp/view.h"
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 OrderDirection direction) override; 112 OrderDirection direction) override;
113 void OnViewDeleted(Id view_id) override; 113 void OnViewDeleted(Id view_id) override;
114 void OnViewVisibilityChanged(Id view_id, bool visible) override; 114 void OnViewVisibilityChanged(Id view_id, bool visible) override;
115 void OnViewDrawnStateChanged(Id view_id, bool drawn) override; 115 void OnViewDrawnStateChanged(Id view_id, bool drawn) override;
116 void OnViewSharedPropertyChanged(Id view_id, 116 void OnViewSharedPropertyChanged(Id view_id,
117 const String& name, 117 const String& name,
118 Array<uint8_t> new_data) override; 118 Array<uint8_t> new_data) override;
119 void OnViewInputEvent(Id view_id, 119 void OnViewInputEvent(Id view_id,
120 EventPtr event, 120 EventPtr event,
121 const Callback<void()>& callback) override; 121 const Callback<void()>& callback) override;
122 void OnPerformAction(Id view_id,
123 const String& name,
124 const Callback<void(bool)>& callback) override;
122 125
123 // Overridden from WindowManagerObserver: 126 // Overridden from WindowManagerObserver:
124 void OnCaptureChanged(Id capture_view_id) override; 127 void OnCaptureChanged(Id capture_view_id) override;
125 void OnFocusChanged(Id focused_view_id) override; 128 void OnFocusChanged(Id focused_view_id) override;
126 void OnActiveWindowChanged(Id focused_view_id) override; 129 void OnActiveWindowChanged(Id focused_view_id) override;
127 130
128 // ErrorHandler implementation. 131 // ErrorHandler implementation.
129 void OnConnectionError() override; 132 void OnConnectionError() override;
130 133
131 void RootDestroyed(View* root); 134 void RootDestroyed(View* root);
(...skipping 25 matching lines...) Expand all
157 Binding<ViewManagerClient> binding_; 160 Binding<ViewManagerClient> binding_;
158 ViewManagerServicePtr service_; 161 ViewManagerServicePtr service_;
159 const bool delete_on_error_; 162 const bool delete_on_error_;
160 163
161 MOJO_DISALLOW_COPY_AND_ASSIGN(ViewManagerClientImpl); 164 MOJO_DISALLOW_COPY_AND_ASSIGN(ViewManagerClientImpl);
162 }; 165 };
163 166
164 } // namespace mojo 167 } // namespace mojo
165 168
166 #endif // MOJO_SERVICES_VIEW_MANAGER_PUBLIC_CPP_LIB_VIEW_MANAGER_CLIENT_IMPL_H_ 169 #endif // MOJO_SERVICES_VIEW_MANAGER_PUBLIC_CPP_LIB_VIEW_MANAGER_CLIENT_IMPL_H_
OLDNEW
« no previous file with comments | « mojo/services/view_manager/public/cpp/BUILD.gn ('k') | mojo/services/view_manager/public/cpp/lib/view_manager_client_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698