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

Side by Side Diff: chrome/browser/ui/webui/chromeos/login/network_screen_handler.cc

Issue 2223213003: ChromeOS: Implement Accessibility Options screen of material design OOBE. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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
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 #include "chrome/browser/ui/webui/chromeos/login/network_screen_handler.h" 5 #include "chrome/browser/ui/webui/chromeos/login/network_screen_handler.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/bind_helpers.h" 10 #include "base/bind_helpers.h"
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 builder->Add("selectKeyboard", IDS_KEYBOARD_SELECTION_SELECT); 159 builder->Add("selectKeyboard", IDS_KEYBOARD_SELECTION_SELECT);
160 builder->Add("selectNetwork", IDS_NETWORK_SELECTION_SELECT); 160 builder->Add("selectNetwork", IDS_NETWORK_SELECTION_SELECT);
161 builder->Add("selectTimezone", IDS_OPTIONS_SETTINGS_TIMEZONE_DESCRIPTION); 161 builder->Add("selectTimezone", IDS_OPTIONS_SETTINGS_TIMEZONE_DESCRIPTION);
162 builder->Add("proxySettings", IDS_OPTIONS_PROXIES_CONFIGURE_BUTTON); 162 builder->Add("proxySettings", IDS_OPTIONS_PROXIES_CONFIGURE_BUTTON);
163 builder->Add("continueButton", IDS_NETWORK_SELECTION_CONTINUE_BUTTON); 163 builder->Add("continueButton", IDS_NETWORK_SELECTION_CONTINUE_BUTTON);
164 builder->Add("debuggingFeaturesLink", IDS_NETWORK_ENABLE_DEV_FEATURES_LINK); 164 builder->Add("debuggingFeaturesLink", IDS_NETWORK_ENABLE_DEV_FEATURES_LINK);
165 165
166 // MD-OOBE 166 // MD-OOBE
167 builder->Add("oobeOKButtonText", IDS_OOBE_OK_BUTTON_TEXT); 167 builder->Add("oobeOKButtonText", IDS_OOBE_OK_BUTTON_TEXT);
168 builder->Add("languageSectionTitle", IDS_LANGUAGE_SECTION_TITLE); 168 builder->Add("languageSectionTitle", IDS_LANGUAGE_SECTION_TITLE);
169 builder->Add("accessibilitySectionTitle", IDS_ACCESIBILITY_SECTION_TITLE);
170 builder->Add("accessibilitySectionHint", IDS_ACCESIBILITY_SECTION_HINT);
169 builder->Add("networkSectionTitle", IDS_NETWORK_SECTION_TITLE); 171 builder->Add("networkSectionTitle", IDS_NETWORK_SECTION_TITLE);
170 builder->Add("networkSectionHint", IDS_NETWORK_SECTION_HINT); 172 builder->Add("networkSectionHint", IDS_NETWORK_SECTION_HINT);
171 173
172 builder->Add("languageDropdownTitle", IDS_LANGUAGE_DROPDOWN_TITLE); 174 builder->Add("languageDropdownTitle", IDS_LANGUAGE_DROPDOWN_TITLE);
173 builder->Add("keyboardDropdownTitle", IDS_KEYBOARD_DROPDOWN_TITLE); 175 builder->Add("keyboardDropdownTitle", IDS_KEYBOARD_DROPDOWN_TITLE);
174 builder->Add("proxySettingsMenuName", IDS_PROXY_SETTINGS_MENU_NAME); 176 builder->Add("proxySettingsMenuName", IDS_PROXY_SETTINGS_MENU_NAME);
175 builder->Add("addWiFiNetworkMenuName", IDS_ADD_WI_FI_NETWORK_MENU_NAME); 177 builder->Add("addWiFiNetworkMenuName", IDS_ADD_WI_FI_NETWORK_MENU_NAME);
176 builder->Add("addMobileNetworkMenuName", IDS_ADD_MOBILE_NETWORK_MENU_NAME); 178 builder->Add("addMobileNetworkMenuName", IDS_ADD_MOBILE_NETWORK_MENU_NAME);
177 } 179 }
178 180
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
272 timezone_option->SetString("value", timezone_id); 274 timezone_option->SetString("value", timezone_id);
273 timezone_option->SetString("title", timezone_name); 275 timezone_option->SetString("title", timezone_name);
274 timezone_option->SetBoolean("selected", timezone_id == current_timezone_id); 276 timezone_option->SetBoolean("selected", timezone_id == current_timezone_id);
275 timezone_list->Append(timezone_option.release()); 277 timezone_list->Append(timezone_option.release());
276 } 278 }
277 279
278 return timezone_list.release(); 280 return timezone_list.release();
279 } 281 }
280 282
281 } // namespace chromeos 283 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698