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

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

Issue 1892293003: Display origin url on the chooser permission dialog title (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address palmer@'s comment 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/chooser_bubble_controller.h
diff --git a/chrome/browser/ui/website_settings/chooser_bubble_controller.h b/chrome/browser/ui/website_settings/chooser_bubble_controller.h
index 70f766053dcf6137992ee0d45ed680345c0b78ee..9d27c4d1a76b4d7fe32414d2daf1749721bb8cec 100644
--- a/chrome/browser/ui/website_settings/chooser_bubble_controller.h
+++ b/chrome/browser/ui/website_settings/chooser_bubble_controller.h
@@ -14,6 +14,10 @@
class Browser;
class GURL;
+namespace url {
+class Origin;
+}
+
// Subclass ChooserBubbleController to implement a chooser bubble, which has
// some introductory text and a list of options that users can pick one of.
// Create an instance of your subclass and pass it to
@@ -53,6 +57,9 @@ class ChooserBubbleController : public BubbleDelegate {
virtual ~Observer() {}
};
+ // Return the origin URL to be displayed on the bubble title.
+ url::Origin GetOrigin() const;
+
// Open help center URL.
void OpenHelpCenterUrl() const;

Powered by Google App Engine
This is Rietveld 408576698