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

Side by Side Diff: ash/system/tray_accessibility.cc

Issue 2920613003: Clean up unused grit header includes in ash/. (Closed)
Patch Set: Created 3 years, 6 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
« no previous file with comments | « ash/system/tray/tray_details_view_unittest.cc ('k') | ash/system/tray_caps_lock.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/tray_accessibility.h" 5 #include "ash/system/tray_accessibility.h"
6 6
7 #include <memory> 7 #include <memory>
8 #include <utility> 8 #include <utility>
9 9
10 #include "ash/accessibility_delegate.h" 10 #include "ash/accessibility_delegate.h"
(...skipping 12 matching lines...) Expand all
23 #include "ash/system/tray/tray_details_view.h" 23 #include "ash/system/tray/tray_details_view.h"
24 #include "ash/system/tray/tray_item_more.h" 24 #include "ash/system/tray/tray_item_more.h"
25 #include "ash/system/tray/tray_popup_utils.h" 25 #include "ash/system/tray/tray_popup_utils.h"
26 #include "ash/system/tray/tri_view.h" 26 #include "ash/system/tray/tri_view.h"
27 #include "ui/base/l10n/l10n_util.h" 27 #include "ui/base/l10n/l10n_util.h"
28 #include "ui/gfx/image/image.h" 28 #include "ui/gfx/image/image.h"
29 #include "ui/gfx/paint_vector_icon.h" 29 #include "ui/gfx/paint_vector_icon.h"
30 #include "ui/gfx/vector_icon_types.h" 30 #include "ui/gfx/vector_icon_types.h"
31 #include "ui/message_center/message_center.h" 31 #include "ui/message_center/message_center.h"
32 #include "ui/native_theme/native_theme.h" 32 #include "ui/native_theme/native_theme.h"
33 #include "ui/resources/grit/ui_resources.h"
34 #include "ui/views/controls/separator.h" 33 #include "ui/views/controls/separator.h"
35 #include "ui/views/widget/widget.h" 34 #include "ui/views/widget/widget.h"
36 35
37 namespace ash { 36 namespace ash {
38 namespace { 37 namespace {
39 38
40 const char kNotificationId[] = "chrome://settings/accessibility"; 39 const char kNotificationId[] = "chrome://settings/accessibility";
41 40
42 enum AccessibilityState { 41 enum AccessibilityState {
43 A11Y_NONE = 0, 42 A11Y_NONE = 0,
(...skipping 436 matching lines...) Expand 10 before | Expand all | Expand 10 after
480 gfx::Image(gfx::CreateVectorIcon(GetNotificationIcon(being_enabled), 479 gfx::Image(gfx::CreateVectorIcon(GetNotificationIcon(being_enabled),
481 kMenuIconSize, kMenuIconColor)), 480 kMenuIconSize, kMenuIconColor)),
482 base::string16(), GURL(), 481 base::string16(), GURL(),
483 message_center::NotifierId(message_center::NotifierId::APPLICATION, 482 message_center::NotifierId(message_center::NotifierId::APPLICATION,
484 system_notifier::kNotifierAccessibility), 483 system_notifier::kNotifierAccessibility),
485 message_center::RichNotificationData(), nullptr); 484 message_center::RichNotificationData(), nullptr);
486 message_center->AddNotification(std::move(notification)); 485 message_center->AddNotification(std::move(notification));
487 } 486 }
488 487
489 } // namespace ash 488 } // namespace ash
OLDNEW
« no previous file with comments | « ash/system/tray/tray_details_view_unittest.cc ('k') | ash/system/tray_caps_lock.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698