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

Unified Diff: mojo/services/view_manager/view_coordinate_conversions_unittest.cc

Issue 720883003: Adds a CloneAndAnimate function to WindowManagerInternalClient (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Add GetView(ClonedViewId) coverage Created 6 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: mojo/services/view_manager/view_coordinate_conversions_unittest.cc
diff --git a/mojo/services/view_manager/view_coordinate_conversions_unittest.cc b/mojo/services/view_manager/view_coordinate_conversions_unittest.cc
index 21910aadf32f2540ab5eb9dcbbd346c5ab08ab58..71710d3c31d80b24a236230cc7e2bc719cdd0ae4 100644
--- a/mojo/services/view_manager/view_coordinate_conversions_unittest.cc
+++ b/mojo/services/view_manager/view_coordinate_conversions_unittest.cc
@@ -20,10 +20,11 @@ class MockServerViewDelegate : public ServerViewDelegate {
private:
// ServerViewDelegate:
+ void OnWillDestroyView(ServerView* view) override {}
void OnViewDestroyed(const ServerView* view) override {}
- void OnWillChangeViewHierarchy(const ServerView* view,
- const ServerView* new_parent,
- const ServerView* old_parent) override {}
+ void OnWillChangeViewHierarchy(ServerView* view,
+ ServerView* new_parent,
+ ServerView* old_parent) override {}
void OnViewHierarchyChanged(const ServerView* view,
const ServerView* new_parent,
const ServerView* old_parent) override {}
@@ -34,11 +35,12 @@ class MockServerViewDelegate : public ServerViewDelegate {
void OnViewReordered(const ServerView* view,
const ServerView* relative,
OrderDirection direction) override {}
- void OnWillChangeViewVisibility(const ServerView* view) override {}
+ void OnWillChangeViewVisibility(ServerView* view) override {}
void OnViewSharedPropertyChanged(
const ServerView* view,
const std::string& name,
const std::vector<uint8_t>* new_data) override {}
+ void OnScheduleViewPaint(const ServerView* view) override {}
DISALLOW_COPY_AND_ASSIGN(MockServerViewDelegate);
};
« no previous file with comments | « mojo/services/view_manager/server_view_delegate.h ('k') | mojo/services/view_manager/view_manager_service_apptest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698