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

Unified Diff: chrome/browser/ui/exclusive_access/exclusive_access_bubble.cc

Issue 1421813005: Fullscreen bubble: Draw a white box around "ESC" in "Press ESC to exit". (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@border-roundedrect
Patch Set: Respond to comments. Also early-return. Created 5 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/exclusive_access/exclusive_access_bubble.cc
diff --git a/chrome/browser/ui/exclusive_access/exclusive_access_bubble.cc b/chrome/browser/ui/exclusive_access/exclusive_access_bubble.cc
index 2d0233ce7410e452e69693e54fdcec3d9765f1c9..abf28c29e187eede4389622515a94f27348f0b86 100644
--- a/chrome/browser/ui/exclusive_access/exclusive_access_bubble.cc
+++ b/chrome/browser/ui/exclusive_access/exclusive_access_bubble.cc
@@ -165,6 +165,12 @@ base::string16 ExclusiveAccessBubble::GetCurrentAllowButtonText() const {
}
base::string16 ExclusiveAccessBubble::GetInstructionText() const {
+ if (!ExclusiveAccessManager::IsSimplifiedFullscreenUIEnabled()) {
+ return l10n_util::GetStringFUTF16(
+ IDS_FULLSCREEN_PRESS_ESC_TO_EXIT_SENTENCE,
+ l10n_util::GetStringUTF16(IDS_APP_ESC_KEY));
+ }
+
return l10n_util::GetStringFUTF16(IDS_FULLSCREEN_PRESS_ESC_TO_EXIT,
l10n_util::GetStringUTF16(IDS_APP_ESC_KEY));
}
« no previous file with comments | « chrome/browser/ui/exclusive_access/exclusive_access_bubble.h ('k') | chrome/browser/ui/views/exclusive_access_bubble_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698