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

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

Issue 2610793002: Add a browser test for the views external protocol dialog. (Closed)
Patch Set: Address nit 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
« no previous file with comments | « no previous file | chrome/browser/ui/views/external_protocol_dialog_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/external_protocol_dialog.h
diff --git a/chrome/browser/ui/views/external_protocol_dialog.h b/chrome/browser/ui/views/external_protocol_dialog.h
index ad2efc329741f562b0a4e07e125e990a80e51dbb..3c53e7d2d12ed5a70cfcca9251d46c4ec501613f 100644
--- a/chrome/browser/ui/views/external_protocol_dialog.h
+++ b/chrome/browser/ui/views/external_protocol_dialog.h
@@ -13,6 +13,10 @@
class ProtocolDialogDelegate;
+namespace test {
+class ExternalProtocolDialogTestApi;
+}
+
namespace views {
class MessageBoxView;
}
@@ -40,6 +44,8 @@ class ExternalProtocolDialog : public views::DialogDelegate {
ui::ModalType GetModalType() const override;
private:
+ friend class test::ExternalProtocolDialogTestApi;
+
const std::unique_ptr<const ProtocolDialogDelegate> delegate_;
// The message box view whose commands we handle.
« no previous file with comments | « no previous file | chrome/browser/ui/views/external_protocol_dialog_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698