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

Side by Side Diff: components/mus/ws/server_window.cc

Issue 2008193002: Change mojo geometry structs from using type converters to StructTraits. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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 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 #include "components/mus/ws/server_window.h" 5 #include "components/mus/ws/server_window.h"
6 6
7 #include <inttypes.h> 7 #include <inttypes.h>
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include "base/strings/stringprintf.h" 10 #include "base/strings/stringprintf.h"
11 #include "components/mus/common/transient_window_utils.h" 11 #include "components/mus/common/transient_window_utils.h"
12 #include "components/mus/public/interfaces/window_manager.mojom.h" 12 #include "components/mus/public/interfaces/window_manager.mojom.h"
13 #include "components/mus/ws/server_window_delegate.h" 13 #include "components/mus/ws/server_window_delegate.h"
14 #include "components/mus/ws/server_window_observer.h" 14 #include "components/mus/ws/server_window_observer.h"
15 #include "components/mus/ws/server_window_surface_manager.h" 15 #include "components/mus/ws/server_window_surface_manager.h"
16 #include "ui/gfx/geometry/mojo/geometry_type_converters.h"
17 16
18 namespace mus { 17 namespace mus {
19 18
20 namespace ws { 19 namespace ws {
21 20
22 ServerWindow::ServerWindow(ServerWindowDelegate* delegate, const WindowId& id) 21 ServerWindow::ServerWindow(ServerWindowDelegate* delegate, const WindowId& id)
23 : ServerWindow(delegate, id, Properties()) {} 22 : ServerWindow(delegate, id, Properties()) {}
24 23
25 ServerWindow::ServerWindow(ServerWindowDelegate* delegate, 24 ServerWindow::ServerWindow(ServerWindowDelegate* delegate,
26 const WindowId& id, 25 const WindowId& id,
(...skipping 435 matching lines...) Expand 10 before | Expand all | Expand 10 after
462 } 461 }
463 462
464 // static 463 // static
465 ServerWindow** ServerWindow::GetStackingTarget(ServerWindow* window) { 464 ServerWindow** ServerWindow::GetStackingTarget(ServerWindow* window) {
466 return &window->stacking_target_; 465 return &window->stacking_target_;
467 } 466 }
468 467
469 } // namespace ws 468 } // namespace ws
470 469
471 } // namespace mus 470 } // namespace mus
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698