| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_SYSTEM_USER_BUTTON_FROM_VIEW_H_ | 5 #ifndef ASH_COMMON_SYSTEM_USER_BUTTON_FROM_VIEW_H_ |
| 6 #define ASH_SYSTEM_USER_BUTTON_FROM_VIEW_H_ | 6 #define ASH_COMMON_SYSTEM_USER_BUTTON_FROM_VIEW_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "ui/gfx/geometry/insets.h" | 9 #include "ui/gfx/geometry/insets.h" |
| 10 #include "ui/views/controls/button/custom_button.h" | 10 #include "ui/views/controls/button/custom_button.h" |
| 11 | 11 |
| 12 namespace ash { | 12 namespace ash { |
| 13 namespace tray { | 13 namespace tray { |
| 14 | 14 |
| 15 // This view is used to wrap it's content and transform it into button. | 15 // This view is used to wrap it's content and transform it into button. |
| 16 class ButtonFromView : public views::CustomButton { | 16 class ButtonFromView : public views::CustomButton { |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 | 60 |
| 61 // The insets which get used for the drawn accessibility (tab) frame. | 61 // The insets which get used for the drawn accessibility (tab) frame. |
| 62 gfx::Insets tab_frame_inset_; | 62 gfx::Insets tab_frame_inset_; |
| 63 | 63 |
| 64 DISALLOW_COPY_AND_ASSIGN(ButtonFromView); | 64 DISALLOW_COPY_AND_ASSIGN(ButtonFromView); |
| 65 }; | 65 }; |
| 66 | 66 |
| 67 } // namespace tray | 67 } // namespace tray |
| 68 } // namespace ash | 68 } // namespace ash |
| 69 | 69 |
| 70 #endif // ASH_SYSTEM_USER_BUTTON_FROM_VIEW_H_ | 70 #endif // ASH_COMMON_SYSTEM_USER_BUTTON_FROM_VIEW_H_ |
| OLD | NEW |