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 SERVICES_VIEW_MANAGER_SERVER_VIEW_DELEGATE_H_ | 5 #ifndef SERVICES_VIEW_MANAGER_SERVER_VIEW_DELEGATE_H_ |
6 #define SERVICES_VIEW_MANAGER_SERVER_VIEW_DELEGATE_H_ | 6 #define SERVICES_VIEW_MANAGER_SERVER_VIEW_DELEGATE_H_ |
7 | 7 |
| 8 #include "mojo/services/public/interfaces/view_manager/view_manager_constants.mo
jom.h" |
| 9 |
8 namespace gfx { | 10 namespace gfx { |
9 class Rect; | 11 class Rect; |
10 } | 12 } |
11 | 13 |
12 namespace mojo { | 14 namespace mojo { |
13 namespace service { | 15 namespace service { |
14 | 16 |
15 class ServerView; | 17 class ServerView; |
16 | 18 |
17 class ServerViewDelegate { | 19 class ServerViewDelegate { |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 virtual void OnScheduleViewPaint(const ServerView* view) = 0; | 54 virtual void OnScheduleViewPaint(const ServerView* view) = 0; |
53 | 55 |
54 protected: | 56 protected: |
55 virtual ~ServerViewDelegate() {} | 57 virtual ~ServerViewDelegate() {} |
56 }; | 58 }; |
57 | 59 |
58 } // namespace service | 60 } // namespace service |
59 } // namespace mojo | 61 } // namespace mojo |
60 | 62 |
61 #endif // SERVICES_VIEW_MANAGER_SERVER_VIEW_DELEGATE_H_ | 63 #endif // SERVICES_VIEW_MANAGER_SERVER_VIEW_DELEGATE_H_ |
OLD | NEW |