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

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

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 #ifndef SERVICES_VIEW_MANAGER_TEST_SERVER_VIEW_DELEGATE_H_ 5 #ifndef SERVICES_VIEW_MANAGER_TEST_SERVER_VIEW_DELEGATE_H_
6 #define SERVICES_VIEW_MANAGER_TEST_SERVER_VIEW_DELEGATE_H_ 6 #define SERVICES_VIEW_MANAGER_TEST_SERVER_VIEW_DELEGATE_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "services/view_manager/server_view_delegate.h" 9 #include "services/view_manager/server_view_delegate.h"
10 10
(...skipping 10 matching lines...) Expand all
21 void OnViewDestroyed(const ServerView* view) override; 21 void OnViewDestroyed(const ServerView* view) override;
22 void OnWillChangeViewHierarchy(ServerView* view, 22 void OnWillChangeViewHierarchy(ServerView* view,
23 ServerView* new_parent, 23 ServerView* new_parent,
24 ServerView* old_parent) override; 24 ServerView* old_parent) override;
25 void OnViewHierarchyChanged(const ServerView* view, 25 void OnViewHierarchyChanged(const ServerView* view,
26 const ServerView* new_parent, 26 const ServerView* new_parent,
27 const ServerView* old_parent) override; 27 const ServerView* old_parent) override;
28 void OnViewBoundsChanged(const ServerView* view, 28 void OnViewBoundsChanged(const ServerView* view,
29 const gfx::Rect& old_bounds, 29 const gfx::Rect& old_bounds,
30 const gfx::Rect& new_bounds) override; 30 const gfx::Rect& new_bounds) override;
31 void OnViewViewportMetricsChanged(
32 const ServerView* view,
33 const mojo::ViewportMetrics& old_metrics,
34 const mojo::ViewportMetrics& new_metrics) override;
31 void OnViewSurfaceIdChanged(const ServerView* view) override; 35 void OnViewSurfaceIdChanged(const ServerView* view) override;
32 void OnViewReordered(const ServerView* view, 36 void OnViewReordered(const ServerView* view,
33 const ServerView* relative, 37 const ServerView* relative,
34 mojo::OrderDirection direction) override; 38 mojo::OrderDirection direction) override;
35 void OnWillChangeViewVisibility(ServerView* view) override; 39 void OnWillChangeViewVisibility(ServerView* view) override;
36 void OnViewSharedPropertyChanged( 40 void OnViewSharedPropertyChanged(
37 const ServerView* view, 41 const ServerView* view,
38 const std::string& name, 42 const std::string& name,
39 const std::vector<uint8_t>* new_data) override; 43 const std::vector<uint8_t>* new_data) override;
40 void OnScheduleViewPaint(const ServerView* view) override; 44 void OnScheduleViewPaint(const ServerView* view) override;
41 45
42 DISALLOW_COPY_AND_ASSIGN(TestServerViewDelegate); 46 DISALLOW_COPY_AND_ASSIGN(TestServerViewDelegate);
43 }; 47 };
44 48
45 } // namespace view_manager 49 } // namespace view_manager
46 50
47 #endif // SERVICES_VIEW_MANAGER_TEST_SERVER_VIEW_DELEGATE_H_ 51 #endif // SERVICES_VIEW_MANAGER_TEST_SERVER_VIEW_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698