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

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

Issue 2095193002: clang-format all of //ash (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
« no previous file with comments | « ash/display/unified_mouse_warp_controller.cc ('k') | 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 14 matching lines...) Expand all
25 25
26 namespace ash { 26 namespace ash {
27 class DragDropTracker; 27 class DragDropTracker;
28 class DragDropTrackerDelegate; 28 class DragDropTrackerDelegate;
29 class DragImageView; 29 class DragImageView;
30 30
31 namespace test { 31 namespace test {
32 class DragDropControllerTest; 32 class DragDropControllerTest;
33 } 33 }
34 34
35 class ASH_EXPORT DragDropController 35 class ASH_EXPORT DragDropController : public aura::client::DragDropClient,
36 : public aura::client::DragDropClient, 36 public ui::EventHandler,
37 public ui::EventHandler, 37 public gfx::AnimationDelegate,
38 public gfx::AnimationDelegate, 38 public aura::WindowObserver {
39 public aura::WindowObserver {
40 public: 39 public:
41 DragDropController(); 40 DragDropController();
42 ~DragDropController() override; 41 ~DragDropController() override;
43 42
44 void set_should_block_during_drag_drop(bool should_block_during_drag_drop) { 43 void set_should_block_during_drag_drop(bool should_block_during_drag_drop) {
45 should_block_during_drag_drop_ = should_block_during_drag_drop; 44 should_block_during_drag_drop_ = should_block_during_drag_drop;
46 } 45 }
47 46
48 // Overridden from aura::client::DragDropClient: 47 // Overridden from aura::client::DragDropClient:
49 int StartDragAndDrop(const ui::OSExchangeData& data, 48 int StartDragAndDrop(const ui::OSExchangeData& data,
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 std::unique_ptr<ui::GestureEvent> pending_long_tap_; 128 std::unique_ptr<ui::GestureEvent> pending_long_tap_;
130 129
131 base::WeakPtrFactory<DragDropController> weak_factory_; 130 base::WeakPtrFactory<DragDropController> weak_factory_;
132 131
133 DISALLOW_COPY_AND_ASSIGN(DragDropController); 132 DISALLOW_COPY_AND_ASSIGN(DragDropController);
134 }; 133 };
135 134
136 } // namespace ash 135 } // namespace ash
137 136
138 #endif // ASH_DRAG_DROP_DRAG_DROP_CONTROLLER_H_ 137 #endif // ASH_DRAG_DROP_DRAG_DROP_CONTROLLER_H_
OLDNEW
« no previous file with comments | « ash/display/unified_mouse_warp_controller.cc ('k') | ash/drag_drop/drag_drop_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698