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