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

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

Issue 1903103002: Remove some dead code for permission bubbles. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix rebase error Created 4 years, 8 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 50692c855115b70259f0aa61b53ec02796326b90..1062e6c2b62d18d255361224bac07a2d156e5d13 100644
--- a/chrome/browser/ui/website_settings/permission_bubble_request.h
+++ b/chrome/browser/ui/website_settings/permission_bubble_request.h
@@ -51,11 +51,6 @@ class PermissionBubbleRequest {
// Must be a valid icon of size 18x18.
virtual int GetIconId() const = 0;
- // Returns the full prompt text for this permission. This is the only text
- // that will be shown in the single-permission case and should be phrased
- // positively as a complete sentence.
- virtual base::string16 GetMessageText() const = 0;
-
// Returns the shortened prompt text for this permission. Must be phrased
// as a heading, e.g. "Location", or "Camera". The permission bubble may
// coalesce different requests, and if it does, this text will be displayed

Powered by Google App Engine
This is Rietveld 408576698