Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(87)

Side by Side Diff: ash/system/user/button_from_view.h

Issue 392013005: [#1] Delete reduntdant 19 header files in ui/gfx (8 of 19 by this) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: sorted includes Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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_SYSTEM_USER_BUTTON_FROM_VIEW_H_
6 #define ASH_SYSTEM_USER_BUTTON_FROM_VIEW_H_ 6 #define ASH_SYSTEM_USER_BUTTON_FROM_VIEW_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "ui/gfx/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 {
17 public: 17 public:
18 // The |content| is the content which is shown within the button. The 18 // The |content| is the content which is shown within the button. The
19 // |button_listener| will be informed - if provided - when a button was 19 // |button_listener| will be informed - if provided - when a button was
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 // The insets which get used for the drawn accessibility (tab) frame. 59 // The insets which get used for the drawn accessibility (tab) frame.
60 gfx::Insets tab_frame_inset_; 60 gfx::Insets tab_frame_inset_;
61 61
62 DISALLOW_COPY_AND_ASSIGN(ButtonFromView); 62 DISALLOW_COPY_AND_ASSIGN(ButtonFromView);
63 }; 63 };
64 64
65 } // namespace tray 65 } // namespace tray
66 } // namespace ash 66 } // namespace ash
67 67
68 #endif // ASH_SYSTEM_USER_BUTTON_FROM_VIEW_H_ 68 #endif // ASH_SYSTEM_USER_BUTTON_FROM_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698