| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 "ui/views/touchui/touch_selection_controller_impl.h" | 5 #include "ui/views/touchui/touch_selection_controller_impl.h" |
| 6 | 6 |
| 7 #include "base/macros.h" | 7 #include "base/macros.h" |
| 8 #include "base/metrics/histogram_macros.h" | 8 #include "base/metrics/histogram_macros.h" |
| 9 #include "base/time/time.h" | 9 #include "base/time/time.h" |
| 10 #include "ui/aura/client/cursor_client.h" | 10 #include "ui/aura/client/cursor_client.h" |
| 11 #include "ui/aura/env.h" | 11 #include "ui/aura/env.h" |
| 12 #include "ui/aura/window.h" | 12 #include "ui/aura/window.h" |
| 13 #include "ui/base/resource/resource_bundle.h" | 13 #include "ui/base/resource/resource_bundle.h" |
| 14 #include "ui/gfx/canvas.h" | 14 #include "ui/gfx/canvas.h" |
| 15 #include "ui/gfx/geometry/rect.h" | 15 #include "ui/gfx/geometry/rect.h" |
| 16 #include "ui/gfx/geometry/size.h" | 16 #include "ui/gfx/geometry/size.h" |
| 17 #include "ui/gfx/image/image.h" | 17 #include "ui/gfx/image/image.h" |
| 18 #include "ui/gfx/path.h" | 18 #include "ui/gfx/path.h" |
| 19 #include "ui/gfx/screen.h" | |
| 20 #include "ui/resources/grit/ui_resources.h" | 19 #include "ui/resources/grit/ui_resources.h" |
| 21 #include "ui/strings/grit/ui_strings.h" | 20 #include "ui/strings/grit/ui_strings.h" |
| 22 #include "ui/views/resources/grit/views_resources.h" | 21 #include "ui/views/resources/grit/views_resources.h" |
| 23 #include "ui/views/widget/widget.h" | 22 #include "ui/views/widget/widget.h" |
| 24 #include "ui/views/widget/widget_delegate.h" | 23 #include "ui/views/widget/widget_delegate.h" |
| 25 #include "ui/wm/core/coordinate_conversion.h" | 24 #include "ui/wm/core/coordinate_conversion.h" |
| 26 #include "ui/wm/core/masked_window_targeter.h" | 25 #include "ui/wm/core/masked_window_targeter.h" |
| 27 | 26 |
| 28 namespace { | 27 namespace { |
| 29 | 28 |
| (...skipping 741 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 771 | 770 |
| 772 views::WidgetDelegateView* TouchSelectionControllerImpl::GetHandle1View() { | 771 views::WidgetDelegateView* TouchSelectionControllerImpl::GetHandle1View() { |
| 773 return selection_handle_1_.get(); | 772 return selection_handle_1_.get(); |
| 774 } | 773 } |
| 775 | 774 |
| 776 views::WidgetDelegateView* TouchSelectionControllerImpl::GetHandle2View() { | 775 views::WidgetDelegateView* TouchSelectionControllerImpl::GetHandle2View() { |
| 777 return selection_handle_2_.get(); | 776 return selection_handle_2_.get(); |
| 778 } | 777 } |
| 779 | 778 |
| 780 } // namespace views | 779 } // namespace views |
| OLD | NEW |