| 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_APP_LIST_DROP_SHADOW_LABEL_H_ | 5 #ifndef ASH_APP_LIST_DROP_SHADOW_LABEL_H_ |
| 6 #define ASH_APP_LIST_DROP_SHADOW_LABEL_H_ | 6 #define ASH_APP_LIST_DROP_SHADOW_LABEL_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "ui/gfx/font.h" | 9 #include "ui/gfx/font.h" |
| 10 #include "ui/views/controls/label.h" | 10 #include "ui/views/controls/label.h" |
| 11 | 11 |
| 12 namespace aura_shell { | 12 namespace ash { |
| 13 | 13 |
| 14 ///////////////////////////////////////////////////////////////////////////// | 14 ///////////////////////////////////////////////////////////////////////////// |
| 15 // | 15 // |
| 16 // DropShadowLabel class | 16 // DropShadowLabel class |
| 17 // | 17 // |
| 18 // A drop shadow label is a view subclass that can display a string | 18 // A drop shadow label is a view subclass that can display a string |
| 19 // with a drop shadow. | 19 // with a drop shadow. |
| 20 // | 20 // |
| 21 ///////////////////////////////////////////////////////////////////////////// | 21 ///////////////////////////////////////////////////////////////////////////// |
| 22 class DropShadowLabel : public views::Label { | 22 class DropShadowLabel : public views::Label { |
| (...skipping 19 matching lines...) Expand all Loading... |
| 42 | 42 |
| 43 protected: | 43 protected: |
| 44 virtual gfx::Size GetTextSize() const OVERRIDE; | 44 virtual gfx::Size GetTextSize() const OVERRIDE; |
| 45 | 45 |
| 46 private: | 46 private: |
| 47 int drop_shadow_size_; | 47 int drop_shadow_size_; |
| 48 | 48 |
| 49 DISALLOW_COPY_AND_ASSIGN(DropShadowLabel); | 49 DISALLOW_COPY_AND_ASSIGN(DropShadowLabel); |
| 50 }; | 50 }; |
| 51 | 51 |
| 52 } // namespace aura_shell | 52 } // namespace ash |
| 53 | 53 |
| 54 #endif // ASH_APP_LIST_DROP_SHADOW_LABEL_H_ | 54 #endif // ASH_APP_LIST_DROP_SHADOW_LABEL_H_ |
| OLD | NEW |