| 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 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 170 virtual void SetViewBounds(Id view_id, | 170 virtual void SetViewBounds(Id view_id, |
| 171 RectPtr bounds, | 171 RectPtr bounds, |
| 172 const Callback<void(bool)>& callback) override; | 172 const Callback<void(bool)>& callback) override; |
| 173 virtual void SetViewVisibility(Id view_id, | 173 virtual void SetViewVisibility(Id view_id, |
| 174 bool visible, | 174 bool visible, |
| 175 const Callback<void(bool)>& callback) override; | 175 const Callback<void(bool)>& callback) override; |
| 176 virtual void Embed(const String& url, | 176 virtual void Embed(const String& url, |
| 177 Id view_id, | 177 Id view_id, |
| 178 ServiceProviderPtr service_provider, | 178 ServiceProviderPtr service_provider, |
| 179 const Callback<void(bool)>& callback) override; | 179 const Callback<void(bool)>& callback) override; |
| 180 virtual void DispatchOnViewInputEvent(Id view_id, EventPtr event) override; | |
| 181 | 180 |
| 182 // InterfaceImpl: | 181 // InterfaceImpl: |
| 183 virtual void OnConnectionEstablished() override; | 182 virtual void OnConnectionEstablished() override; |
| 184 | 183 |
| 185 // AccessPolicyDelegate: | 184 // AccessPolicyDelegate: |
| 186 virtual const base::hash_set<Id>& GetRootsForAccessPolicy() const override; | 185 virtual const base::hash_set<Id>& GetRootsForAccessPolicy() const override; |
| 187 virtual bool IsViewKnownForAccessPolicy( | 186 virtual bool IsViewKnownForAccessPolicy( |
| 188 const ServerView* view) const override; | 187 const ServerView* view) const override; |
| 189 virtual bool IsViewRootOfAnotherConnectionForAccessPolicy( | 188 virtual bool IsViewRootOfAnotherConnectionForAccessPolicy( |
| 190 const ServerView* view) const override; | 189 const ServerView* view) const override; |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 230 }; | 229 }; |
| 231 | 230 |
| 232 #if defined(OS_WIN) | 231 #if defined(OS_WIN) |
| 233 #pragma warning(pop) | 232 #pragma warning(pop) |
| 234 #endif | 233 #endif |
| 235 | 234 |
| 236 } // namespace service | 235 } // namespace service |
| 237 } // namespace mojo | 236 } // namespace mojo |
| 238 | 237 |
| 239 #endif // MOJO_SERVICES_VIEW_MANAGER_VIEW_MANAGER_SERVICE_IMPL_H_ | 238 #endif // MOJO_SERVICES_VIEW_MANAGER_VIEW_MANAGER_SERVICE_IMPL_H_ |
| OLD | NEW |