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

Unified Diff: chrome/browser/ui/website_settings/permission_bubble_request.h

Issue 839063003: By default, remove user gesture restriction from permission bubbles (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove debugging statement Created 5 years, 11 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
« no previous file with comments | « chrome/browser/ui/website_settings/permission_bubble_manager_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/website_settings/permission_bubble_request.h
diff --git a/chrome/browser/ui/website_settings/permission_bubble_request.h b/chrome/browser/ui/website_settings/permission_bubble_request.h
index 49d71de90570269534d798b4f302a01cd10964a3..f2ccd3759a6575317ca74cfd6c03acf8521678d7 100644
--- a/chrome/browser/ui/website_settings/permission_bubble_request.h
+++ b/chrome/browser/ui/website_settings/permission_bubble_request.h
@@ -35,8 +35,9 @@ class PermissionBubbleRequest {
// next to an image and indicate the user grants the permission.
virtual base::string16 GetMessageTextFragment() const = 0;
- // Get whether this request was accompanied by a user gesture. User gestured
- // permissions requests will not be suppressed.
+ // Get whether this request was accompanied by a user gesture. Non-gestured
+ // requests will be delayed if PermissionBubbleManager::
+ // RequireUserGesture(true) has been called on the manager.
virtual bool HasUserGesture() const = 0;
// Get the hostname on whose behalf this permission request is being made.
« no previous file with comments | « chrome/browser/ui/website_settings/permission_bubble_manager_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698