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 "views/view.h" | 5 #include "views/view.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 #ifndef NDEBUG | 8 #ifndef NDEBUG |
9 #include <iostream> | 9 #include <iostream> |
10 #endif | 10 #endif |
11 | 11 |
12 #include "base/logging.h" | 12 #include "base/logging.h" |
13 #include "base/message_loop.h" | 13 #include "base/message_loop.h" |
14 #include "base/scoped_ptr.h" | 14 #include "base/scoped_ptr.h" |
15 #include "base/utf_string_conversions.h" | 15 #include "base/utf_string_conversions.h" |
16 #include "gfx/canvas_skia.h" | |
17 #include "gfx/path.h" | |
18 #include "third_party/skia/include/core/SkShader.h" | 16 #include "third_party/skia/include/core/SkShader.h" |
19 #include "ui/base/dragdrop/drag_drop_types.h" | 17 #include "ui/base/dragdrop/drag_drop_types.h" |
| 18 #include "ui/gfx/canvas_skia.h" |
| 19 #include "ui/gfx/path.h" |
20 #include "views/background.h" | 20 #include "views/background.h" |
21 #include "views/layout/layout_manager.h" | 21 #include "views/layout/layout_manager.h" |
22 #include "views/views_delegate.h" | 22 #include "views/views_delegate.h" |
23 #include "views/widget/root_view.h" | 23 #include "views/widget/root_view.h" |
24 #include "views/widget/tooltip_manager.h" | 24 #include "views/widget/tooltip_manager.h" |
25 #include "views/widget/widget.h" | 25 #include "views/widget/widget.h" |
26 #include "views/window/window.h" | 26 #include "views/window/window.h" |
27 | 27 |
28 #if defined(OS_WIN) | 28 #if defined(OS_WIN) |
29 #include "base/win/scoped_gdi_object.h" | 29 #include "base/win/scoped_gdi_object.h" |
(...skipping 1513 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1543 possible_drag = false; | 1543 possible_drag = false; |
1544 start_pt = gfx::Point(); | 1544 start_pt = gfx::Point(); |
1545 } | 1545 } |
1546 | 1546 |
1547 void View::DragInfo::PossibleDrag(const gfx::Point& p) { | 1547 void View::DragInfo::PossibleDrag(const gfx::Point& p) { |
1548 possible_drag = true; | 1548 possible_drag = true; |
1549 start_pt = p; | 1549 start_pt = p; |
1550 } | 1550 } |
1551 | 1551 |
1552 } // namespace | 1552 } // namespace |
OLD | NEW |