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 #include "chrome/browser/chromeos/arc/arc_external_protocol_dialog.h" | 5 #include "chrome/browser/chromeos/arc/intent_helper/arc_external_protocol_dialog
.h" |
6 | 6 |
7 #include <memory> | 7 #include <memory> |
8 #include <string> | 8 #include <string> |
9 #include <utility> | 9 #include <utility> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/bind.h" | 12 #include "base/bind.h" |
13 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
14 #include "base/metrics/histogram_macros.h" | 14 #include "base/metrics/histogram_macros.h" |
15 #include "chrome/browser/chromeos/arc/arc_navigation_throttle.h" | 15 #include "chrome/browser/chromeos/arc/intent_helper/arc_navigation_throttle.h" |
16 #include "chrome/browser/chromeos/external_protocol_dialog.h" | 16 #include "chrome/browser/chromeos/external_protocol_dialog.h" |
17 #include "chrome/browser/tab_contents/tab_util.h" | 17 #include "chrome/browser/tab_contents/tab_util.h" |
18 #include "chrome/browser/ui/browser_dialogs.h" | 18 #include "chrome/browser/ui/browser_dialogs.h" |
19 #include "components/arc/arc_bridge_service.h" | 19 #include "components/arc/arc_bridge_service.h" |
20 #include "components/arc/arc_service_manager.h" | 20 #include "components/arc/arc_service_manager.h" |
21 #include "components/arc/intent_helper/activity_icon_loader.h" | 21 #include "components/arc/intent_helper/activity_icon_loader.h" |
22 #include "components/arc/intent_helper/arc_intent_helper_bridge.h" | 22 #include "components/arc/intent_helper/arc_intent_helper_bridge.h" |
23 #include "components/arc/intent_helper/page_transition_util.h" | 23 #include "components/arc/intent_helper/page_transition_util.h" |
24 #include "content/public/browser/browser_context.h" | 24 #include "content/public/browser/browser_context.h" |
25 #include "content/public/browser/browser_thread.h" | 25 #include "content/public/browser/browser_thread.h" |
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
223 | 223 |
224 // Show ARC version of the dialog, which is IntentPickerBubbleView. To show | 224 // Show ARC version of the dialog, which is IntentPickerBubbleView. To show |
225 // the bubble view, we need to ask ARC for a handler list first. | 225 // the bubble view, we need to ask ARC for a handler list first. |
226 instance->RequestUrlHandlerList( | 226 instance->RequestUrlHandlerList( |
227 url.spec(), | 227 url.spec(), |
228 base::Bind(OnUrlHandlerList, render_process_host_id, routing_id, url)); | 228 base::Bind(OnUrlHandlerList, render_process_host_id, routing_id, url)); |
229 return true; | 229 return true; |
230 } | 230 } |
231 | 231 |
232 } // namespace arc | 232 } // namespace arc |
OLD | NEW |