Index: chrome/browser/signin/screenlock_bridge.cc |
diff --git a/chrome/browser/signin/screenlock_bridge.cc b/chrome/browser/signin/screenlock_bridge.cc |
index a78d2613a24a3678d35844b720d93abde52179b1..5fb5192ab165302b64d49dc46808e1f4550ba2c0 100644 |
--- a/chrome/browser/signin/screenlock_bridge.cc |
+++ b/chrome/browser/signin/screenlock_bridge.cc |
@@ -74,6 +74,9 @@ ScreenlockBridge::UserPodCustomIconOptions::ToDictionaryValue() const { |
result->Set("tooltip", tooltip_options); |
} |
+ if (!aria_label_.empty()) |
+ result->SetString("ariaLabel", aria_label_); |
+ |
if (hardlock_on_click_) |
result->SetBoolean("hardlockOnClick", true); |
@@ -92,6 +95,11 @@ void ScreenlockBridge::UserPodCustomIconOptions::SetTooltip( |
autoshow_tooltip_ = autoshow; |
} |
+void ScreenlockBridge::UserPodCustomIconOptions::SetAriaLabel( |
+ const base::string16& aria_label) { |
+ aria_label_ = aria_label; |
+} |
+ |
void ScreenlockBridge::UserPodCustomIconOptions::SetHardlockOnClick() { |
hardlock_on_click_ = true; |
} |