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

Unified Diff: chrome/browser/ui/cocoa/external_protocol_dialog_cocoa.mm

Issue 2632653002: MacViews: Enable views based External Protocol dialog behind secondary-ui-md flag. (Closed)
Patch Set: Address review. 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/cocoa/external_protocol_dialog_cocoa.mm
diff --git a/chrome/browser/ui/cocoa/external_protocol_dialog.mm b/chrome/browser/ui/cocoa/external_protocol_dialog_cocoa.mm
similarity index 87%
rename from chrome/browser/ui/cocoa/external_protocol_dialog.mm
rename to chrome/browser/ui/cocoa/external_protocol_dialog_cocoa.mm
index 73781e0fd61e046eb0e25fbd60b2d7498d690f44..a53e0652846dca5870726db36da295577c14b9e1 100644
--- a/chrome/browser/ui/cocoa/external_protocol_dialog.mm
+++ b/chrome/browser/ui/cocoa/external_protocol_dialog_cocoa.mm
@@ -16,18 +16,6 @@
#include "ui/gfx/text_elider.h"
///////////////////////////////////////////////////////////////////////////////
-// ExternalProtocolHandler
-
-// static
-void ExternalProtocolHandler::RunExternalProtocolDialog(
- const GURL& url, int render_process_host_id, int routing_id,
- ui::PageTransition page_transition, bool has_user_gesture) {
- [[ExternalProtocolDialogController alloc] initWithGURL:&url
- renderProcessHostId:render_process_host_id
- routingId:routing_id];
-}
-
-///////////////////////////////////////////////////////////////////////////////
// ExternalProtocolDialogController
@interface ExternalProtocolDialogController(Private)

Powered by Google App Engine
This is Rietveld 408576698