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

Side by Side Diff: chrome/browser/ui/webui/settings/chromeos/date_time_handler.h

Issue 2393703005: MD Settings: Date and Time page, part 1/3 (Closed)
Patch Set: Move SetInteger to WebUI CL Created 4 years, 2 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
(Empty)
1 // Copyright 2016 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.
4
5 #ifndef CHROME_BROWSER_UI_WEBUI_SETTINGS_CHROMEOS_DATE_TIME_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_SETTINGS_CHROMEOS_DATE_TIME_HANDLER_H_
7
8 #include "base/macros.h"
9 #include "chrome/browser/ui/webui/settings/settings_page_ui_handler.h"
10
11 namespace content {
12 class WebUIDataSource;
13 }
14
15 namespace chromeos {
16 namespace settings {
17
18 // Chrome OS date and time settings page UI handler.
19 class DateTimeHandler : public ::settings::SettingsPageUIHandler {
20 public:
21 ~DateTimeHandler() override;
22
23 // Adds load-time values to html_source before creating the handler.
24 static DateTimeHandler* Create(content::WebUIDataSource* html_source);
25
26 // SettingsPageUIHandler implementation.
27 void RegisterMessages() override;
28 void OnJavascriptAllowed() override;
29 void OnJavascriptDisallowed() override;
30
31 private:
32 DateTimeHandler();
33
34 DISALLOW_COPY_AND_ASSIGN(DateTimeHandler);
35 };
36
37 } // namespace settings
38 } // namespace chromeos
39
40 #endif // CHROME_BROWSER_UI_WEBUI_SETTINGS_CHROMEOS_DATE_TIME_HANDLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/BUILD.gn ('k') | chrome/browser/ui/webui/settings/chromeos/date_time_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698