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

Side by Side Diff: ash/test/test_session_state_delegate.cc

Issue 184113005: Removal of drag window to user tray icon functionality (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . 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
« no previous file with comments | « ash/test/test_session_state_delegate.h ('k') | ash/wm/drag_window_resizer.h » ('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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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/test/test_session_state_delegate.h" 5 #include "ash/test/test_session_state_delegate.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <string> 8 #include <string>
9 9
10 #include "ash/shell.h" 10 #include "ash/shell.h"
(...skipping 16 matching lines...) Expand all
27 namespace ash { 27 namespace ash {
28 namespace test { 28 namespace test {
29 29
30 TestSessionStateDelegate::TestSessionStateDelegate() 30 TestSessionStateDelegate::TestSessionStateDelegate()
31 : has_active_user_(false), 31 : has_active_user_(false),
32 active_user_session_started_(false), 32 active_user_session_started_(false),
33 can_lock_screen_(true), 33 can_lock_screen_(true),
34 should_lock_screen_before_suspending_(false), 34 should_lock_screen_before_suspending_(false),
35 screen_locked_(false), 35 screen_locked_(false),
36 user_adding_screen_running_(false), 36 user_adding_screen_running_(false),
37 logged_in_users_(1), 37 logged_in_users_(1) {
38 num_transfer_to_desktop_of_user_calls_(0) {
39 } 38 }
40 39
41 TestSessionStateDelegate::~TestSessionStateDelegate() { 40 TestSessionStateDelegate::~TestSessionStateDelegate() {
42 } 41 }
43 42
44 int TestSessionStateDelegate::GetMaximumNumberOfLoggedInUsers() const { 43 int TestSessionStateDelegate::GetMaximumNumberOfLoggedInUsers() const {
45 return 3; 44 return 3;
46 } 45 }
47 46
48 int TestSessionStateDelegate::NumberOfLoggedInUsers() const { 47 int TestSessionStateDelegate::NumberOfLoggedInUsers() const {
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 } 151 }
153 152
154 void TestSessionStateDelegate::AddSessionStateObserver( 153 void TestSessionStateDelegate::AddSessionStateObserver(
155 SessionStateObserver* observer) { 154 SessionStateObserver* observer) {
156 } 155 }
157 156
158 void TestSessionStateDelegate::RemoveSessionStateObserver( 157 void TestSessionStateDelegate::RemoveSessionStateObserver(
159 SessionStateObserver* observer) { 158 SessionStateObserver* observer) {
160 } 159 }
161 160
162 bool TestSessionStateDelegate::TransferWindowToDesktopOfUser(
163 aura::Window* window,
164 ash::MultiProfileIndex index) {
165 num_transfer_to_desktop_of_user_calls_++;
166 return false;
167 }
168
169 } // namespace test 161 } // namespace test
170 } // namespace ash 162 } // namespace ash
OLDNEW
« no previous file with comments | « ash/test/test_session_state_delegate.h ('k') | ash/wm/drag_window_resizer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698