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

Side by Side Diff: ash/drag_drop/drag_drop_controller.h

Issue 2828913003: Replace "nested message loop" with "nested run loop" in comments. (Closed)
Patch Set: rebase Created 3 years, 7 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 | « no previous file | ash/drag_drop/drag_drop_controller.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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #ifndef ASH_DRAG_DROP_DRAG_DROP_CONTROLLER_H_ 5 #ifndef ASH_DRAG_DROP_DRAG_DROP_CONTROLLER_H_
6 #define ASH_DRAG_DROP_DRAG_DROP_CONTROLLER_H_ 6 #define ASH_DRAG_DROP_DRAG_DROP_CONTROLLER_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "ash/ash_export.h" 10 #include "ash/ash_export.h"
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 119
120 std::unique_ptr<gfx::LinearAnimation> cancel_animation_; 120 std::unique_ptr<gfx::LinearAnimation> cancel_animation_;
121 121
122 // Window that started the drag. 122 // Window that started the drag.
123 aura::Window* drag_source_window_; 123 aura::Window* drag_source_window_;
124 124
125 // Indicates whether the caller should be blocked on a drag/drop session. 125 // Indicates whether the caller should be blocked on a drag/drop session.
126 // Only be used for tests. 126 // Only be used for tests.
127 bool should_block_during_drag_drop_; 127 bool should_block_during_drag_drop_;
128 128
129 // Closure for quitting nested message loop. 129 // Closure for quitting nested run loop.
130 base::Closure quit_closure_; 130 base::Closure quit_closure_;
131 131
132 std::unique_ptr<ash::DragDropTracker> drag_drop_tracker_; 132 std::unique_ptr<ash::DragDropTracker> drag_drop_tracker_;
133 std::unique_ptr<DragDropTrackerDelegate> drag_drop_window_delegate_; 133 std::unique_ptr<DragDropTrackerDelegate> drag_drop_window_delegate_;
134 134
135 ui::DragDropTypes::DragEventSource current_drag_event_source_; 135 ui::DragDropTypes::DragEventSource current_drag_event_source_;
136 136
137 // Holds a synthetic long tap event to be sent to the |drag_source_window_|. 137 // Holds a synthetic long tap event to be sent to the |drag_source_window_|.
138 // See comment in OnGestureEvent() on why we need this. 138 // See comment in OnGestureEvent() on why we need this.
139 std::unique_ptr<ui::GestureEvent> pending_long_tap_; 139 std::unique_ptr<ui::GestureEvent> pending_long_tap_;
140 140
141 base::WeakPtrFactory<DragDropController> weak_factory_; 141 base::WeakPtrFactory<DragDropController> weak_factory_;
142 142
143 DISALLOW_COPY_AND_ASSIGN(DragDropController); 143 DISALLOW_COPY_AND_ASSIGN(DragDropController);
144 }; 144 };
145 145
146 } // namespace ash 146 } // namespace ash
147 147
148 #endif // ASH_DRAG_DROP_DRAG_DROP_CONTROLLER_H_ 148 #endif // ASH_DRAG_DROP_DRAG_DROP_CONTROLLER_H_
OLDNEW
« no previous file with comments | « no previous file | ash/drag_drop/drag_drop_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698