| 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" | |
| 14 #include "base/i18n/rtl.h" | 13 #include "base/i18n/rtl.h" |
| 15 #include "base/logging.h" | 14 #include "base/logging.h" |
| 16 #include "base/message_loop.h" | 15 #include "base/message_loop.h" |
| 17 #include "base/scoped_handle.h" | 16 #include "base/scoped_handle.h" |
| 18 #include "base/utf_string_conversions.h" | 17 #include "base/utf_string_conversions.h" |
| 18 #include "gfx/canvas.h" |
| 19 #include "gfx/path.h" | 19 #include "gfx/path.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 |
| (...skipping 1431 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1460 possible_drag = false; | 1460 possible_drag = false; |
| 1461 start_pt = gfx::Point(); | 1461 start_pt = gfx::Point(); |
| 1462 } | 1462 } |
| 1463 | 1463 |
| 1464 void View::DragInfo::PossibleDrag(const gfx::Point& p) { | 1464 void View::DragInfo::PossibleDrag(const gfx::Point& p) { |
| 1465 possible_drag = true; | 1465 possible_drag = true; |
| 1466 start_pt = p; | 1466 start_pt = p; |
| 1467 } | 1467 } |
| 1468 | 1468 |
| 1469 } // namespace | 1469 } // namespace |
| OLD | NEW |