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_ |