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

Side by Side Diff: services/ui/ws/modal_window_controller.cc

Issue 2598963005: Include-what-you-use for WrapUnique/MakeUnique. (Closed)
Patch Set: restore order of includes in x11_topmost_window_finder_interactive_uitest.cc Created 3 years, 12 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 | « services/ui/ws/gpu_host.cc ('k') | services/ui/ws/platform_display_default.cc » ('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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 "services/ui/ws/modal_window_controller.h" 5 #include "services/ui/ws/modal_window_controller.h"
6 6
7 #include "base/memory/ptr_util.h"
7 #include "base/stl_util.h" 8 #include "base/stl_util.h"
8 #include "services/ui/ws/event_dispatcher.h" 9 #include "services/ui/ws/event_dispatcher.h"
9 #include "services/ui/ws/server_window.h" 10 #include "services/ui/ws/server_window.h"
10 #include "services/ui/ws/server_window_drawn_tracker.h" 11 #include "services/ui/ws/server_window_drawn_tracker.h"
11 12
12 namespace ui { 13 namespace ui {
13 namespace ws { 14 namespace ws {
14 namespace { 15 namespace {
15 16
16 const ServerWindow* GetModalChildForWindowAncestor(const ServerWindow* window) { 17 const ServerWindow* GetModalChildForWindowAncestor(const ServerWindow* window) {
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 // Move the most recently shown window to the end of the list. 113 // Move the most recently shown window to the end of the list.
113 auto it = std::find(system_modal_windows_.begin(), 114 auto it = std::find(system_modal_windows_.begin(),
114 system_modal_windows_.end(), window); 115 system_modal_windows_.end(), window);
115 DCHECK(it != system_modal_windows_.end()); 116 DCHECK(it != system_modal_windows_.end());
116 system_modal_windows_.splice(system_modal_windows_.end(), 117 system_modal_windows_.splice(system_modal_windows_.end(),
117 system_modal_windows_, it); 118 system_modal_windows_, it);
118 } 119 }
119 120
120 } // namespace ws 121 } // namespace ws
121 } // namespace ui 122 } // namespace ui
OLDNEW
« no previous file with comments | « services/ui/ws/gpu_host.cc ('k') | services/ui/ws/platform_display_default.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698