OLD | NEW |
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_VIEW_MANAGER_SERVICE_IMPL_H_ | 5 #ifndef MOJO_SERVICES_VIEW_MANAGER_VIEW_MANAGER_SERVICE_IMPL_H_ |
6 #define MOJO_SERVICES_VIEW_MANAGER_VIEW_MANAGER_SERVICE_IMPL_H_ | 6 #define MOJO_SERVICES_VIEW_MANAGER_VIEW_MANAGER_SERVICE_IMPL_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
198 uint32_t buffer_size, | 198 uint32_t buffer_size, |
199 const Callback<void(bool)>& callback) OVERRIDE; | 199 const Callback<void(bool)>& callback) OVERRIDE; |
200 virtual void SetFocus(Id node_id, | 200 virtual void SetFocus(Id node_id, |
201 const Callback<void(bool)> & callback) OVERRIDE; | 201 const Callback<void(bool)> & callback) OVERRIDE; |
202 virtual void SetNodeBounds(Id node_id, | 202 virtual void SetNodeBounds(Id node_id, |
203 RectPtr bounds, | 203 RectPtr bounds, |
204 const Callback<void(bool)>& callback) OVERRIDE; | 204 const Callback<void(bool)>& callback) OVERRIDE; |
205 virtual void SetNodeVisibility(Id transport_node_id, | 205 virtual void SetNodeVisibility(Id transport_node_id, |
206 bool visible, | 206 bool visible, |
207 const Callback<void(bool)>& callback) OVERRIDE; | 207 const Callback<void(bool)>& callback) OVERRIDE; |
208 virtual void Embed(const mojo::String& url, | 208 virtual void Embed(const String& url, |
209 Id transport_node_id, | 209 Id transport_node_id, |
210 const mojo::Callback<void(bool)>& callback) OVERRIDE; | 210 const Callback<void(bool)>& callback) OVERRIDE; |
211 virtual void DispatchOnViewInputEvent(Id transport_view_id, | 211 virtual void DispatchOnViewInputEvent(Id transport_view_id, |
212 EventPtr event) OVERRIDE; | 212 EventPtr event) OVERRIDE; |
213 | 213 |
214 // InterfaceImp overrides: | 214 // InterfaceImp overrides: |
215 virtual void OnConnectionEstablished() MOJO_OVERRIDE; | 215 virtual void OnConnectionEstablished() MOJO_OVERRIDE; |
216 | 216 |
217 RootNodeManager* root_node_manager_; | 217 RootNodeManager* root_node_manager_; |
218 | 218 |
219 // Id of this connection as assigned by RootNodeManager. | 219 // Id of this connection as assigned by RootNodeManager. |
220 const ConnectionSpecificId id_; | 220 const ConnectionSpecificId id_; |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
253 | 253 |
254 #if defined(OS_WIN) | 254 #if defined(OS_WIN) |
255 #pragma warning(pop) | 255 #pragma warning(pop) |
256 #endif | 256 #endif |
257 | 257 |
258 } // namespace service | 258 } // namespace service |
259 } // namespace view_manager | 259 } // namespace view_manager |
260 } // namespace mojo | 260 } // namespace mojo |
261 | 261 |
262 #endif // MOJO_SERVICES_VIEW_MANAGER_VIEW_MANAGER_SERVICE_IMPL_H_ | 262 #endif // MOJO_SERVICES_VIEW_MANAGER_VIEW_MANAGER_SERVICE_IMPL_H_ |
OLD | NEW |