| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 "ash/common/system/tray/system_menu_button.h" | 5 #include "ash/system/tray/system_menu_button.h" |
| 6 | 6 |
| 7 #include "ash/common/ash_constants.h" | 7 #include "ash/common/ash_constants.h" |
| 8 #include "ash/common/system/tray/system_tray.h" | 8 #include "ash/system/tray/system_tray.h" |
| 9 #include "ash/common/system/tray/tray_constants.h" | 9 #include "ash/system/tray/tray_constants.h" |
| 10 #include "ash/common/system/tray/tray_popup_utils.h" | 10 #include "ash/system/tray/tray_popup_utils.h" |
| 11 #include "ui/base/l10n/l10n_util.h" | 11 #include "ui/base/l10n/l10n_util.h" |
| 12 #include "ui/gfx/paint_vector_icon.h" | 12 #include "ui/gfx/paint_vector_icon.h" |
| 13 #include "ui/views/animation/flood_fill_ink_drop_ripple.h" | 13 #include "ui/views/animation/flood_fill_ink_drop_ripple.h" |
| 14 #include "ui/views/animation/ink_drop_highlight.h" | 14 #include "ui/views/animation/ink_drop_highlight.h" |
| 15 #include "ui/views/animation/ink_drop_impl.h" | 15 #include "ui/views/animation/ink_drop_impl.h" |
| 16 #include "ui/views/animation/ink_drop_mask.h" | 16 #include "ui/views/animation/ink_drop_mask.h" |
| 17 #include "ui/views/animation/square_ink_drop_ripple.h" | 17 #include "ui/views/animation/square_ink_drop_ripple.h" |
| 18 #include "ui/views/border.h" | 18 #include "ui/views/border.h" |
| 19 #include "ui/views/painter.h" | 19 #include "ui/views/painter.h" |
| 20 | 20 |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 : TrayPopupUtils::CreateInkDropHighlight(ink_drop_style_, this, | 80 : TrayPopupUtils::CreateInkDropHighlight(ink_drop_style_, this, |
| 81 ink_drop_color_.value()); | 81 ink_drop_color_.value()); |
| 82 } | 82 } |
| 83 | 83 |
| 84 std::unique_ptr<views::InkDropMask> SystemMenuButton::CreateInkDropMask() | 84 std::unique_ptr<views::InkDropMask> SystemMenuButton::CreateInkDropMask() |
| 85 const { | 85 const { |
| 86 return TrayPopupUtils::CreateInkDropMask(ink_drop_style_, this); | 86 return TrayPopupUtils::CreateInkDropMask(ink_drop_style_, this); |
| 87 } | 87 } |
| 88 | 88 |
| 89 } // namespace ash | 89 } // namespace ash |
| OLD | NEW |