blob: 566d4863a8825cbd592481379bcaf37ea0beae42 [file] [log] [blame]
# Copyright 2025 The Chromium Authors
# Use of this source code is governed by a BSD - style license that can be
# found in the LICENSE file.
assert(is_win || is_mac || is_linux || is_chromeos)
source_set("download") {
sources = [
"download_danger_prompt_views.cc",
"download_in_progress_dialog_view.cc",
"download_in_progress_dialog_view.h",
]
public_deps = [
"//base",
"//chrome/browser:browser_public_dependencies",
"//components/download/public/common:public",
"//components/offline_items_collection/core",
"//content/public/browser",
"//ui/base",
"//ui/events",
"//ui/gfx",
"//ui/gfx/animation",
"//ui/gfx/geometry",
"//ui/views",
]
deps = [
"//chrome/browser/profiles:profile",
"//chrome/browser/safe_browsing",
"//chrome/browser/safe_browsing:advanced_protection",
"//chrome/browser/ui:layout_constants",
"//chrome/browser/ui/hats",
"//components/constrained_window",
"//components/safe_browsing/core/common:features",
"//components/safe_browsing/core/common:safe_browsing_prefs",
"//ui/strings:ui_strings_grit",
]
if (!is_chromeos) {
sources += [
# Download bubble UI is not used on ChromeOS.
"bubble/download_bubble_contents_view.cc",
"bubble/download_bubble_contents_view.h",
"bubble/download_bubble_navigation_handler.h",
"bubble/download_bubble_partial_view.cc",
"bubble/download_bubble_partial_view.h",
"bubble/download_bubble_password_prompt_view.cc",
"bubble/download_bubble_password_prompt_view.h",
"bubble/download_bubble_primary_view.cc",
"bubble/download_bubble_primary_view.h",
"bubble/download_bubble_row_list_view.cc",
"bubble/download_bubble_row_list_view.h",
"bubble/download_bubble_row_view.cc",
"bubble/download_bubble_row_view.h",
"bubble/download_bubble_security_view.cc",
"bubble/download_bubble_security_view.h",
"bubble/download_bubble_started_animation_views.cc",
"bubble/download_bubble_started_animation_views.h",
"bubble/download_dialog_view.cc",
"bubble/download_dialog_view.h",
"bubble/download_toolbar_ui_controller.cc",
"bubble/download_toolbar_ui_controller.h",
"download_started_animation_views.cc",
"download_started_animation_views.h",
"download_ui_context_menu_view.cc",
"download_ui_context_menu_view.h",
]
deps += [
"//chrome/app:command_ids",
"//chrome/browser:browser_process",
"//chrome/browser:primitives",
"//chrome/browser/profiles:profile",
"//chrome/browser/profiles:profile_util",
"//chrome/browser/safe_browsing",
"//chrome/browser/safe_browsing:advanced_protection",
"//chrome/browser/themes",
"//chrome/browser/ui:browser_element_identifiers",
"//chrome/browser/ui:browser_list",
"//chrome/browser/ui:ui_features",
"//chrome/browser/ui/actions:actions_headers",
"//chrome/browser/ui/browser_window",
"//chrome/browser/ui/color:color_headers",
"//chrome/browser/ui/download",
"//chrome/browser/ui/hats",
"//chrome/browser/ui/tabs:tab_strip",
"//chrome/browser/ui/views/frame:immersive_mode_controller",
"//chrome/browser/ui/views/toolbar",
"//components/autofill/content/browser",
"//components/constrained_window",
"//components/feature_engagement/public:feature_constants",
"//components/safe_browsing/core/common:features",
"//components/safe_browsing/core/common:safe_browsing_policy_handler",
"//components/safe_browsing/core/common:safe_browsing_prefs",
"//ui/strings:ui_strings_grit",
]
}
}