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

Unified Diff: chrome/browser/ui/webui/options/options_ui.cc

Issue 2157673002: Browser tests for the quick_unlock settings pages. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@pin-unlock-quick-unlock-interface
Patch Set: Rework for new settings design 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/webui/options/options_ui.cc
diff --git a/chrome/browser/ui/webui/options/options_ui.cc b/chrome/browser/ui/webui/options/options_ui.cc
index 135a5f5a1f12144f10499abd7738ad1fbdf00a23..c4879aa2a94e9e760a9603cbe5f719eccca34e7a 100644
--- a/chrome/browser/ui/webui/options/options_ui.cc
+++ b/chrome/browser/ui/webui/options/options_ui.cc
@@ -118,6 +118,7 @@ const char kLocalizedStringsFile[] = "strings.js";
const char kOptionsBundleJsFile[] = "options_bundle.js";
#if defined(OS_CHROMEOS)
+constexpr char kIconsHTMLPath[] = "icons.html";
constexpr char kPinKeyboardHTMLPath[] = "people_page/pin_keyboard.html";
constexpr char kPinKeyboardJSPath[] = "people_page/pin_keyboard.js";
constexpr char kPasswordPromptDialogHTMLPath[] =
@@ -249,6 +250,7 @@ OptionsUIHTMLSource::~OptionsUIHTMLSource() {}
void OptionsUIHTMLSource::CreateDataSourceMap() {
#if defined(OS_CHROMEOS)
+ path_to_idr_map_[kIconsHTMLPath] = IDR_OPTIONS_ICONS_HTML;
path_to_idr_map_[kPinKeyboardHTMLPath] = IDR_OPTIONS_PIN_KEYBOARD_HTML;
path_to_idr_map_[kPinKeyboardJSPath] = IDR_OPTIONS_PIN_KEYBOARD_JS;
path_to_idr_map_[kPasswordPromptDialogHTMLPath] =

Powered by Google App Engine
This is Rietveld 408576698