| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #ifndef ASH_LAUNCHER_TABBED_LAUNCHER_BUTTON_H_ | 5 #ifndef ASH_LAUNCHER_TABBED_LAUNCHER_BUTTON_H_ |
| 6 #define ASH_LAUNCHER_TABBED_LAUNCHER_BUTTON_H_ | 6 #define ASH_LAUNCHER_TABBED_LAUNCHER_BUTTON_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "ash/launcher/launcher_types.h" | 9 #include "ash/launcher/launcher_types.h" |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| 11 #include "base/timer.h" | 11 #include "base/timer.h" |
| 12 #include "ui/base/animation/animation_delegate.h" | 12 #include "ui/base/animation/animation_delegate.h" |
| 13 #include "ui/views/controls/button/image_button.h" | 13 #include "ui/views/controls/button/image_button.h" |
| 14 #include "ui/views/controls/glow_hover_controller.h" | 14 #include "ui/views/controls/glow_hover_controller.h" |
| 15 | 15 |
| 16 namespace ui { | 16 namespace ui { |
| 17 class MultiAnimation; | 17 class MultiAnimation; |
| 18 } | 18 } |
| 19 | 19 |
| 20 namespace aura_shell { | 20 namespace ash { |
| 21 namespace internal { | 21 namespace internal { |
| 22 | 22 |
| 23 class LauncherButtonHost; | 23 class LauncherButtonHost; |
| 24 | 24 |
| 25 // Button used for items on the launcher corresponding to tabbed windows. | 25 // Button used for items on the launcher corresponding to tabbed windows. |
| 26 class TabbedLauncherButton : public views::ImageButton { | 26 class TabbedLauncherButton : public views::ImageButton { |
| 27 public: | 27 public: |
| 28 TabbedLauncherButton(views::ButtonListener* listener, | 28 TabbedLauncherButton(views::ButtonListener* listener, |
| 29 LauncherButtonHost* host); | 29 LauncherButtonHost* host); |
| 30 virtual ~TabbedLauncherButton(); | 30 virtual ~TabbedLauncherButton(); |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 94 static ImageSet* bg_image_1_; | 94 static ImageSet* bg_image_1_; |
| 95 static ImageSet* bg_image_2_; | 95 static ImageSet* bg_image_2_; |
| 96 static ImageSet* bg_image_3_; | 96 static ImageSet* bg_image_3_; |
| 97 | 97 |
| 98 views::GlowHoverController hover_controller_; | 98 views::GlowHoverController hover_controller_; |
| 99 | 99 |
| 100 DISALLOW_COPY_AND_ASSIGN(TabbedLauncherButton); | 100 DISALLOW_COPY_AND_ASSIGN(TabbedLauncherButton); |
| 101 }; | 101 }; |
| 102 | 102 |
| 103 } // namespace internal | 103 } // namespace internal |
| 104 } // namespace aura_shell | 104 } // namespace ash |
| 105 | 105 |
| 106 #endif // ASH_LAUNCHER_TABBED_LAUNCHER_BUTTON_H_ | 106 #endif // ASH_LAUNCHER_TABBED_LAUNCHER_BUTTON_H_ |
| OLD | NEW |