Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(75)

Side by Side Diff: services/view_manager/test_server_view_delegate.cc

Issue 880743002: Plumb ViewportMetrics change notifications around the world and back. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Now without skydb changes Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698