OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 "chrome/views/view.h" | 5 #include "chrome/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 "app/drag_drop_types.h" |
12 #include "app/gfx/chrome_canvas.h" | 13 #include "app/gfx/chrome_canvas.h" |
13 #include "app/l10n_util.h" | 14 #include "app/l10n_util.h" |
14 #include "base/logging.h" | 15 #include "base/logging.h" |
15 #include "base/message_loop.h" | 16 #include "base/message_loop.h" |
16 #include "base/scoped_handle.h" | 17 #include "base/scoped_handle.h" |
17 #include "base/string_util.h" | 18 #include "base/string_util.h" |
18 #include "chrome/common/drag_drop_types.h" | |
19 #include "chrome/views/background.h" | 19 #include "chrome/views/background.h" |
20 #include "chrome/views/layout_manager.h" | 20 #include "chrome/views/layout_manager.h" |
21 #include "chrome/views/widget/root_view.h" | 21 #include "chrome/views/widget/root_view.h" |
22 #include "chrome/views/widget/widget.h" | 22 #include "chrome/views/widget/widget.h" |
23 #include "chrome/views/window/window.h" | 23 #include "chrome/views/window/window.h" |
24 #if defined(OS_WIN) | 24 #if defined(OS_WIN) |
25 #include "chrome/views/widget/tooltip_manager.h" | 25 #include "chrome/views/widget/tooltip_manager.h" |
26 #include "chrome/views/accessibility/view_accessibility_wrapper.h" | 26 #include "chrome/views/accessibility/view_accessibility_wrapper.h" |
27 #endif | 27 #endif |
28 #include "SkShader.h" | 28 #include "SkShader.h" |
(...skipping 1605 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1634 start_x = start_y = 0; | 1634 start_x = start_y = 0; |
1635 } | 1635 } |
1636 | 1636 |
1637 void View::DragInfo::PossibleDrag(int x, int y) { | 1637 void View::DragInfo::PossibleDrag(int x, int y) { |
1638 possible_drag = true; | 1638 possible_drag = true; |
1639 start_x = x; | 1639 start_x = x; |
1640 start_y = y; | 1640 start_y = y; |
1641 } | 1641 } |
1642 | 1642 |
1643 } // namespace | 1643 } // namespace |
OLD | NEW |