summaryrefslogtreecommitdiffstats
path: root/ash/test/status_area_widget_test_helper.h
blob: e1867ce1b965122529a2b2345e4fed224aea6552 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef ASH_SYSTEM_STATUS_AREA_WIDGET_TEST_HELPER_H_
#define ASH_SYSTEM_STATUS_AREA_WIDGET_TEST_HELPER_H_

#include "ash/system/user/login_status.h"
#include "base/macros.h"

namespace ash {

class StatusAreaWidget;

class StatusAreaWidgetTestHelper {
 public:
  static user::LoginStatus GetUserLoginStatus();

  // Returns the StatusAreaWidget that appears on the primary display.
  static StatusAreaWidget* GetStatusAreaWidget();

  // Returns the StatusAreaWidget that appears on the secondary display.
  static StatusAreaWidget* GetSecondaryStatusAreaWidget();

 private:
  DISALLOW_IMPLICIT_CONSTRUCTORS(StatusAreaWidgetTestHelper);
};

}  // namespace ash

#endif  // ASH_SYSTEM_STATUS_AREA_WIDGET_TEST_HELPER_H_