| 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 "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/chrome_canvas.h" | 13 #include "app/gfx/chrome_canvas.h" |
| 14 #include "app/l10n_util.h" | 14 #include "app/l10n_util.h" |
| 15 #include "base/logging.h" | 15 #include "base/logging.h" |
| 16 #include "base/message_loop.h" | 16 #include "base/message_loop.h" |
| 17 #include "base/scoped_handle.h" | 17 #include "base/scoped_handle.h" |
| 18 #include "base/string_util.h" | 18 #include "base/string_util.h" |
| 19 #include "skia/include/SkShader.h" | 19 #include "third_party/skia/include/core/SkShader.h" |
| 20 #include "views/background.h" | 20 #include "views/background.h" |
| 21 #include "views/layout_manager.h" | 21 #include "views/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/widget.h" | 24 #include "views/widget/widget.h" |
| 25 #include "views/window/window.h" | 25 #include "views/window/window.h" |
| 26 #if defined(OS_WIN) | 26 #if defined(OS_WIN) |
| 27 #include "views/widget/tooltip_manager.h" | 27 #include "views/widget/tooltip_manager.h" |
| 28 #include "views/accessibility/view_accessibility_wrapper.h" | 28 #include "views/accessibility/view_accessibility_wrapper.h" |
| 29 #endif | 29 #endif |
| (...skipping 1618 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1648 start_x = start_y = 0; | 1648 start_x = start_y = 0; |
| 1649 } | 1649 } |
| 1650 | 1650 |
| 1651 void View::DragInfo::PossibleDrag(int x, int y) { | 1651 void View::DragInfo::PossibleDrag(int x, int y) { |
| 1652 possible_drag = true; | 1652 possible_drag = true; |
| 1653 start_x = x; | 1653 start_x = x; |
| 1654 start_y = y; | 1654 start_y = y; |
| 1655 } | 1655 } |
| 1656 | 1656 |
| 1657 } // namespace | 1657 } // namespace |
| OLD | NEW |