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

Unified Diff: services/view_manager/connection_manager.cc

Issue 1375313006: For c++, Generate enum classes instead of enum from mojom. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « services/view_manager/animation_runner_unittest.cc ('k') | services/view_manager/display_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/view_manager/connection_manager.cc
diff --git a/services/view_manager/connection_manager.cc b/services/view_manager/connection_manager.cc
index d98b3d27b1031dcf36904e0dbbecc1e86b324a37..dd13cf4c33440836eb8f34287563c25e62268906 100644
--- a/services/view_manager/connection_manager.cc
+++ b/services/view_manager/connection_manager.cc
@@ -57,7 +57,7 @@ void ReparentClonedViews(ServerView* new_parent,
const gfx::Rect new_bounds(ConvertRectBetweenViews(
view, new_parent, gfx::Rect(view->bounds().size())));
new_parent->Add(view);
- new_parent->Reorder(view, *stack_above, mojo::ORDER_DIRECTION_ABOVE);
+ new_parent->Reorder(view, *stack_above, mojo::OrderDirection::ABOVE);
view->SetBounds(new_bounds);
*stack_above = view;
return;
@@ -265,7 +265,7 @@ bool ConnectionManager::CloneAndAnimate(const ViewId& view_id) {
ServerView* clone = CloneView(view, this);
CloneViewTree(view, clone, this);
view->parent()->Add(clone);
- view->parent()->Reorder(clone, view, mojo::ORDER_DIRECTION_ABOVE);
+ view->parent()->Reorder(clone, view, mojo::OrderDirection::ABOVE);
return true;
}
« no previous file with comments | « services/view_manager/animation_runner_unittest.cc ('k') | services/view_manager/display_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698