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

Unified Diff: chrome/browser/chromeos/arc/arc_external_protocol_dialog.h

Issue 2348673002: Add an external protocol dialog for ARC (Closed)
Patch Set: Created 4 years, 3 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/chromeos/arc/arc_external_protocol_dialog.h
diff --git a/chrome/browser/chromeos/arc/arc_external_protocol_dialog.h b/chrome/browser/chromeos/arc/arc_external_protocol_dialog.h
new file mode 100644
index 0000000000000000000000000000000000000000..fdd6f956e4e6ecbddc52707436b3a9844c67f404
--- /dev/null
+++ b/chrome/browser/chromeos/arc/arc_external_protocol_dialog.h
@@ -0,0 +1,24 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_CHROMEOS_ARC_ARC_EXTERNAL_PROTOCOL_DIALOG_H_
+#define CHROME_BROWSER_CHROMEOS_ARC_ARC_EXTERNAL_PROTOCOL_DIALOG_H_
+
+#include "ui/base/page_transition_types.h"
+
+class GURL;
+
+namespace arc {
+
+// Shows ARC version of the dialog. Returns true if ARC is supported and
Luis Héctor Chávez 2016/09/15 22:42:11 maybe add "and is run in a context where it is all
Yusuke Sato 2016/09/15 23:08:24 Done.
+// running, false otherwise.
+bool RunArcExternalProtocolDialog(const GURL& url,
+ int render_process_host_id,
+ int routing_id,
+ ui::PageTransition page_transition,
+ bool has_user_gesture);
+
+} // namespace arc
+
+#endif // CHROME_BROWSER_CHROMEOS_ARC_ARC_EXTERNAL_PROTOCOL_DIALOG_H_

Powered by Google App Engine
This is Rietveld 408576698