| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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/ui/browser_dialogs.h" | 5 #include "chrome/browser/ui/browser_dialogs.h" |
| 6 | 6 |
| 7 #include <memory> | 7 #include <memory> |
| 8 | 8 |
| 9 #include "chrome/browser/chooser_controller/chooser_controller.h" |
| 9 #include "chrome/browser/extensions/api/chrome_device_permissions_prompt.h" | 10 #include "chrome/browser/extensions/api/chrome_device_permissions_prompt.h" |
| 10 #include "chrome/browser/extensions/chrome_extension_chooser_dialog.h" | 11 #include "chrome/browser/extensions/chrome_extension_chooser_dialog.h" |
| 11 #include "chrome/browser/extensions/extension_install_prompt.h" | 12 #include "chrome/browser/extensions/extension_install_prompt.h" |
| 12 #include "chrome/browser/ui/login/login_handler.h" | 13 #include "chrome/browser/ui/login/login_handler.h" |
| 13 #include "chrome/browser/ui/views/new_task_manager_view.h" | 14 #include "chrome/browser/ui/views/new_task_manager_view.h" |
| 14 #include "components/chooser_controller/chooser_controller.h" | |
| 15 | 15 |
| 16 #if defined(OS_CHROMEOS) | 16 #if defined(OS_CHROMEOS) |
| 17 #include "chrome/browser/ui/views/intent_picker_bubble_view.h" | 17 #include "chrome/browser/ui/views/intent_picker_bubble_view.h" |
| 18 #endif // OS_CHROMEOS | 18 #endif // OS_CHROMEOS |
| 19 | 19 |
| 20 // This file provides definitions of desktop browser dialog-creation methods for | 20 // This file provides definitions of desktop browser dialog-creation methods for |
| 21 // all toolkit-views platforms other than Mac. It also provides the definitions | 21 // all toolkit-views platforms other than Mac. It also provides the definitions |
| 22 // on Mac when mac_views_browser=1 is specified in GYP_DEFINES. The file is | 22 // on Mac when mac_views_browser=1 is specified in GYP_DEFINES. The file is |
| 23 // excluded in a Mac Cocoa build: definitions under chrome/browser/ui/cocoa may | 23 // excluded in a Mac Cocoa build: definitions under chrome/browser/ui/cocoa may |
| 24 // select at runtime whether to show a Cocoa dialog, or the toolkit-views dialog | 24 // select at runtime whether to show a Cocoa dialog, or the toolkit-views dialog |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 | 71 |
| 72 } // namespace chrome | 72 } // namespace chrome |
| 73 | 73 |
| 74 #if defined(OS_CHROMEOS) | 74 #if defined(OS_CHROMEOS) |
| 75 | 75 |
| 76 BubbleShowPtr ShowIntentPickerBubble() { | 76 BubbleShowPtr ShowIntentPickerBubble() { |
| 77 return IntentPickerBubbleView::ShowBubble; | 77 return IntentPickerBubbleView::ShowBubble; |
| 78 } | 78 } |
| 79 | 79 |
| 80 #endif // OS_CHROMEOS | 80 #endif // OS_CHROMEOS |
| OLD | NEW |