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

Unified Diff: chrome/browser/ui/exclusive_access/exclusive_access_bubble_type.h

Issue 903683005: Always prompt for permission on fullscreen and mouse lock on file:// URLs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: tweak unit test Created 5 years, 10 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/exclusive_access/exclusive_access_bubble_type.h
diff --git a/chrome/browser/ui/exclusive_access/exclusive_access_bubble_type.h b/chrome/browser/ui/exclusive_access/exclusive_access_bubble_type.h
index 3163b70aee8cdd55dfac310cbc81e380e2042277..58858a5aef3164fce43c3e858de36a4cf0432c4e 100644
--- a/chrome/browser/ui/exclusive_access/exclusive_access_bubble_type.h
+++ b/chrome/browser/ui/exclusive_access/exclusive_access_bubble_type.h
@@ -40,6 +40,8 @@ base::string16 GetLabelTextForType(ExclusiveAccessBubbleType type,
const GURL& url,
extensions::ExtensionRegistry* registry);
base::string16 GetDenyButtonTextForType(ExclusiveAccessBubbleType type);
+base::string16 GetAllowButtonTextForType(ExclusiveAccessBubbleType type,
+ const GURL& url);
bool ShowButtonsForType(ExclusiveAccessBubbleType type);
void PermissionRequestedByType(ExclusiveAccessBubbleType type,
bool* tab_fullscreen,

Powered by Google App Engine
This is Rietveld 408576698