OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 "app/drag_drop_types.h" | 12 #include "app/drag_drop_types.h" |
13 #include "app/gfx/canvas.h" | 13 #include "app/gfx/canvas.h" |
14 #include "app/gfx/path.h" | 14 #include "app/gfx/path.h" |
15 #include "app/l10n_util.h" | 15 #include "app/l10n_util.h" |
16 #include "base/logging.h" | 16 #include "base/logging.h" |
17 #include "base/message_loop.h" | 17 #include "base/message_loop.h" |
18 #include "base/scoped_handle.h" | 18 #include "base/scoped_handle.h" |
19 #include "base/string_util.h" | 19 #include "base/utf_string_conversions.h" |
20 #include "third_party/skia/include/core/SkShader.h" | 20 #include "third_party/skia/include/core/SkShader.h" |
21 #include "views/background.h" | 21 #include "views/background.h" |
22 #include "views/layout_manager.h" | 22 #include "views/layout_manager.h" |
23 #include "views/views_delegate.h" | 23 #include "views/views_delegate.h" |
24 #include "views/widget/root_view.h" | 24 #include "views/widget/root_view.h" |
25 #include "views/widget/tooltip_manager.h" | 25 #include "views/widget/tooltip_manager.h" |
26 #include "views/widget/widget.h" | 26 #include "views/widget/widget.h" |
27 #include "views/window/window.h" | 27 #include "views/window/window.h" |
28 | 28 |
29 #if defined(OS_WIN) | 29 #if defined(OS_WIN) |
(...skipping 1423 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1453 possible_drag = false; | 1453 possible_drag = false; |
1454 start_pt = gfx::Point(); | 1454 start_pt = gfx::Point(); |
1455 } | 1455 } |
1456 | 1456 |
1457 void View::DragInfo::PossibleDrag(const gfx::Point& p) { | 1457 void View::DragInfo::PossibleDrag(const gfx::Point& p) { |
1458 possible_drag = true; | 1458 possible_drag = true; |
1459 start_pt = p; | 1459 start_pt = p; |
1460 } | 1460 } |
1461 | 1461 |
1462 } // namespace | 1462 } // namespace |
OLD | NEW |