OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/browser/ui/views/tabs/tab_strip.h" | 5 #include "chrome/browser/ui/views/tabs/tab_strip.h" |
6 | 6 |
7 #if defined(OS_WIN) | 7 #if defined(OS_WIN) |
8 #include <windowsx.h> | 8 #include <windowsx.h> |
9 #endif | 9 #endif |
10 | 10 |
(...skipping 28 matching lines...) Expand all Loading... |
39 #include "ui/base/models/list_selection_model.h" | 39 #include "ui/base/models/list_selection_model.h" |
40 #include "ui/base/resource/resource_bundle.h" | 40 #include "ui/base/resource/resource_bundle.h" |
41 #include "ui/compositor/compositing_recorder.h" | 41 #include "ui/compositor/compositing_recorder.h" |
42 #include "ui/compositor/paint_recorder.h" | 42 #include "ui/compositor/paint_recorder.h" |
43 #include "ui/gfx/animation/animation_container.h" | 43 #include "ui/gfx/animation/animation_container.h" |
44 #include "ui/gfx/animation/throb_animation.h" | 44 #include "ui/gfx/animation/throb_animation.h" |
45 #include "ui/gfx/canvas.h" | 45 #include "ui/gfx/canvas.h" |
46 #include "ui/gfx/display.h" | 46 #include "ui/gfx/display.h" |
47 #include "ui/gfx/geometry/rect_conversions.h" | 47 #include "ui/gfx/geometry/rect_conversions.h" |
48 #include "ui/gfx/geometry/size.h" | 48 #include "ui/gfx/geometry/size.h" |
| 49 #include "ui/gfx/host_desktop_type.h" |
49 #include "ui/gfx/image/image_skia.h" | 50 #include "ui/gfx/image/image_skia.h" |
50 #include "ui/gfx/image/image_skia_operations.h" | 51 #include "ui/gfx/image/image_skia_operations.h" |
51 #include "ui/gfx/path.h" | 52 #include "ui/gfx/path.h" |
52 #include "ui/gfx/screen.h" | 53 #include "ui/gfx/screen.h" |
53 #include "ui/gfx/skia_util.h" | 54 #include "ui/gfx/skia_util.h" |
54 #include "ui/views/controls/image_view.h" | 55 #include "ui/views/controls/image_view.h" |
55 #include "ui/views/masked_targeter_delegate.h" | 56 #include "ui/views/masked_targeter_delegate.h" |
56 #include "ui/views/mouse_watcher_view_host.h" | 57 #include "ui/views/mouse_watcher_view_host.h" |
57 #include "ui/views/rect_based_targeting_utils.h" | 58 #include "ui/views/rect_based_targeting_utils.h" |
58 #include "ui/views/view_model_utils.h" | 59 #include "ui/views/view_model_utils.h" |
(...skipping 2720 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2779 ConvertPointToViewAndGetEventHandler(this, newtab_button_, point); | 2780 ConvertPointToViewAndGetEventHandler(this, newtab_button_, point); |
2780 if (view) | 2781 if (view) |
2781 return view; | 2782 return view; |
2782 } | 2783 } |
2783 Tab* tab = FindTabForEvent(point); | 2784 Tab* tab = FindTabForEvent(point); |
2784 if (tab) | 2785 if (tab) |
2785 return ConvertPointToViewAndGetEventHandler(this, tab, point); | 2786 return ConvertPointToViewAndGetEventHandler(this, tab, point); |
2786 } | 2787 } |
2787 return this; | 2788 return this; |
2788 } | 2789 } |
OLD | NEW |