ozone: evdev: Sync caps lock LED state to evdev
[chromium-blink-merge.git] / chrome / browser / chromeos / login / ui / views / user_board_view.h
blobdae7a7dcbd6b61d61ed33156a1633e87b2684134
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_UI_VIEWS_USER_BOARD_VIEW_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_UI_VIEWS_USER_BOARD_VIEW_H_
8 #include <string>
10 #include "base/memory/scoped_ptr.h"
11 #include "base/strings/string16.h"
12 #include "base/values.h"
13 #include "chrome/browser/signin/screenlock_bridge.h"
15 namespace chromeos {
17 class UserBoardModel;
19 // Interface between user board screen and its representation, either WebUI
20 // or Views one.
21 class UserBoardView {
22 public:
23 virtual ~UserBoardView() {}
25 virtual void Bind(UserBoardModel& model) = 0;
26 virtual void Unbind() = 0;
28 virtual void SetPublicSessionDisplayName(const std::string& user_id,
29 const std::string& display_name) = 0;
30 virtual void SetPublicSessionLocales(const std::string& user_id,
31 scoped_ptr<base::ListValue> locales,
32 const std::string& default_locale,
33 bool multiple_recommended_locales) = 0;
34 virtual void ShowBannerMessage(const base::string16& message) = 0;
35 virtual void ShowUserPodCustomIcon(const std::string& user_id,
36 const base::DictionaryValue& icon) = 0;
37 virtual void HideUserPodCustomIcon(const std::string& user_id) = 0;
38 virtual void SetAuthType(const std::string& user_id,
39 ScreenlockBridge::LockHandler::AuthType auth_type,
40 const base::string16& initial_value) = 0;
43 } // namespace chromeos
45 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_UI_VIEWS_USER_BOARD_VIEW_H_