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

Unified Diff: chrome/browser/ui/protocol_dialog_delegate.h

Issue 2076253002: Simplify the text in the external protocol confirmation dialog. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix ChromeOS compile Created 4 years, 2 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/protocol_dialog_delegate.h
diff --git a/chrome/browser/ui/protocol_dialog_delegate.h b/chrome/browser/ui/protocol_dialog_delegate.h
index dacf36fdf3e1db3274153877fa0df18b57e05b6c..f1d913e8b2904871f4e37c9ea3e4e3bec1595bbb 100644
--- a/chrome/browser/ui/protocol_dialog_delegate.h
+++ b/chrome/browser/ui/protocol_dialog_delegate.h
@@ -5,6 +5,7 @@
#ifndef CHROME_BROWSER_UI_PROTOCOL_DIALOG_DELEGATE_H_
#define CHROME_BROWSER_UI_PROTOCOL_DIALOG_DELEGATE_H_
+#include "ui/base/ui_base_types.h"
#include "url/gurl.h"
// Interface implemented by objects that wish to show a dialog box Window for
@@ -26,6 +27,8 @@ class ProtocolDialogDelegate {
// dialog is checked.
virtual void DoCancel(const GURL& url, bool dont_block) const = 0;
+ virtual base::string16 GetDialogButtonLabel(
+ ui::DialogButton button) const = 0;
virtual base::string16 GetMessageText() const = 0;
virtual base::string16 GetCheckboxText() const = 0;
virtual base::string16 GetTitleText() const = 0;

Powered by Google App Engine
This is Rietveld 408576698