OLD | NEW |
1 // Copyright (c) 2010 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/utf_string_conversions.h" | 14 #include "base/utf_string_conversions.h" |
15 #include "gfx/canvas_skia.h" | 15 #include "gfx/canvas_skia.h" |
16 #include "gfx/path.h" | 16 #include "gfx/path.h" |
17 #include "third_party/skia/include/core/SkShader.h" | 17 #include "third_party/skia/include/core/SkShader.h" |
18 #include "ui/base/dragdrop/drag_drop_types.h" | 18 #include "ui/base/dragdrop/drag_drop_types.h" |
19 #include "views/background.h" | 19 #include "views/background.h" |
20 #include "views/layout_manager.h" | 20 #include "views/layout/layout_manager.h" |
21 #include "views/views_delegate.h" | 21 #include "views/views_delegate.h" |
22 #include "views/widget/root_view.h" | 22 #include "views/widget/root_view.h" |
23 #include "views/widget/tooltip_manager.h" | 23 #include "views/widget/tooltip_manager.h" |
24 #include "views/widget/widget.h" | 24 #include "views/widget/widget.h" |
25 #include "views/window/window.h" | 25 #include "views/window/window.h" |
26 | 26 |
27 #if defined(OS_WIN) | 27 #if defined(OS_WIN) |
28 #include "base/win/scoped_gdi_object.h" | 28 #include "base/win/scoped_gdi_object.h" |
29 #include "views/accessibility/view_accessibility.h" | 29 #include "views/accessibility/view_accessibility.h" |
30 #endif | 30 #endif |
(...skipping 1499 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1530 possible_drag = false; | 1530 possible_drag = false; |
1531 start_pt = gfx::Point(); | 1531 start_pt = gfx::Point(); |
1532 } | 1532 } |
1533 | 1533 |
1534 void View::DragInfo::PossibleDrag(const gfx::Point& p) { | 1534 void View::DragInfo::PossibleDrag(const gfx::Point& p) { |
1535 possible_drag = true; | 1535 possible_drag = true; |
1536 start_pt = p; | 1536 start_pt = p; |
1537 } | 1537 } |
1538 | 1538 |
1539 } // namespace | 1539 } // namespace |
OLD | NEW |