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

Side by Side Diff: ui/aura/mus/drag_drop_controller_mus.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 | « ui/aura/gestures/gesture_recognizer_unittest.cc ('k') | ui/aura/mus/input_method_mus.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 "ui/aura/mus/drag_drop_controller_mus.h" 5 #include "ui/aura/mus/drag_drop_controller_mus.h"
6 6
7 #include <map> 7 #include <map>
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/auto_reset.h" 11 #include "base/auto_reset.h"
12 #include "base/memory/ptr_util.h"
12 #include "base/message_loop/message_loop.h" 13 #include "base/message_loop/message_loop.h"
13 #include "base/run_loop.h" 14 #include "base/run_loop.h"
14 #include "services/ui/public/interfaces/window_tree.mojom.h" 15 #include "services/ui/public/interfaces/window_tree.mojom.h"
15 #include "services/ui/public/interfaces/window_tree_constants.mojom.h" 16 #include "services/ui/public/interfaces/window_tree_constants.mojom.h"
16 #include "ui/aura/client/drag_drop_delegate.h" 17 #include "ui/aura/client/drag_drop_delegate.h"
17 #include "ui/aura/mus/drag_drop_controller_host.h" 18 #include "ui/aura/mus/drag_drop_controller_host.h"
18 #include "ui/aura/mus/mus_types.h" 19 #include "ui/aura/mus/mus_types.h"
19 #include "ui/aura/mus/os_exchange_data_provider_mus.h" 20 #include "ui/aura/mus/os_exchange_data_provider_mus.h"
20 #include "ui/aura/mus/window_mus.h" 21 #include "ui/aura/mus/window_mus.h"
21 #include "ui/aura/window.h" 22 #include "ui/aura/window.h"
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
204 std::unique_ptr<ui::DropTargetEvent> event = 205 std::unique_ptr<ui::DropTargetEvent> event =
205 base::MakeUnique<ui::DropTargetEvent>( 206 base::MakeUnique<ui::DropTargetEvent>(
206 current_drag_state_ ? current_drag_state_->drag_data 207 current_drag_state_ ? current_drag_state_->drag_data
207 : *(os_exchange_data_.get()), 208 : *(os_exchange_data_.get()),
208 location, root_location, effect_bitmask); 209 location, root_location, effect_bitmask);
209 event->set_flags(event_flags); 210 event->set_flags(event_flags);
210 return event; 211 return event;
211 } 212 }
212 213
213 } // namespace aura 214 } // namespace aura
OLDNEW
« no previous file with comments | « ui/aura/gestures/gesture_recognizer_unittest.cc ('k') | ui/aura/mus/input_method_mus.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698