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

Side by Side Diff: chrome/browser/notifications/login_state_notification_blocker_chromeos.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 "chrome/browser/notifications/login_state_notification_blocker_chromeos .h" 5 #include "chrome/browser/notifications/login_state_notification_blocker_chromeos .h"
6 6
7 #include "ash/common/wm_shell.h"
8 #include "ash/root_window_controller.h" 7 #include "ash/root_window_controller.h"
9 #include "ash/system/system_notifier.h" 8 #include "ash/system/system_notifier.h"
10 #include "ash/wm/window_properties.h" 9 #include "ash/wm/window_properties.h"
10 #include "ash/wm_shell.h"
11 #include "chrome/browser/chrome_notification_types.h" 11 #include "chrome/browser/chrome_notification_types.h"
12 #include "content/public/browser/notification_service.h" 12 #include "content/public/browser/notification_service.h"
13 #include "ui/aura/window.h" 13 #include "ui/aura/window.h"
14 #include "ui/aura/window_event_dispatcher.h" 14 #include "ui/aura/window_event_dispatcher.h"
15 #include "ui/message_center/message_center.h" 15 #include "ui/message_center/message_center.h"
16 16
17 LoginStateNotificationBlockerChromeOS::LoginStateNotificationBlockerChromeOS( 17 LoginStateNotificationBlockerChromeOS::LoginStateNotificationBlockerChromeOS(
18 message_center::MessageCenter* message_center) 18 message_center::MessageCenter* message_center)
19 : NotificationBlocker(message_center), 19 : NotificationBlocker(message_center),
20 locked_(false), 20 locked_(false),
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 NotifyBlockingStateChanged(); 78 NotifyBlockingStateChanged();
79 } 79 }
80 80
81 void LoginStateNotificationBlockerChromeOS::OnUserAddingStarted() { 81 void LoginStateNotificationBlockerChromeOS::OnUserAddingStarted() {
82 NotifyBlockingStateChanged(); 82 NotifyBlockingStateChanged();
83 } 83 }
84 84
85 void LoginStateNotificationBlockerChromeOS::OnUserAddingFinished() { 85 void LoginStateNotificationBlockerChromeOS::OnUserAddingFinished() {
86 NotifyBlockingStateChanged(); 86 NotifyBlockingStateChanged();
87 } 87 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698