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

Side by Side Diff: ash/system/tray/system_tray_test_api.h

Issue 2930123002: Tablet WM : Swiping on system tray bubble. (Closed)
Patch Set: Addressed xiyuan's comments. 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
OLDNEW
1 // Copyright 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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 #ifndef ASH_SYSTEM_TRAY_SYSTEM_TRAY_TEST_API_H_ 5 #ifndef ASH_SYSTEM_TRAY_SYSTEM_TRAY_TEST_API_H_
6 #define ASH_SYSTEM_TRAY_SYSTEM_TRAY_TEST_API_H_ 6 #define ASH_SYSTEM_TRAY_SYSTEM_TRAY_TEST_API_H_
7 7
8 #include "ash/system/tray/system_tray.h" 8 #include "ash/system/tray/system_tray.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 10
(...skipping 10 matching lines...) Expand all
21 TrayEnterprise* tray_enterprise() { return tray_->tray_enterprise_; } 21 TrayEnterprise* tray_enterprise() { return tray_->tray_enterprise_; }
22 TrayNetwork* tray_network() { return tray_->tray_network_; } 22 TrayNetwork* tray_network() { return tray_->tray_network_; }
23 TraySessionLengthLimit* tray_session_length_limit() { 23 TraySessionLengthLimit* tray_session_length_limit() {
24 return tray_->tray_session_length_limit_; 24 return tray_->tray_session_length_limit_;
25 } 25 }
26 TraySupervisedUser* tray_supervised_user() { 26 TraySupervisedUser* tray_supervised_user() {
27 return tray_->tray_supervised_user_; 27 return tray_->tray_supervised_user_;
28 } 28 }
29 TraySystemInfo* tray_system_info() { return tray_->tray_system_info_; } 29 TraySystemInfo* tray_system_info() { return tray_->tray_system_info_; }
30 TrayTiles* tray_tiles() { return tray_->tray_tiles_; } 30 TrayTiles* tray_tiles() { return tray_->tray_tiles_; }
31 void set_in_maximize_mode(bool in_maximize_mode) {
32 tray_->in_maximize_mode_ = in_maximize_mode;
33 }
31 34
32 private: 35 private:
33 SystemTray* const tray_; 36 SystemTray* const tray_;
34 37
35 DISALLOW_COPY_AND_ASSIGN(SystemTrayTestApi); 38 DISALLOW_COPY_AND_ASSIGN(SystemTrayTestApi);
36 }; 39 };
37 40
38 } // namespace ash 41 } // namespace ash
39 42
40 #endif // ASH_SYSTEM_TRAY_SYSTEM_TRAY_TEST_API_H_ 43 #endif // ASH_SYSTEM_TRAY_SYSTEM_TRAY_TEST_API_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698