OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CHROME_BROWSER_CHROMEOS_ARC_ARC_EXTERNAL_PROTOCOL_DIALOG_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_ARC_ARC_EXTERNAL_PROTOCOL_DIALOG_H_ |
| 7 |
| 8 #include "ui/base/page_transition_types.h" |
| 9 |
| 10 class GURL; |
| 11 |
| 12 namespace arc { |
| 13 |
| 14 // Shows ARC version of the dialog. Returns true if ARC is supported, running, |
| 15 // and in a context where it is allowed to handle external protocol. |
| 16 bool RunArcExternalProtocolDialog(const GURL& url, |
| 17 int render_process_host_id, |
| 18 int routing_id, |
| 19 ui::PageTransition page_transition, |
| 20 bool has_user_gesture); |
| 21 |
| 22 } // namespace arc |
| 23 |
| 24 #endif // CHROME_BROWSER_CHROMEOS_ARC_ARC_EXTERNAL_PROTOCOL_DIALOG_H_ |
OLD | NEW |