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

Side by Side Diff: chrome/browser/chromeos/dom_ui/system_options_handler.h

Issue 2781005: Option dialog DOM UI - ChromeOS System page. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 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 | Annotate | Revision Log
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 // Copyright (c) 2010 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_CHROMEOS_DOM_UI_SYSTEM_OPTIONS_HANDLER_H_
6 #define CHROME_BROWSER_CHROMEOS_DOM_UI_SYSTEM_OPTIONS_HANDLER_H_
7
8 #include <string>
9 #include <vector>
10
11 #include "chrome/browser/dom_ui/options_ui.h"
12 #include "third_party/icu/public/i18n/unicode/timezone.h"
13
14 // ChromeOS system options page UI handler.
15 class SystemOptionsHandler : public OptionsPageUIHandler {
16 public:
17 SystemOptionsHandler();
18 virtual ~SystemOptionsHandler();
19
20 // OptionsUIHandler implementation.
21 virtual void GetLocalizedValues(DictionaryValue* localized_strings);
22
23 private:
24 // Creates the map of timezones used by the options page.
25 DictionaryValue* GetTimezoneMap();
26
27 // Gets timezone name.
28 std::string GetTimezoneName(const icu::TimeZone* timezone);
29
30 // Gets timezone ID which is also used as timezone pref value.
31 std::wstring GetTimezoneID(const icu::TimeZone* timezone);
32
33 // Timezones.
34 std::vector<icu::TimeZone*> timezones_;
35
36 DISALLOW_COPY_AND_ASSIGN(SystemOptionsHandler);
37 };
38
39 #endif // CHROME_BROWSER_CHROMEOS_DOM_UI_SYSTEM_OPTIONS_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698