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

Side by Side Diff: mandoline/ui/aura/window_tree_host_mojo.cc

Issue 1344573002: Mandoline: Rename components/view_manager to components/mus (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 5 years, 3 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
« no previous file with comments | « mandoline/ui/aura/window_tree_host_mojo.h ('k') | mandoline/ui/desktop_ui/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "mandoline/ui/aura/window_tree_host_mojo.h" 5 #include "mandoline/ui/aura/window_tree_host_mojo.h"
6 6
7 #include "components/view_manager/public/cpp/view_tree_connection.h" 7 #include "components/mus/public/cpp/view_tree_connection.h"
8 #include "mandoline/ui/aura/input_method_mandoline.h" 8 #include "mandoline/ui/aura/input_method_mandoline.h"
9 #include "mandoline/ui/aura/surface_context_factory.h" 9 #include "mandoline/ui/aura/surface_context_factory.h"
10 #include "mojo/application/public/interfaces/shell.mojom.h" 10 #include "mojo/application/public/interfaces/shell.mojom.h"
11 #include "mojo/converters/geometry/geometry_type_converters.h" 11 #include "mojo/converters/geometry/geometry_type_converters.h"
12 #include "ui/aura/env.h" 12 #include "ui/aura/env.h"
13 #include "ui/aura/window.h" 13 #include "ui/aura/window.h"
14 #include "ui/aura/window_event_dispatcher.h" 14 #include "ui/aura/window_event_dispatcher.h"
15 #include "ui/events/event.h" 15 #include "ui/events/event.h"
16 #include "ui/events/event_constants.h" 16 #include "ui/events/event_constants.h"
17 17
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 gfx::Rect old_bounds2 = old_bounds.To<gfx::Rect>(); 106 gfx::Rect old_bounds2 = old_bounds.To<gfx::Rect>();
107 gfx::Rect new_bounds2 = new_bounds.To<gfx::Rect>(); 107 gfx::Rect new_bounds2 = new_bounds.To<gfx::Rect>();
108 bounds_ = new_bounds2; 108 bounds_ = new_bounds2;
109 if (old_bounds2.origin() != new_bounds2.origin()) 109 if (old_bounds2.origin() != new_bounds2.origin())
110 OnHostMoved(bounds_.origin()); 110 OnHostMoved(bounds_.origin());
111 if (old_bounds2.size() != new_bounds2.size()) 111 if (old_bounds2.size() != new_bounds2.size())
112 OnHostResized(bounds_.size()); 112 OnHostResized(bounds_.size());
113 } 113 }
114 114
115 } // namespace mandoline 115 } // namespace mandoline
OLDNEW
« no previous file with comments | « mandoline/ui/aura/window_tree_host_mojo.h ('k') | mandoline/ui/desktop_ui/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698