| # Copyright 2016 The Chromium Authors |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| source_set("commands") { |
| sources = [ |
| "account_picker_commands.h", |
| "activity_service_commands.h", |
| "activity_service_share_url_command.h", |
| "activity_service_share_url_command.mm", |
| "add_contacts_commands.h", |
| "application_commands.h", |
| "auto_deletion_commands.h", |
| "autofill_commands.h", |
| "bookmarks_commands.h", |
| "bring_android_tabs_commands.h", |
| "browser_commands.h", |
| "browser_coordinator_commands.h", |
| "bwg_commands.h", |
| "collaboration_group_commands.h", |
| "command_dispatcher.h", |
| "command_dispatcher.mm", |
| "contextual_panel_entrypoint_commands.h", |
| "contextual_panel_entrypoint_iph_commands.h", |
| "contextual_sheet_commands.h", |
| "country_code_picker_commands.h", |
| "credential_provider_promo_commands.h", |
| "docking_promo_commands.h", |
| "download_list_commands.h", |
| "download_record_commands.h", |
| "drive_file_picker_commands.h", |
| "enhanced_calendar_commands.h", |
| "feed_commands.h", |
| "find_in_page_commands.h", |
| "generate_qr_code_command.h", |
| "generate_qr_code_command.mm", |
| "google_one_commands.h", |
| "guided_tour_commands.h", |
| "help_commands.h", |
| "lens_commands.h", |
| "lens_overlay_commands.h", |
| "load_query_commands.h", |
| "manage_storage_alert_commands.h", |
| "mini_map_commands.h", |
| "new_tab_page_commands.h", |
| "non_modal_signin_promo_commands.h", |
| "omnibox_commands.h", |
| "open_lens_input_selection_command.h", |
| "open_lens_input_selection_command.mm", |
| "open_new_tab_command.h", |
| "open_new_tab_command.mm", |
| "overflow_menu_customization_commands.h", |
| "page_action_menu_commands.h", |
| "page_action_menu_entry_point_commands.h", |
| "page_info_commands.h", |
| "page_side_swipe_commands.h", |
| "parent_access_commands.h", |
| "password_breach_commands.h", |
| "password_protection_commands.h", |
| "password_suggestion_commands.h", |
| "policy_change_commands.h", |
| "popup_menu_commands.h", |
| "price_tracked_items_commands.h", |
| "promos_manager_commands.h", |
| "qr_generation_commands.h", |
| "qr_scanner_commands.h", |
| "quick_delete_commands.h", |
| "reader_mode_chip_commands.h", |
| "reader_mode_commands.h", |
| "reader_mode_options_commands.h", |
| "reading_list_add_command.h", |
| "reading_list_add_command.mm", |
| "recent_activity_commands.h", |
| "reminder_notifications_commands.h", |
| "save_image_to_photos_command.h", |
| "save_image_to_photos_command.mm", |
| "save_to_drive_commands.h", |
| "save_to_photos_commands.h", |
| "search_image_with_lens_command.h", |
| "search_image_with_lens_command.mm", |
| "security_alert_commands.h", |
| "settings_commands.h", |
| "share_download_overlay_commands.h", |
| "share_highlight_command.h", |
| "share_highlight_command.mm", |
| "show_signin_command.h", |
| "show_signin_command.mm", |
| "snackbar_commands.h", |
| "tab_grid_commands.h", |
| "tab_grid_toolbar_commands.h", |
| "tab_group_confirmation_commands.h", |
| "tab_groups_commands.h", |
| "tab_strip_commands.h", |
| "tab_strip_last_tab_dragged_alert_command.h", |
| "tab_strip_last_tab_dragged_alert_command.mm", |
| "tabs_animation_commands.h", |
| "text_zoom_commands.h", |
| "toolbar_commands.h", |
| "unit_conversion_commands.h", |
| "web_content_commands.h", |
| "welcome_back_promo_commands.h", |
| "whats_new_commands.h", |
| ] |
| |
| deps = [ |
| "//components/lens", |
| "//components/tab_groups", |
| "//ios/chrome/browser/authentication/ui_bundled:continuation", |
| "//ios/chrome/browser/authentication/ui_bundled/signin:constants", |
| "//ios/chrome/browser/browsing_data/model:util", |
| "//ios/chrome/browser/lens_overlay/model:entrypoint", |
| "//ios/chrome/browser/reader_mode/model:constants", |
| "//ios/chrome/browser/shared/ui/util:url_with_title", |
| "//ios/chrome/browser/tab_switcher/ui_bundled/tab_grid:tab_grid_paging", |
| "//ios/public/provider/chrome/browser/user_feedback:user_feedback_api", |
| "//ios/web/public", |
| "//ios/web/public/navigation:referrer", |
| "//net", |
| "//url", |
| ] |
| |
| public_deps = [ |
| "//base", |
| "//components/browsing_data/core", |
| "//components/password_manager/core/browser", |
| "//components/plus_addresses", |
| "//components/supervised_user/core/common", |
| "//ios/chrome/browser/browsing_data/model:model_remove_mask", |
| "//ios/chrome/browser/bubble/public", |
| "//ios/chrome/browser/discover_feed/model:constants", |
| "//ios/chrome/browser/google_one/shared", |
| "//ios/chrome/browser/promos_manager/model:constants", |
| "//ios/web/public/annotations:custom_text_check_result", |
| ] |
| } |
| |
| source_set("shared_group_last_tab_commands") { |
| sources = [ |
| "shared_tab_group_last_tab_closed_alert_command.h", |
| "shared_tab_group_last_tab_closed_alert_command.mm", |
| "shared_tab_group_last_tab_closed_alert_commands.h", |
| ] |
| deps = [ |
| "//base", |
| "//components/collaboration/public", |
| "//ios/chrome/browser/collaboration/model", |
| "//ios/chrome/browser/collaboration/model:collaboration_delegate", |
| "//ios/chrome/browser/saved_tab_groups/model", |
| "//ios/chrome/browser/saved_tab_groups/model:tab_group_service", |
| "//ios/chrome/browser/shared/model/browser", |
| "//ios/chrome/browser/shared/model/web_state_list", |
| "//ios/chrome/browser/shared/model/web_state_list:utils", |
| "//ios/chrome/browser/tab_switcher/ui_bundled:tab_group_confirmation", |
| "//ios/web/public", |
| ] |
| } |
| |
| source_set("unit_tests") { |
| testonly = true |
| sources = [ "command_dispatcher_unittest.mm" ] |
| deps = [ |
| ":commands", |
| "//base", |
| "//testing/gtest", |
| ] |
| } |