| 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/view_manager/public/interfaces/view_manager_constants.mo
jom.h" | 8 #include "mojo/services/view_manager/interfaces/view_manager_constants.mojom.h" |
| 9 | 9 |
| 10 namespace gfx { | 10 namespace gfx { |
| 11 class Rect; | 11 class Rect; |
| 12 } | 12 } |
| 13 | 13 |
| 14 namespace mojo { | 14 namespace mojo { |
| 15 class ViewportMetrics; | 15 class ViewportMetrics; |
| 16 } | 16 } |
| 17 | 17 |
| 18 namespace view_manager { | 18 namespace view_manager { |
| (...skipping 20 matching lines...) Expand all Loading... |
| 39 | 39 |
| 40 virtual void OnScheduleViewPaint(const ServerView* view) = 0; | 40 virtual void OnScheduleViewPaint(const ServerView* view) = 0; |
| 41 | 41 |
| 42 protected: | 42 protected: |
| 43 virtual ~ServerViewDelegate() {} | 43 virtual ~ServerViewDelegate() {} |
| 44 }; | 44 }; |
| 45 | 45 |
| 46 } // namespace view_manager | 46 } // namespace view_manager |
| 47 | 47 |
| 48 #endif // SERVICES_VIEW_MANAGER_SERVER_VIEW_DELEGATE_H_ | 48 #endif // SERVICES_VIEW_MANAGER_SERVER_VIEW_DELEGATE_H_ |
| OLD | NEW |