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

Side by Side Diff: chrome/browser/ui/webui/chromeos/login/core_oobe_handler.h

Issue 9836039: Add reporting notification to the enterprise banner on the CrOS login screen. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments. Created 8 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 #ifndef CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_CORE_OOBE_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_CORE_OOBE_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_CORE_OOBE_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_CORE_OOBE_HANDLER_H_
7 #pragma once 7 #pragma once
8 8
9 #include "chrome/browser/chromeos/login/version_info_updater.h"
9 #include "chrome/browser/ui/webui/chromeos/login/base_screen_handler.h" 10 #include "chrome/browser/ui/webui/chromeos/login/base_screen_handler.h"
10 #include "chrome/browser/chromeos/login/version_info_updater.h"
11 11
12 namespace base { 12 namespace base {
13 class ListValue; 13 class ListValue;
14 } 14 }
15 15
16 namespace chromeos { 16 namespace chromeos {
17 17
18 class OobeUI; 18 class OobeUI;
19 19
20 // The core handler for Javascript messages related to the "oobe" view. 20 // The core handler for Javascript messages related to the "oobe" view.
(...skipping 10 matching lines...) Expand all
31 31
32 // WebUIMessageHandler implementation. 32 // WebUIMessageHandler implementation.
33 virtual void RegisterMessages() OVERRIDE; 33 virtual void RegisterMessages() OVERRIDE;
34 34
35 // VersionInfoUpdater::Delegate implementation: 35 // VersionInfoUpdater::Delegate implementation:
36 virtual void OnOSVersionLabelTextUpdated( 36 virtual void OnOSVersionLabelTextUpdated(
37 const std::string& os_version_label_text) OVERRIDE; 37 const std::string& os_version_label_text) OVERRIDE;
38 virtual void OnBootTimesLabelTextUpdated( 38 virtual void OnBootTimesLabelTextUpdated(
39 const std::string& boot_times_label_text) OVERRIDE; 39 const std::string& boot_times_label_text) OVERRIDE;
40 virtual void OnEnterpriseInfoUpdated( 40 virtual void OnEnterpriseInfoUpdated(
41 const std::string& message_text) OVERRIDE; 41 const std::string& message_text,
42 bool reporting_hint) OVERRIDE;
42 43
43 // Show or hide OOBE UI. 44 // Show or hide OOBE UI.
44 void ShowOobeUI(bool show); 45 void ShowOobeUI(bool show);
45 46
46 bool show_oobe_ui() const { 47 bool show_oobe_ui() const {
47 return show_oobe_ui_; 48 return show_oobe_ui_;
48 } 49 }
49 50
50 private: 51 private:
51 // Handlers for JS WebUI messages. 52 // Handlers for JS WebUI messages.
(...skipping 14 matching lines...) Expand all
66 67
67 // Updates when version info is changed. 68 // Updates when version info is changed.
68 VersionInfoUpdater version_info_updater_; 69 VersionInfoUpdater version_info_updater_;
69 70
70 DISALLOW_COPY_AND_ASSIGN(CoreOobeHandler); 71 DISALLOW_COPY_AND_ASSIGN(CoreOobeHandler);
71 }; 72 };
72 73
73 } // namespace chromeos 74 } // namespace chromeos
74 75
75 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_CORE_OOBE_HANDLER_H_ 76 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_CORE_OOBE_HANDLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/resources/chromeos/login/oobe.html ('k') | chrome/browser/ui/webui/chromeos/login/core_oobe_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698