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

Side by Side Diff: ash/system/locale/locale_notification_controller.cc

Issue 2729363002: chromeos: Move files in //ash/common to //ash, part 3 (Closed)
Patch Set: Created 3 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/locale/locale_notification_controller.h" 5 #include "ash/system/locale/locale_notification_controller.h"
6 6
7 #include <memory> 7 #include <memory>
8 #include <utility> 8 #include <utility>
9 9
10 #include "ash/common/wm_shell.h"
11 #include "ash/resources/grit/ash_resources.h" 10 #include "ash/resources/grit/ash_resources.h"
12 #include "ash/strings/grit/ash_strings.h" 11 #include "ash/strings/grit/ash_strings.h"
13 #include "ash/system/system_notifier.h" 12 #include "ash/system/system_notifier.h"
14 #include "ash/system/tray/system_tray_notifier.h" 13 #include "ash/system/tray/system_tray_notifier.h"
14 #include "ash/wm_shell.h"
15 #include "base/strings/string16.h" 15 #include "base/strings/string16.h"
16 #include "ui/base/l10n/l10n_util.h" 16 #include "ui/base/l10n/l10n_util.h"
17 #include "ui/base/resource/resource_bundle.h" 17 #include "ui/base/resource/resource_bundle.h"
18 #include "ui/message_center/message_center.h" 18 #include "ui/message_center/message_center.h"
19 #include "ui/message_center/notification.h" 19 #include "ui/message_center/notification.h"
20 #include "ui/message_center/notification_delegate.h" 20 #include "ui/message_center/notification_delegate.h"
21 #include "ui/message_center/notification_types.h" 21 #include "ui/message_center/notification_types.h"
22 22
23 using message_center::Notification; 23 using message_center::Notification;
24 24
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 bundle.GetImageNamed(IDR_AURA_UBER_TRAY_LOCALE), 123 bundle.GetImageNamed(IDR_AURA_UBER_TRAY_LOCALE),
124 base::string16() /* display_source */, GURL(), 124 base::string16() /* display_source */, GURL(),
125 message_center::NotifierId(message_center::NotifierId::SYSTEM_COMPONENT, 125 message_center::NotifierId(message_center::NotifierId::SYSTEM_COMPONENT,
126 system_notifier::kNotifierLocale), 126 system_notifier::kNotifierLocale),
127 optional, new LocaleNotificationDelegate(callback))); 127 optional, new LocaleNotificationDelegate(callback)));
128 message_center::MessageCenter::Get()->AddNotification( 128 message_center::MessageCenter::Get()->AddNotification(
129 std::move(notification)); 129 std::move(notification));
130 } 130 }
131 131
132 } // namespace ash 132 } // namespace ash
OLDNEW
« no previous file with comments | « ash/system/keyboard_brightness_controller.cc ('k') | ash/system/media_security/multi_profile_media_tray_item.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698