OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/views/view.h" | 5 #include "ui/views/view.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 #include <functional> | 8 #include <functional> |
9 | 9 |
10 #include "gfx/canvas.h" | |
11 #include "gfx/point.h" | |
12 #include "gfx/size.h" | |
13 #include "ui/base/dragdrop/drag_drop_types.h" | 10 #include "ui/base/dragdrop/drag_drop_types.h" |
| 11 #include "ui/gfx/canvas.h" |
| 12 #include "ui/gfx/point.h" |
| 13 #include "ui/gfx/size.h" |
14 #include "ui/views/events/context_menu_controller.h" | 14 #include "ui/views/events/context_menu_controller.h" |
15 #include "ui/views/events/drag_controller.h" | 15 #include "ui/views/events/drag_controller.h" |
16 #include "ui/views/layout/layout_manager.h" | 16 #include "ui/views/layout/layout_manager.h" |
17 #include "ui/views/rendering/border.h" | 17 #include "ui/views/rendering/border.h" |
18 #include "ui/views/widget/widget.h" | 18 #include "ui/views/widget/widget.h" |
19 | 19 |
20 namespace ui { | 20 namespace ui { |
21 | 21 |
22 namespace { | 22 namespace { |
23 | 23 |
(...skipping 691 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
715 void View::WriteDragData(const gfx::Point& point, OSExchangeData* data) { | 715 void View::WriteDragData(const gfx::Point& point, OSExchangeData* data) { |
716 drag_controller_->WriteDragData(this, point, data); | 716 drag_controller_->WriteDragData(this, point, data); |
717 } | 717 } |
718 | 718 |
719 void View::StartShellDrag(const MouseEvent& event, | 719 void View::StartShellDrag(const MouseEvent& event, |
720 const gfx::Point& press_point) { | 720 const gfx::Point& press_point) { |
721 // TODO(beng): system stuff. | 721 // TODO(beng): system stuff. |
722 } | 722 } |
723 | 723 |
724 } // namespace ui | 724 } // namespace ui |
OLD | NEW |