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_SERVER_VIEW_DELEGATE_H_ | 5 #ifndef MOJO_SERVICES_VIEW_MANAGER_SERVER_VIEW_DELEGATE_H_ |
6 #define MOJO_SERVICES_VIEW_MANAGER_SERVER_VIEW_DELEGATE_H_ | 6 #define MOJO_SERVICES_VIEW_MANAGER_SERVER_VIEW_DELEGATE_H_ |
7 | 7 |
8 namespace gfx { | 8 namespace gfx { |
9 class Rect; | 9 class Rect; |
10 } | 10 } |
(...skipping 22 matching lines...) Expand all Loading... |
33 const gfx::Rect& new_bounds) = 0; | 33 const gfx::Rect& new_bounds) = 0; |
34 | 34 |
35 virtual void OnViewSurfaceIdChanged(const ServerView* view) = 0; | 35 virtual void OnViewSurfaceIdChanged(const ServerView* view) = 0; |
36 | 36 |
37 virtual void OnViewReordered(const ServerView* view, | 37 virtual void OnViewReordered(const ServerView* view, |
38 const ServerView* relative, | 38 const ServerView* relative, |
39 OrderDirection direction) = 0; | 39 OrderDirection direction) = 0; |
40 | 40 |
41 virtual void OnWillChangeViewVisibility(const ServerView* view) = 0; | 41 virtual void OnWillChangeViewVisibility(const ServerView* view) = 0; |
42 | 42 |
43 virtual void OnViewPropertyChanged(const ServerView* view, | 43 virtual void OnViewSharedPropertyChanged( |
44 const std::string& name, | 44 const ServerView* view, |
45 const std::vector<uint8_t>* new_data) = 0; | 45 const std::string& name, |
| 46 const std::vector<uint8_t>* new_data) = 0; |
46 | 47 |
47 protected: | 48 protected: |
48 virtual ~ServerViewDelegate() {} | 49 virtual ~ServerViewDelegate() {} |
49 }; | 50 }; |
50 | 51 |
51 } // namespace service | 52 } // namespace service |
52 } // namespace mojo | 53 } // namespace mojo |
53 | 54 |
54 #endif // MOJO_SERVICES_VIEW_MANAGER_SERVER_VIEW_DELEGATE_H_ | 55 #endif // MOJO_SERVICES_VIEW_MANAGER_SERVER_VIEW_DELEGATE_H_ |
OLD | NEW |