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

Side by Side Diff: ash/system/power/tray_power.cc

Issue 12390049: views: Migrate ash_shell buttons to LabelButton (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/system/power/tray_power.h" 5 #include "ash/system/power/tray_power.h"
6 6
7 #include "ash/ash_switches.h" 7 #include "ash/ash_switches.h"
8 #include "ash/shell.h" 8 #include "ash/shell.h"
9 #include "ash/system/date/date_view.h" 9 #include "ash/system/date/date_view.h"
10 #include "ash/system/power/power_status_view.h" 10 #include "ash/system/power/power_status_view.h"
(...skipping 12 matching lines...) Expand all
23 #include "third_party/icu/public/i18n/unicode/fieldpos.h" 23 #include "third_party/icu/public/i18n/unicode/fieldpos.h"
24 #include "third_party/icu/public/i18n/unicode/fmtable.h" 24 #include "third_party/icu/public/i18n/unicode/fmtable.h"
25 #include "third_party/skia/include/core/SkRect.h" 25 #include "third_party/skia/include/core/SkRect.h"
26 #include "ui/base/l10n/l10n_util.h" 26 #include "ui/base/l10n/l10n_util.h"
27 #include "ui/base/resource/resource_bundle.h" 27 #include "ui/base/resource/resource_bundle.h"
28 #include "ui/gfx/image/image.h" 28 #include "ui/gfx/image/image.h"
29 #include "ui/gfx/image/image_skia.h" 29 #include "ui/gfx/image/image_skia.h"
30 #include "ui/gfx/image/image_skia_operations.h" 30 #include "ui/gfx/image/image_skia_operations.h"
31 #include "ui/gfx/size.h" 31 #include "ui/gfx/size.h"
32 #include "ui/views/controls/button/button.h" 32 #include "ui/views/controls/button/button.h"
33 #include "ui/views/controls/button/text_button.h"
34 #include "ui/views/controls/image_view.h" 33 #include "ui/views/controls/image_view.h"
35 #include "ui/views/controls/label.h" 34 #include "ui/views/controls/label.h"
36 #include "ui/views/layout/box_layout.h" 35 #include "ui/views/layout/box_layout.h"
37 #include "ui/views/layout/fill_layout.h" 36 #include "ui/views/layout/fill_layout.h"
38 #include "ui/views/layout/grid_layout.h" 37 #include "ui/views/layout/grid_layout.h"
39 #include "ui/views/view.h" 38 #include "ui/views/view.h"
40 #include "ui/views/widget/widget.h" 39 #include "ui/views/widget/widget.h"
41 40
42 namespace ash { 41 namespace ash {
43 namespace internal { 42 namespace internal {
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
267 return false; 266 return false;
268 case NOTIFICATION_CRITICAL: 267 case NOTIFICATION_CRITICAL:
269 return false; 268 return false;
270 } 269 }
271 NOTREACHED(); 270 NOTREACHED();
272 return false; 271 return false;
273 } 272 }
274 273
275 } // namespace internal 274 } // namespace internal
276 } // namespace ash 275 } // namespace ash
OLDNEW
« ash/shell/window_type_launcher.cc ('K') | « ash/system/date/tray_date.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698