}
# General Structured Metrics Dependencies needed by these platforms.
- if (is_win || is_mac || is_linux || is_chromeos) {
+ if (is_win || is_mac || is_linux || is_chromeos || is_tizen) {
sources += [
"metrics/structured/chrome_structured_metrics_delegate.cc",
"metrics/structured/chrome_structured_metrics_delegate.h",
deps += [ "//ui/linux:display_server_utils" ]
}
- if (is_win || is_linux || is_chromeos) {
+ if (is_win || is_linux || is_chromeos || is_tizen) {
sources += [
"policy/messaging_layer/util/manual_test_heartbeat_event.cc",
"policy/messaging_layer/util/manual_test_heartbeat_event.h",
(*s_allowlist)
[::permissions::prefs::kUnusedSitePermissionsRevocationEnabled] =
settings_api::PrefType::kBoolean;
+
+#if BUILDFLAG(ENABLE_COMPOSE)
(*s_allowlist)[prefs::kEnableProactiveNudge] =
settings_api::PrefType::kBoolean;
(*s_allowlist)[prefs::kProactiveNudgeDisabledSitesWithTime] =
settings_api::PrefType::kDictionary;
+#endif
// Clear browsing data settings.
(*s_allowlist)[browsing_data::prefs::kDeleteBrowsingHistory] =
if (is_chromeos_ash) {
deps += [ "//components/metrics/structured:external_metrics" ]
- } else if (is_win || is_linux || is_mac || is_chromeos_lacros) {
+ } else if (is_win || is_linux || is_mac || is_chromeos_lacros || is_tizen) {
sources += [
"chrome_event_storage.cc",
"chrome_event_storage.h",
if (is_win || is_mac) {
web_component_files += [ "autofill_page/passkeys_subpage.ts" ]
}
- if (is_win || is_mac || is_linux) {
+ if (is_win || is_mac || is_linux || is_tizen) {
web_component_files += [ "a11y_page/pdf_ocr_toggle.ts" ]
}
if (is_chrome_branded) {
]
}
- if (is_linux) {
+ if (is_linux || is_tizen) {
sources += [
"linux_xdg_wrapper.h",
"linux_xdg_wrapper_impl.cc",
"//v8:v8_version",
]
- if (is_win || is_linux || is_mac) {
+ if (is_win || is_linux || is_mac || is_tizen) {
deps += [ "//chrome/browser/shortcuts:shortcuts" ]
}
deps += [ "//chrome/browser/vr:vr_base" ]
}
- if (is_win || is_linux || is_mac || is_chromeos) {
+ if (is_win || is_linux || is_mac || is_chromeos || is_tizen) {
sources += [
"passwords/password_cross_domain_confirmation_popup_controller_impl.cc",
"passwords/password_cross_domain_confirmation_popup_controller_impl.h",
#include "ui/base/ui_base_features.h"
#include "ui/events/event_constants.h"
-#if BUILDFLAG(IS_TIZEN)
-#include <bits/range_access.h>
-#endif
-
#if BUILDFLAG(IS_CHROMEOS_ASH)
#include "chrome/browser/ash/crosapi/browser_util.h"
#endif // BUILDFLAG(IS_CHROMEOS_ASH)
watermark_view_ = contents_container->AddChildView(
std::make_unique<enterprise_watermark::WatermarkView>());
}
-#endif // BUILDFLAG(ENTERPRISE_WATERMARK)
contents_container->SetLayoutManager(std::make_unique<ContentsLayoutManager>(
devtools_web_view_, contents_web_view_, watermark_view_));
+#else
+ contents_container->SetLayoutManager(std::make_unique<ContentsLayoutManager>(
+ devtools_web_view_, contents_web_view_, nullptr));
+#endif // BUILDFLAG(ENTERPRISE_WATERMARK)
toolbar_ = top_container_->AddChildView(
std::make_unique<ToolbarView>(browser_.get(), this));
}
}
+#if BUILDFLAG(ENTERPRISE_WATERMARK)
void BrowserView::ApplyDataProtectionSettings(
base::WeakPtr<content::WebContents> expected_web_contents,
const enterprise_data_protection::UrlSettings& settings) {
.Run();
}
}
+#endif
BEGIN_METADATA(BrowserView)
ADD_READONLY_PROPERTY_METADATA(gfx::Rect, FindBarBoundingBox)
return web_app_frame_toolbar();
}
+#if BUILDFLAG(ENTERPRISE_WATERMARK)
enterprise_watermark::WatermarkView* get_watermark_view_for_testing() {
return watermark_view_;
}
+#endif
void set_on_delay_apply_data_protection_settings_if_empty_called_for_testing(
base::OnceClosure closure) {
// when it should not be able to.
void UpdateFullscreenAllowedFromPolicy(bool allowed_without_policy);
+#if BUILDFLAG(ENTERPRISE_WATERMARK)
// Applies data protection settings based on the verdict received by
// safe-browsing's realtime to `watermark_view_`.
void ApplyDataProtectionSettings(
void DelayApplyDataProtectionSettingsIfEmpty(
base::WeakPtr<content::WebContents> expected_web_contents,
const enterprise_data_protection::UrlSettings& settings);
+#endif
// The BrowserFrame that hosts this view.
raw_ptr<BrowserFrame, DanglingUntriaged> frame_ = nullptr;
// Clear watermark text once the page loads.
bool clear_watermark_text_on_page_load_ = false;
+#if BUILDFLAG(ENTERPRISE_WATERMARK)
// The view that overlays a watermark on the contents container.
raw_ptr<enterprise_watermark::WatermarkView> watermark_view_ = nullptr;
+#endif
// The view managing the devtools and contents positions.
// Handled by ContentsLayoutManager.
<part file="autofill_payments_strings.grdp" />
<part file="autofill_strings.grdp" />
<part file="bookmark_bar_strings.grdp" />
- <if expr="not is_tizen">
+ <if expr="build_chrome">
<part file="bookmark_component_strings.grdp" />
</if>
<part file="blocked_content_strings.grdp" />
<part file="compose_strings.grdp" />
<part file="live_caption_strings.grdp" />
<part file="components_settings_strings.grdp" />
- <if expr="not is_tizen">
+ <if expr="build_chrome">
<part file="crash_strings.grdp" />
</if>
<part file="dialog_strings.grdp" />
<part file="dom_distiller_strings.grdp" />
<part file="enterprise_strings.grdp" />
<part file="error_page_strings.grdp" />
- <if expr="not is_tizen">
+ <if expr="build_chrome">
<part file="find_in_page_strings.grdp" />
<part file="history_strings.grdp" />
<part file="login_dialog_strings.grdp" />
<part file="ssl_errors_strings.grdp" />
<part file="subresource_filter_strings.grdp" />
<part file="supervised_user_strings.grdp" />
- <if expr="not is_tizen">
+ <if expr="build_chrome">
<part file="sync_ui_strings.grdp" />
</if>
<part file="translate_strings.grdp" />
<message name="IDS_OK" desc="Used for OK on buttons">
OK
</message>
- <if expr="not is_tizen">
+ <if expr="build_chrome">
<message name="IDS_RELOAD" desc="Used for Reload on buttons">
Reload
</message>
<message name="IDS_UTILITY_PROCESS_JSON_PARSER_NAME" desc="The name of the utility process used for parsing JSON files.">
JSON Parser
</message>
- <if expr="not is_tizen">
+ <if expr="build_chrome">
<message name="IDS_SESSION_CRASHED_VIEW_RESTORE_BUTTON" desc="Title of the restore button in the session crashed view.">
Restore
</message>
"//third_party/crashpad/crashpad/util",
]
- if (is_linux || is_chromeos) {
+ if (is_linux || is_chromeos || is_tizen) {
sources += [ "crashpad_linux.cc" ]
data_deps = [ ":chrome_crashpad_handler" ]
}
]
}
- if (is_linux) {
+ if (is_linux || is_tizen) {
sources += [ "share_linux_chrome_refresh.icon" ]
}
}
Image you copied
</message>
</if>
- <if expr="not is_tizen">
+ <if expr="build_chrome">
<message name="IDS_SECURE_CONNECTION_EV" desc="Short text shown in the location bar when the connection is secure with an EV cert.">
<ph name="ORGANIZATION">$1<ex>Paypal Inc.</ex></ph> [<ph name="COUNTRY">$2<ex>US</ex></ph>]
</message>
Search the web in Chrome
</message>
</if>
- <if expr="not is_tizen">
+ <if expr="build_chrome">
<message name="IDS_OMNIBOX_ADDITIONAL_TEXT_DASH_TEMPLATE" desc="The omnibox text when there is both traditional text (i.e., user text + inline autocompletion) and additional text (i.e. the default suggestion's URL when rich autocompleting a title) to display.">
<ph name="TRADITIONAL_TEXT">$1</ph> - <ph name="ADDITIONAL_TEXT">$2</ph>
</message>
Suggest strong password…
</message>
</if>
- <if expr="not is_tizen">
+ <if expr="build_chrome">
<if expr="use_titlecase">
<message name="IDS_PASSWORD_MANAGER_MANAGE_PASSWORDS" desc="The menu item in the password field drop down that opens the list of saved passwords.">
Manage Passwords…
<message name="IDS_POLICY_RELOAD_POLICIES_DONE" desc="Toast notification message indicating policies have been reloaded.">
Policies reloaded
</message>
- <if expr="not is_tizen">
+ <if expr="build_chrome">
<message name="IDS_EXPORT_POLICIES_JSON" desc="Label for the button that exports policies in JSON format.">
Export to JSON
</message>
<message name="IDS_POLICY_SOURCE_DEVICE_LOCAL_ACCOUNT_OVERRIDE" desc="Indicates that the policy is set programmatically because of an active device-local account session: managed session or Kiosk app (both for ChromeOS only). It could have overridden other sources that set this policy.">
Device local account override
</message>
- <if expr="not is_tizen">
+ <if expr="build_chrome">
<message name="IDS_POLICY_RISK_TAG_FULL_ADMIN_ACCESS" desc="Title of a group/tag whose policies potentially allow the administrator to access all of a user's data.">
Full Admin Access
</message>
]
}
- if (is_linux || is_win || is_mac || is_chromeos) {
+ if (is_linux || is_win || is_mac || is_chromeos || is_tizen) {
sources += [
"site_search_policy_handler.cc",
"site_search_policy_handler.h",
<?xml version="1.0" encoding="utf-8"?>
<grit-part>
- <if expr="not is_tizen">
+ <if expr="build_chrome">
<message name="IDS_VERSION_UI_TITLE" desc="Title on the about:version page">
About Version
</message>
<message name="IDS_VERSION_UI_UNOFFICIAL" desc="unofficial build on the about:version page">
Developer Build
</message>
- <if expr="not is_tizen">
+ <if expr="build_chrome">
<message name="IDS_VERSION_UI_32BIT" desc="32-bit on the chrome://version page">
(32-bit)
</message>
}
}
- if (is_linux || is_chromeos) {
+ if (enable_screen_ai_service && (is_linux || is_chromeos || is_tizen)) {
deps += [ "//services/screen_ai:screen_ai_sandbox_hook" ]
}
"build_chrome=true" \
%else
"build_chrome=false" \
- "ozone_auto_platforms=false" \
%endif
%if "%{?tizen_profile_name}" == "tv"
"lib_dir_path=\"%{_libdir}\"" \
deps = [
"//mojo/public/cpp/bindings",
"//sandbox/policy",
- "//services/metrics/public/cpp:ukm_builders",
"//services/metrics/public/cpp:metrics_cpp",
+ "//services/metrics/public/cpp:ukm_builders",
"//services/screen_ai/buildflags",
"//services/screen_ai/proto",
"//services/screen_ai/public/cpp:utilities",
configs += [ "//build/config/compiler:wexit_time_destructors" ]
}
-if (is_linux || is_chromeos) {
+if (is_linux || is_chromeos || is_tizen) {
source_set("screen_ai_sandbox_hook") {
sources = [
"sandbox/screen_ai_sandbox_hook_linux.cc",
data = [ "$root_gen_dir/services/screen_ai/proto/view_hierarchy.descriptor" ]
- deps = [
- "//services/screen_ai/proto:view_hierarchy_proto_descriptor",
- ]
+ deps = [ "//services/screen_ai/proto:view_hierarchy_proto_descriptor" ]
}
source_set("unit_tests") {
"//ui/accessibility:test_support",
]
- data_deps = [
- ":test_support_data",
- ]
+ data_deps = [ ":test_support_data" ]
}
source_set("test_support") {
declare_args() {
# Screen AI service is only supported on desktop platforms.
- enable_screen_ai_service = is_linux || is_mac || is_chromeos || is_win
+ enable_screen_ai_service =
+ is_linux || is_mac || is_chromeos || is_win || is_tizen
# Screen AI library is not available for browser tests on ChromeOS. Tast tests
# cover library's OCR functionality on ChromeOS.
compile_credentials = true
edje_compiler = "edje_cc"
-
-if (use_ozone) {
- # Declared from the //build/config/ui.gni
- #use_glib = true
- external_ozone_platforms = [ "efl" ]
-}
use_nss_certs=true
use_system_libwayland=true
v8_use_external_startup_data=true
+ ozone_auto_platforms=false
"
# FIXME : Note that the v8_snapshot_toolchain has been set to wrong
import("//build/config/chromeos/ui_mode.gni")
import("//build/config/devtools.gni")
import("//build/config/ui.gni")
+import("//tizen_src/build/config/tizen_features.gni")
shared_intermediate_dir = rebase_path(root_gen_dir, root_build_dir)
devtools_grd_path = "$shared_intermediate_dir/$devtools_grd_location"
"use_aura=${use_aura}",
"use_ozone=${use_ozone}",
"is_tizen=${is_tizen}",
+ "build_chrome=${build_chrome}",
# Mac and iOS want Title Case strings.
"use_titlecase=${is_apple}",