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