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

Side by Side Diff: chrome/browser/chromeos/dom_ui/labs_handler.cc

Issue 5025001: Removed Labs section from Chrome OS settings page. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed RegisterPref call Created 10 years, 1 month 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
(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 #include "chrome/browser/chromeos/dom_ui/labs_handler.h"
6
7 #include "app/l10n_util.h"
8 #include "base/values.h"
9 #include "grit/generated_resources.h"
10
11 LabsHandler::LabsHandler() {
12 }
13
14 LabsHandler::~LabsHandler() {
15 }
16
17 void LabsHandler::GetLocalizedValues(
18 DictionaryValue* localized_strings) {
19 DCHECK(localized_strings);
20 // Labs page - ChromeOS
21 localized_strings->SetString("labsPage",
22 l10n_util::GetStringUTF16(IDS_OPTIONS_LABS_TAB_LABEL));
23
24 localized_strings->SetString("mediaplayer_title",
25 l10n_util::GetStringUTF16(IDS_OPTIONS_SETTINGS_SECTION_TITLE_MEDIAPLAYER));
26 localized_strings->SetString("mediaplayer",
27 l10n_util::GetStringUTF16(IDS_OPTIONS_SETTINGS_MEDIAPLAYER_DESCRIPTION));
28
29 localized_strings->SetString("advanced_file_title",
30 l10n_util::GetStringUTF16(IDS_OPTIONS_SETTINGS_SECTION_TITLE_ADVANCEDFS));
31 localized_strings->SetString("advanced_filesystem",
32 l10n_util::GetStringUTF16(IDS_OPTIONS_SETTINGS_ADVANCEDFS_DESCRIPTION));
33
34 localized_strings->SetString("side_tabs_title",
35 l10n_util::GetStringUTF16(IDS_OPTIONS_SETTINGS_SECTION_TITLE_SIDE_TABS));
36 localized_strings->SetString("side_tabs",
37 l10n_util::GetStringUTF16(IDS_OPTIONS_SETTINGS_SIDE_TABS_DESCRIPTION));
38 }
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/dom_ui/labs_handler.h ('k') | chrome/browser/chromeos/usb_mount_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698