Chromium Code Reviews| 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 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.
| |
| 15 // running, false otherwise. | |
| 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 |