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 #include "services/view_manager/test_server_view_delegate.h" | 5 #include "services/view_manager/test_server_view_delegate.h" |
6 | 6 |
7 namespace view_manager { | 7 namespace view_manager { |
8 | 8 |
9 TestServerViewDelegate::TestServerViewDelegate() { | 9 TestServerViewDelegate::TestServerViewDelegate() { |
10 } | 10 } |
(...skipping 16 matching lines...) Expand all Loading... |
27 const ServerView* view, | 27 const ServerView* view, |
28 const ServerView* new_parent, | 28 const ServerView* new_parent, |
29 const ServerView* old_parent) { | 29 const ServerView* old_parent) { |
30 } | 30 } |
31 | 31 |
32 void TestServerViewDelegate::OnViewBoundsChanged(const ServerView* view, | 32 void TestServerViewDelegate::OnViewBoundsChanged(const ServerView* view, |
33 const gfx::Rect& old_bounds, | 33 const gfx::Rect& old_bounds, |
34 const gfx::Rect& new_bounds) { | 34 const gfx::Rect& new_bounds) { |
35 } | 35 } |
36 | 36 |
| 37 void TestServerViewDelegate::OnViewViewportMetricsChanged( |
| 38 const ServerView* view, |
| 39 const mojo::ViewportMetrics& old_metrics, |
| 40 const mojo::ViewportMetrics& new_metrics) { |
| 41 } |
| 42 |
37 void TestServerViewDelegate::OnViewSurfaceIdChanged(const ServerView* view) { | 43 void TestServerViewDelegate::OnViewSurfaceIdChanged(const ServerView* view) { |
38 } | 44 } |
39 | 45 |
40 void TestServerViewDelegate::OnViewReordered(const ServerView* view, | 46 void TestServerViewDelegate::OnViewReordered(const ServerView* view, |
41 const ServerView* relative, | 47 const ServerView* relative, |
42 mojo::OrderDirection direction) { | 48 mojo::OrderDirection direction) { |
43 } | 49 } |
44 | 50 |
45 void TestServerViewDelegate::OnWillChangeViewVisibility(ServerView* view) { | 51 void TestServerViewDelegate::OnWillChangeViewVisibility(ServerView* view) { |
46 } | 52 } |
47 | 53 |
48 void TestServerViewDelegate::OnViewSharedPropertyChanged( | 54 void TestServerViewDelegate::OnViewSharedPropertyChanged( |
49 const ServerView* view, | 55 const ServerView* view, |
50 const std::string& name, | 56 const std::string& name, |
51 const std::vector<uint8_t>* new_data) { | 57 const std::vector<uint8_t>* new_data) { |
52 } | 58 } |
53 | 59 |
54 void TestServerViewDelegate::OnScheduleViewPaint(const ServerView* view) { | 60 void TestServerViewDelegate::OnScheduleViewPaint(const ServerView* view) { |
55 } | 61 } |
56 | 62 |
57 } // namespace view_manager | 63 } // namespace view_manager |
OLD | NEW |