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

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

Issue 454253002: Location chooser (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 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/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..a07ec4c33ea4cec254f07528fbb22df1548fe61a 100644
--- a/chrome/browser/ui/website_settings/permission_bubble_request.h
+++ b/chrome/browser/ui/website_settings/permission_bubble_request.h
@@ -18,8 +18,17 @@
// requests, or depending on the situation, not shown at all.
class PermissionBubbleRequest {
public:
+ enum Type {
+ kQuota,
+ kDownload,
+ kGeolocation,
+ kMedia,
+ kOther
+ };
virtual ~PermissionBubbleRequest() {}
+ virtual PermissionBubbleRequest::Type GetType() const = 0;
+
// The icon to use next to the message text fragment in the permission bubble.
// Must be a valid icon of size 16x16. (TODO(gbillock): tbd size)
virtual int GetIconID() const = 0;

Powered by Google App Engine
This is Rietveld 408576698