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

Side by Side Diff: mash/wm/non_client_frame_controller.cc

Issue 2009073003: Move mojo/converters/geometry -> ui/gfx/geometry/mojo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 6 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 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 "mash/wm/non_client_frame_controller.h" 5 #include "mash/wm/non_client_frame_controller.h"
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 8
9 #include <memory> 9 #include <memory>
10 #include <string> 10 #include <string>
11 #include <vector> 11 #include <vector>
12 12
13 #include "base/macros.h" 13 #include "base/macros.h"
14 #include "base/strings/utf_string_conversions.h" 14 #include "base/strings/utf_string_conversions.h"
15 #include "components/mus/public/cpp/property_type_converters.h" 15 #include "components/mus/public/cpp/property_type_converters.h"
16 #include "components/mus/public/cpp/window.h" 16 #include "components/mus/public/cpp/window.h"
17 #include "components/mus/public/cpp/window_manager_delegate.h" 17 #include "components/mus/public/cpp/window_manager_delegate.h"
18 #include "components/mus/public/cpp/window_property.h" 18 #include "components/mus/public/cpp/window_property.h"
19 #include "components/mus/public/interfaces/window_manager.mojom.h" 19 #include "components/mus/public/interfaces/window_manager.mojom.h"
20 #include "components/mus/public/interfaces/window_tree_host.mojom.h" 20 #include "components/mus/public/interfaces/window_tree_host.mojom.h"
21 #include "mash/wm/bridge/wm_window_mus.h" 21 #include "mash/wm/bridge/wm_window_mus.h"
22 #include "mash/wm/frame/frame_border_hit_test_controller.h" 22 #include "mash/wm/frame/frame_border_hit_test_controller.h"
23 #include "mash/wm/frame/move_event_handler.h" 23 #include "mash/wm/frame/move_event_handler.h"
24 #include "mash/wm/frame/non_client_frame_view_mash.h" 24 #include "mash/wm/frame/non_client_frame_view_mash.h"
25 #include "mash/wm/property_util.h" 25 #include "mash/wm/property_util.h"
26 #include "mash/wm/shadow.h" 26 #include "mash/wm/shadow.h"
27 #include "mojo/converters/geometry/geometry_type_converters.h"
28 #include "ui/aura/layout_manager.h" 27 #include "ui/aura/layout_manager.h"
29 #include "ui/aura/window.h" 28 #include "ui/aura/window.h"
30 #include "ui/aura/window_tree_host.h" 29 #include "ui/aura/window_tree_host.h"
31 #include "ui/compositor/layer.h" 30 #include "ui/compositor/layer.h"
31 #include "ui/gfx/geometry/mojo/geometry_type_converters.h"
32 #include "ui/gfx/geometry/vector2d.h" 32 #include "ui/gfx/geometry/vector2d.h"
33 #include "ui/views/mus/native_widget_mus.h" 33 #include "ui/views/mus/native_widget_mus.h"
34 #include "ui/views/widget/widget.h" 34 #include "ui/views/widget/widget.h"
35 35
36 namespace mash { 36 namespace mash {
37 namespace wm { 37 namespace wm {
38 namespace { 38 namespace {
39 39
40 // LayoutManager associated with the window created by WindowTreeHost. Resizes 40 // LayoutManager associated with the window created by WindowTreeHost. Resizes
41 // all children of the parent to match the bounds of the parent. Additionally 41 // all children of the parent to match the bounds of the parent. Additionally
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after
304 } 304 }
305 } 305 }
306 306
307 void NonClientFrameController::OnWindowDestroyed(mus::Window* window) { 307 void NonClientFrameController::OnWindowDestroyed(mus::Window* window) {
308 window_->RemoveObserver(this); 308 window_->RemoveObserver(this);
309 window_ = nullptr; 309 window_ = nullptr;
310 } 310 }
311 311
312 } // namespace wm 312 } // namespace wm
313 } // namespace mash 313 } // namespace mash
OLDNEW
« no previous file with comments | « mash/wm/BUILD.gn ('k') | mash/wm/root_window_controller.cc » ('j') | ui/gfx/gfx.gyp » ('J')

Powered by Google App Engine
This is Rietveld 408576698