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

Side by Side Diff: ash/system/session/tray_session_length_limit.cc

Issue 178183005: Add LogoutConfirmationController to show LogoutConfirmationDialogs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Comments addressed. Created 6 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/session_length_limit/tray_session_length_limit.h" 5 #include "ash/system/session/tray_session_length_limit.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "ash/shelf/shelf_types.h" 9 #include "ash/shelf/shelf_types.h"
10 #include "ash/shell.h" 10 #include "ash/shell.h"
11 #include "ash/system/system_notifier.h" 11 #include "ash/system/system_notifier.h"
12 #include "ash/system/tray/system_tray.h" 12 #include "ash/system/tray/system_tray.h"
13 #include "ash/system/tray/system_tray_delegate.h" 13 #include "ash/system/tray/system_tray_delegate.h"
14 #include "ash/system/tray/system_tray_notifier.h" 14 #include "ash/system/tray/system_tray_notifier.h"
15 #include "ash/system/tray/tray_constants.h" 15 #include "ash/system/tray/tray_constants.h"
(...skipping 367 matching lines...) Expand 10 before | Expand all | Expand 10 after
383 if (tray_view_) 383 if (tray_view_)
384 tray_view_->Update(); 384 tray_view_->Update();
385 } 385 }
386 386
387 bool TraySessionLengthLimit::IsTrayViewVisibleForTest() { 387 bool TraySessionLengthLimit::IsTrayViewVisibleForTest() {
388 return tray_view_ && tray_view_->visible(); 388 return tray_view_ && tray_view_->visible();
389 } 389 }
390 390
391 } // namespace internal 391 } // namespace internal
392 } // namespace ash 392 } // namespace ash
OLDNEW
« no previous file with comments | « ash/system/session/tray_session_length_limit.h ('k') | ash/system/session/tray_session_length_limit_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698