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

Unified Diff: chrome/browser/ui/views/external_protocol_dialog.cc

Issue 2610793002: Add a browser test for the views external protocol dialog. (Closed)
Patch Set: CreateDialog is a macro on Windows -_- Created 3 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
Index: chrome/browser/ui/views/external_protocol_dialog.cc
diff --git a/chrome/browser/ui/views/external_protocol_dialog.cc b/chrome/browser/ui/views/external_protocol_dialog.cc
index 1cfc6c81bc2e221940b17399f9486d9d55ab15a2..2c795081b6feb1c9813fb8797d426ac5dc42ccef 100644
--- a/chrome/browser/ui/views/external_protocol_dialog.cc
+++ b/chrome/browser/ui/views/external_protocol_dialog.cc
@@ -53,6 +53,10 @@ void ExternalProtocolHandler::RunExternalProtocolDialog(
ExternalProtocolDialog::~ExternalProtocolDialog() {
}
+void ExternalProtocolDialog::SetCheckBoxSelectedForTesting(bool checked) {
+ message_box_view_->SetCheckBoxSelected(checked);
+}
+
//////////////////////////////////////////////////////////////////////////////
// ExternalProtocolDialog, views::DialogDelegate implementation:

Powered by Google App Engine
This is Rietveld 408576698