| 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 #include <stddef.h> | 7 #include <stddef.h> |
| 8 | 8 |
| 9 #include <algorithm> | 9 #include <algorithm> |
| 10 #include <iterator> | 10 #include <iterator> |
| (...skipping 22 matching lines...) Expand all Loading... |
| 33 #include "chrome/browser/ui/views/touch_uma/touch_uma.h" | 33 #include "chrome/browser/ui/views/touch_uma/touch_uma.h" |
| 34 #include "chrome/common/chrome_switches.h" | 34 #include "chrome/common/chrome_switches.h" |
| 35 #include "chrome/grit/generated_resources.h" | 35 #include "chrome/grit/generated_resources.h" |
| 36 #include "content/public/browser/user_metrics.h" | 36 #include "content/public/browser/user_metrics.h" |
| 37 #include "content/public/common/content_switches.h" | 37 #include "content/public/common/content_switches.h" |
| 38 #include "grit/theme_resources.h" | 38 #include "grit/theme_resources.h" |
| 39 #include "third_party/skia/include/core/SkColorFilter.h" | 39 #include "third_party/skia/include/core/SkColorFilter.h" |
| 40 #include "third_party/skia/include/effects/SkBlurMaskFilter.h" | 40 #include "third_party/skia/include/effects/SkBlurMaskFilter.h" |
| 41 #include "third_party/skia/include/effects/SkLayerDrawLooper.h" | 41 #include "third_party/skia/include/effects/SkLayerDrawLooper.h" |
| 42 #include "third_party/skia/include/pathops/SkPathOps.h" | 42 #include "third_party/skia/include/pathops/SkPathOps.h" |
| 43 #include "ui/accessibility/ax_enums.h" |
| 43 #include "ui/accessibility/ax_view_state.h" | 44 #include "ui/accessibility/ax_view_state.h" |
| 44 #include "ui/base/default_theme_provider.h" | 45 #include "ui/base/default_theme_provider.h" |
| 45 #include "ui/base/dragdrop/drag_drop_types.h" | 46 #include "ui/base/dragdrop/drag_drop_types.h" |
| 46 #include "ui/base/l10n/l10n_util.h" | 47 #include "ui/base/l10n/l10n_util.h" |
| 47 #include "ui/base/material_design/material_design_controller.h" | 48 #include "ui/base/material_design/material_design_controller.h" |
| 48 #include "ui/base/models/list_selection_model.h" | 49 #include "ui/base/models/list_selection_model.h" |
| 49 #include "ui/base/resource/resource_bundle.h" | 50 #include "ui/base/resource/resource_bundle.h" |
| 50 #include "ui/compositor/compositing_recorder.h" | 51 #include "ui/compositor/compositing_recorder.h" |
| 51 #include "ui/compositor/paint_recorder.h" | 52 #include "ui/compositor/paint_recorder.h" |
| 52 #include "ui/display/display.h" | 53 #include "ui/display/display.h" |
| (...skipping 2838 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2891 ConvertPointToViewAndGetEventHandler(this, newtab_button_, point); | 2892 ConvertPointToViewAndGetEventHandler(this, newtab_button_, point); |
| 2892 if (view) | 2893 if (view) |
| 2893 return view; | 2894 return view; |
| 2894 } | 2895 } |
| 2895 Tab* tab = FindTabForEvent(point); | 2896 Tab* tab = FindTabForEvent(point); |
| 2896 if (tab) | 2897 if (tab) |
| 2897 return ConvertPointToViewAndGetEventHandler(this, tab, point); | 2898 return ConvertPointToViewAndGetEventHandler(this, tab, point); |
| 2898 } | 2899 } |
| 2899 return this; | 2900 return this; |
| 2900 } | 2901 } |
| OLD | NEW |