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

Unified Diff: ios/chrome/browser/ui/webui/physical_web_ui.cc

Issue 2698503004: Add empty list indicator for Physical Web WebUI (Closed)
Patch Set: access hidden attr directly Created 3 years, 9 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: ios/chrome/browser/ui/webui/physical_web_ui.cc
diff --git a/ios/chrome/browser/ui/webui/physical_web_ui.cc b/ios/chrome/browser/ui/webui/physical_web_ui.cc
index 98a5cceff0eb7e8d06f509601de4da1c070380b4..6a8b7d496a2d6400fa8a73278c5d9b88c33ce3d4 100644
--- a/ios/chrome/browser/ui/webui/physical_web_ui.cc
+++ b/ios/chrome/browser/ui/webui/physical_web_ui.cc
@@ -28,7 +28,8 @@ web::WebUIIOSDataSource* CreatePhysicalWebUIDataSource() {
// Localized and data strings.
html_source->AddLocalizedString(physical_web_ui::kTitle,
IDS_PHYSICAL_WEB_UI_TITLE);
-
+ html_source->AddLocalizedString(physical_web_ui::kEmptyMessage,
+ IDS_PHYSICAL_WEB_UI_EMPTY_MESSAGE);
html_source->SetJsonPath("strings.js");
html_source->AddResourcePath(physical_web_ui::kPhysicalWebJS,
IDR_PHYSICAL_WEB_UI_JS);

Powered by Google App Engine
This is Rietveld 408576698