Update to Chromium version 121.0.6167.75
This commit is contained in:
parent
e2be512668
commit
a44b59f98d
|
@ -7,6 +7,6 @@
|
||||||
# https://bitbucket.org/chromiumembedded/cef/wiki/BranchesAndBuilding
|
# https://bitbucket.org/chromiumembedded/cef/wiki/BranchesAndBuilding
|
||||||
|
|
||||||
{
|
{
|
||||||
'chromium_checkout': 'refs/tags/121.0.6167.57',
|
'chromium_checkout': 'refs/tags/121.0.6167.75',
|
||||||
'depot_tools_checkout': '6444de14d1'
|
'depot_tools_checkout': '6444de14d1'
|
||||||
}
|
}
|
||||||
|
|
|
@ -20,10 +20,10 @@ index 0f781fe1c2b2e..6456de7ad1c39 100644
|
||||||
|
|
||||||
// Make an exception to allow most visited tiles to commit in
|
// Make an exception to allow most visited tiles to commit in
|
||||||
diff --git content/browser/renderer_host/navigation_request.cc content/browser/renderer_host/navigation_request.cc
|
diff --git content/browser/renderer_host/navigation_request.cc content/browser/renderer_host/navigation_request.cc
|
||||||
index b0375e9e27ed9..30d1c980e924e 100644
|
index bfe5677d66b32..c48b317dde955 100644
|
||||||
--- content/browser/renderer_host/navigation_request.cc
|
--- content/browser/renderer_host/navigation_request.cc
|
||||||
+++ content/browser/renderer_host/navigation_request.cc
|
+++ content/browser/renderer_host/navigation_request.cc
|
||||||
@@ -7610,10 +7610,22 @@ NavigationRequest::GetOriginForURLLoaderFactoryBeforeResponseWithDebugInfo(
|
@@ -7611,10 +7611,22 @@ NavigationRequest::GetOriginForURLLoaderFactoryBeforeResponseWithDebugInfo(
|
||||||
bool use_opaque_origin =
|
bool use_opaque_origin =
|
||||||
(sandbox_flags & network::mojom::WebSandboxFlags::kOrigin) ==
|
(sandbox_flags & network::mojom::WebSandboxFlags::kOrigin) ==
|
||||||
network::mojom::WebSandboxFlags::kOrigin;
|
network::mojom::WebSandboxFlags::kOrigin;
|
||||||
|
@ -47,7 +47,7 @@ index b0375e9e27ed9..30d1c980e924e 100644
|
||||||
}
|
}
|
||||||
|
|
||||||
return origin_and_debug_info;
|
return origin_and_debug_info;
|
||||||
@@ -7721,6 +7733,15 @@ NavigationRequest::GetOriginForURLLoaderFactoryAfterResponseWithDebugInfo() {
|
@@ -7722,6 +7734,15 @@ NavigationRequest::GetOriginForURLLoaderFactoryAfterResponseWithDebugInfo() {
|
||||||
DetermineInitiatorRelationship(initiator_rfh,
|
DetermineInitiatorRelationship(initiator_rfh,
|
||||||
frame_tree_node_->current_frame_host()));
|
frame_tree_node_->current_frame_host()));
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
diff --git chrome/browser/BUILD.gn chrome/browser/BUILD.gn
|
diff --git chrome/browser/BUILD.gn chrome/browser/BUILD.gn
|
||||||
index 655429c1daa7b..1fa943bd41787 100644
|
index afdf577837a49..f4707f1253ffc 100644
|
||||||
--- chrome/browser/BUILD.gn
|
--- chrome/browser/BUILD.gn
|
||||||
+++ chrome/browser/BUILD.gn
|
+++ chrome/browser/BUILD.gn
|
||||||
@@ -11,6 +11,7 @@ import("//build/config/compiler/pgo/pgo.gni")
|
@@ -11,6 +11,7 @@ import("//build/config/compiler/pgo/pgo.gni")
|
||||||
|
|
|
@ -136,7 +136,7 @@ index 176b6248f18e8..1360e8c209eba 100644
|
||||||
#if BUILDFLAG(IS_CHROMEOS_LACROS)
|
#if BUILDFLAG(IS_CHROMEOS_LACROS)
|
||||||
std::unique_ptr<chromeos::LacrosService> lacros_service_;
|
std::unique_ptr<chromeos::LacrosService> lacros_service_;
|
||||||
diff --git chrome/browser/chrome_browser_main.cc chrome/browser/chrome_browser_main.cc
|
diff --git chrome/browser/chrome_browser_main.cc chrome/browser/chrome_browser_main.cc
|
||||||
index 5a2adb9fcc983..a3ce0913825d1 100644
|
index 92d74de26784e..9b4474d431db6 100644
|
||||||
--- chrome/browser/chrome_browser_main.cc
|
--- chrome/browser/chrome_browser_main.cc
|
||||||
+++ chrome/browser/chrome_browser_main.cc
|
+++ chrome/browser/chrome_browser_main.cc
|
||||||
@@ -52,6 +52,7 @@
|
@@ -52,6 +52,7 @@
|
||||||
|
@ -156,7 +156,7 @@ index 5a2adb9fcc983..a3ce0913825d1 100644
|
||||||
// The uninstall command-line switch is handled by the origin process; see
|
// The uninstall command-line switch is handled by the origin process; see
|
||||||
// ChromeMainDelegate::PostEarlyInitialization(...). The other process won't
|
// ChromeMainDelegate::PostEarlyInitialization(...). The other process won't
|
||||||
// be able to become the singleton process and will display a window asking
|
// be able to become the singleton process and will display a window asking
|
||||||
@@ -800,7 +801,7 @@ int ChromeBrowserMainParts::PreEarlyInitialization() {
|
@@ -798,7 +799,7 @@ int ChromeBrowserMainParts::PreEarlyInitialization() {
|
||||||
return content::RESULT_CODE_NORMAL_EXIT;
|
return content::RESULT_CODE_NORMAL_EXIT;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -165,7 +165,7 @@ index 5a2adb9fcc983..a3ce0913825d1 100644
|
||||||
// If we are running stale binaries then relaunch and exit immediately.
|
// If we are running stale binaries then relaunch and exit immediately.
|
||||||
if (upgrade_util::IsRunningOldChrome()) {
|
if (upgrade_util::IsRunningOldChrome()) {
|
||||||
if (!upgrade_util::RelaunchChromeBrowser(
|
if (!upgrade_util::RelaunchChromeBrowser(
|
||||||
@@ -813,7 +814,7 @@ int ChromeBrowserMainParts::PreEarlyInitialization() {
|
@@ -811,7 +812,7 @@ int ChromeBrowserMainParts::PreEarlyInitialization() {
|
||||||
// result in browser startup bailing.
|
// result in browser startup bailing.
|
||||||
return chrome::RESULT_CODE_NORMAL_EXIT_UPGRADE_RELAUNCHED;
|
return chrome::RESULT_CODE_NORMAL_EXIT_UPGRADE_RELAUNCHED;
|
||||||
}
|
}
|
||||||
|
@ -174,7 +174,7 @@ index 5a2adb9fcc983..a3ce0913825d1 100644
|
||||||
|
|
||||||
return load_local_state_result;
|
return load_local_state_result;
|
||||||
}
|
}
|
||||||
@@ -915,7 +916,7 @@ int ChromeBrowserMainParts::OnLocalStateLoaded(
|
@@ -913,7 +914,7 @@ int ChromeBrowserMainParts::OnLocalStateLoaded(
|
||||||
browser_process_->local_state());
|
browser_process_->local_state());
|
||||||
platform_management_service->RefreshCache(base::NullCallback());
|
platform_management_service->RefreshCache(base::NullCallback());
|
||||||
|
|
||||||
|
@ -183,7 +183,7 @@ index 5a2adb9fcc983..a3ce0913825d1 100644
|
||||||
if (first_run::IsChromeFirstRun()) {
|
if (first_run::IsChromeFirstRun()) {
|
||||||
bool stats_default;
|
bool stats_default;
|
||||||
if (GoogleUpdateSettings::GetCollectStatsConsentDefault(&stats_default)) {
|
if (GoogleUpdateSettings::GetCollectStatsConsentDefault(&stats_default)) {
|
||||||
@@ -928,7 +929,7 @@ int ChromeBrowserMainParts::OnLocalStateLoaded(
|
@@ -926,7 +927,7 @@ int ChromeBrowserMainParts::OnLocalStateLoaded(
|
||||||
: metrics::EnableMetricsDefault::OPT_IN);
|
: metrics::EnableMetricsDefault::OPT_IN);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -192,7 +192,7 @@ index 5a2adb9fcc983..a3ce0913825d1 100644
|
||||||
|
|
||||||
std::string locale =
|
std::string locale =
|
||||||
startup_data_->chrome_feature_list_creator()->actual_locale();
|
startup_data_->chrome_feature_list_creator()->actual_locale();
|
||||||
@@ -961,6 +962,7 @@ int ChromeBrowserMainParts::ApplyFirstRunPrefs() {
|
@@ -959,6 +960,7 @@ int ChromeBrowserMainParts::ApplyFirstRunPrefs() {
|
||||||
#if !BUILDFLAG(IS_ANDROID) && !BUILDFLAG(IS_CHROMEOS_ASH)
|
#if !BUILDFLAG(IS_ANDROID) && !BUILDFLAG(IS_CHROMEOS_ASH)
|
||||||
master_prefs_ = std::make_unique<first_run::MasterPrefs>();
|
master_prefs_ = std::make_unique<first_run::MasterPrefs>();
|
||||||
|
|
||||||
|
@ -200,7 +200,7 @@ index 5a2adb9fcc983..a3ce0913825d1 100644
|
||||||
std::unique_ptr<installer::InitialPreferences> installer_initial_prefs =
|
std::unique_ptr<installer::InitialPreferences> installer_initial_prefs =
|
||||||
startup_data_->chrome_feature_list_creator()->TakeInitialPrefs();
|
startup_data_->chrome_feature_list_creator()->TakeInitialPrefs();
|
||||||
if (!installer_initial_prefs)
|
if (!installer_initial_prefs)
|
||||||
@@ -994,6 +996,7 @@ int ChromeBrowserMainParts::ApplyFirstRunPrefs() {
|
@@ -992,6 +994,7 @@ int ChromeBrowserMainParts::ApplyFirstRunPrefs() {
|
||||||
master_prefs_->confirm_to_quit);
|
master_prefs_->confirm_to_quit);
|
||||||
}
|
}
|
||||||
#endif // BUILDFLAG(IS_MAC)
|
#endif // BUILDFLAG(IS_MAC)
|
||||||
|
@ -208,7 +208,7 @@ index 5a2adb9fcc983..a3ce0913825d1 100644
|
||||||
#endif // !BUILDFLAG(IS_ANDROID) && !BUILDFLAG(IS_CHROMEOS_ASH)
|
#endif // !BUILDFLAG(IS_ANDROID) && !BUILDFLAG(IS_CHROMEOS_ASH)
|
||||||
return content::RESULT_CODE_NORMAL_EXIT;
|
return content::RESULT_CODE_NORMAL_EXIT;
|
||||||
}
|
}
|
||||||
@@ -1060,6 +1063,7 @@ int ChromeBrowserMainParts::PreCreateThreadsImpl() {
|
@@ -1058,6 +1061,7 @@ int ChromeBrowserMainParts::PreCreateThreadsImpl() {
|
||||||
|
|
||||||
browser_process_->browser_policy_connector()->OnResourceBundleCreated();
|
browser_process_->browser_policy_connector()->OnResourceBundleCreated();
|
||||||
|
|
||||||
|
@ -216,7 +216,7 @@ index 5a2adb9fcc983..a3ce0913825d1 100644
|
||||||
// Android does first run in Java instead of native.
|
// Android does first run in Java instead of native.
|
||||||
// Chrome OS has its own out-of-box-experience code.
|
// Chrome OS has its own out-of-box-experience code.
|
||||||
#if !BUILDFLAG(IS_ANDROID) && !BUILDFLAG(IS_CHROMEOS_ASH)
|
#if !BUILDFLAG(IS_ANDROID) && !BUILDFLAG(IS_CHROMEOS_ASH)
|
||||||
@@ -1081,6 +1085,7 @@ int ChromeBrowserMainParts::PreCreateThreadsImpl() {
|
@@ -1079,6 +1083,7 @@ int ChromeBrowserMainParts::PreCreateThreadsImpl() {
|
||||||
#endif // BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
|
#endif // BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
|
||||||
}
|
}
|
||||||
#endif // !BUILDFLAG(IS_ANDROID) && !BUILDFLAG(IS_CHROMEOS_ASH)
|
#endif // !BUILDFLAG(IS_ANDROID) && !BUILDFLAG(IS_CHROMEOS_ASH)
|
||||||
|
@ -224,7 +224,7 @@ index 5a2adb9fcc983..a3ce0913825d1 100644
|
||||||
|
|
||||||
#if BUILDFLAG(IS_CHROMEOS)
|
#if BUILDFLAG(IS_CHROMEOS)
|
||||||
// Set the product channel for crash reports.
|
// Set the product channel for crash reports.
|
||||||
@@ -1457,6 +1462,7 @@ int ChromeBrowserMainParts::PreMainMessageLoopRunImpl() {
|
@@ -1455,6 +1460,7 @@ int ChromeBrowserMainParts::PreMainMessageLoopRunImpl() {
|
||||||
browser_process_->PreMainMessageLoopRun();
|
browser_process_->PreMainMessageLoopRun();
|
||||||
|
|
||||||
#if BUILDFLAG(IS_WIN)
|
#if BUILDFLAG(IS_WIN)
|
||||||
|
@ -232,7 +232,7 @@ index 5a2adb9fcc983..a3ce0913825d1 100644
|
||||||
// If the command line specifies 'uninstall' then we need to work here
|
// If the command line specifies 'uninstall' then we need to work here
|
||||||
// unless we detect another chrome browser running.
|
// unless we detect another chrome browser running.
|
||||||
if (base::CommandLine::ForCurrentProcess()->HasSwitch(switches::kUninstall)) {
|
if (base::CommandLine::ForCurrentProcess()->HasSwitch(switches::kUninstall)) {
|
||||||
@@ -1468,6 +1474,7 @@ int ChromeBrowserMainParts::PreMainMessageLoopRunImpl() {
|
@@ -1466,6 +1472,7 @@ int ChromeBrowserMainParts::PreMainMessageLoopRunImpl() {
|
||||||
return ChromeBrowserMainPartsWin::HandleIconsCommands(
|
return ChromeBrowserMainPartsWin::HandleIconsCommands(
|
||||||
*base::CommandLine::ForCurrentProcess());
|
*base::CommandLine::ForCurrentProcess());
|
||||||
}
|
}
|
||||||
|
@ -240,7 +240,7 @@ index 5a2adb9fcc983..a3ce0913825d1 100644
|
||||||
|
|
||||||
ui::SelectFileDialog::SetFactory(
|
ui::SelectFileDialog::SetFactory(
|
||||||
std::make_unique<ChromeSelectFileDialogFactory>());
|
std::make_unique<ChromeSelectFileDialogFactory>());
|
||||||
@@ -1485,6 +1492,7 @@ int ChromeBrowserMainParts::PreMainMessageLoopRunImpl() {
|
@@ -1483,6 +1490,7 @@ int ChromeBrowserMainParts::PreMainMessageLoopRunImpl() {
|
||||||
}
|
}
|
||||||
#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC)
|
#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC)
|
||||||
|
|
||||||
|
@ -248,7 +248,7 @@ index 5a2adb9fcc983..a3ce0913825d1 100644
|
||||||
if (base::CommandLine::ForCurrentProcess()->HasSwitch(
|
if (base::CommandLine::ForCurrentProcess()->HasSwitch(
|
||||||
switches::kMakeDefaultBrowser)) {
|
switches::kMakeDefaultBrowser)) {
|
||||||
bool is_managed = g_browser_process->local_state()->IsManagedPreference(
|
bool is_managed = g_browser_process->local_state()->IsManagedPreference(
|
||||||
@@ -1498,18 +1506,22 @@ int ChromeBrowserMainParts::PreMainMessageLoopRunImpl() {
|
@@ -1496,18 +1504,22 @@ int ChromeBrowserMainParts::PreMainMessageLoopRunImpl() {
|
||||||
? static_cast<int>(content::RESULT_CODE_NORMAL_EXIT)
|
? static_cast<int>(content::RESULT_CODE_NORMAL_EXIT)
|
||||||
: static_cast<int>(chrome::RESULT_CODE_SHELL_INTEGRATION_FAILED);
|
: static_cast<int>(chrome::RESULT_CODE_SHELL_INTEGRATION_FAILED);
|
||||||
}
|
}
|
||||||
|
@ -271,7 +271,7 @@ index 5a2adb9fcc983..a3ce0913825d1 100644
|
||||||
|
|
||||||
#if !BUILDFLAG(IS_ANDROID) && BUILDFLAG(ENABLE_DOWNGRADE_PROCESSING)
|
#if !BUILDFLAG(IS_ANDROID) && BUILDFLAG(ENABLE_DOWNGRADE_PROCESSING)
|
||||||
// Begin relaunch processing immediately if User Data migration is required
|
// Begin relaunch processing immediately if User Data migration is required
|
||||||
@@ -1548,7 +1560,7 @@ int ChromeBrowserMainParts::PreMainMessageLoopRunImpl() {
|
@@ -1546,7 +1558,7 @@ int ChromeBrowserMainParts::PreMainMessageLoopRunImpl() {
|
||||||
}
|
}
|
||||||
#endif // !BUILDFLAG(IS_ANDROID) && !BUILDFLAG(IS_CHROMEOS_ASH)
|
#endif // !BUILDFLAG(IS_ANDROID) && !BUILDFLAG(IS_CHROMEOS_ASH)
|
||||||
|
|
||||||
|
@ -280,7 +280,7 @@ index 5a2adb9fcc983..a3ce0913825d1 100644
|
||||||
// Check if there is any machine level Chrome installed on the current
|
// Check if there is any machine level Chrome installed on the current
|
||||||
// machine. If yes and the current Chrome process is user level, we do not
|
// machine. If yes and the current Chrome process is user level, we do not
|
||||||
// allow the user level Chrome to run. So we notify the user and uninstall
|
// allow the user level Chrome to run. So we notify the user and uninstall
|
||||||
@@ -1557,7 +1569,7 @@ int ChromeBrowserMainParts::PreMainMessageLoopRunImpl() {
|
@@ -1555,7 +1567,7 @@ int ChromeBrowserMainParts::PreMainMessageLoopRunImpl() {
|
||||||
// obtained but before potentially creating the first run sentinel).
|
// obtained but before potentially creating the first run sentinel).
|
||||||
if (ChromeBrowserMainPartsWin::CheckMachineLevelInstall())
|
if (ChromeBrowserMainPartsWin::CheckMachineLevelInstall())
|
||||||
return chrome::RESULT_CODE_MACHINE_LEVEL_INSTALL_EXISTS;
|
return chrome::RESULT_CODE_MACHINE_LEVEL_INSTALL_EXISTS;
|
||||||
|
@ -289,7 +289,7 @@ index 5a2adb9fcc983..a3ce0913825d1 100644
|
||||||
|
|
||||||
// Desktop construction occurs here, (required before profile creation).
|
// Desktop construction occurs here, (required before profile creation).
|
||||||
PreProfileInit();
|
PreProfileInit();
|
||||||
@@ -1600,12 +1612,14 @@ int ChromeBrowserMainParts::PreMainMessageLoopRunImpl() {
|
@@ -1598,12 +1610,14 @@ int ChromeBrowserMainParts::PreMainMessageLoopRunImpl() {
|
||||||
browser_process_->local_state());
|
browser_process_->local_state());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -304,7 +304,7 @@ index 5a2adb9fcc983..a3ce0913825d1 100644
|
||||||
|
|
||||||
#if BUILDFLAG(IS_ANDROID)
|
#if BUILDFLAG(IS_ANDROID)
|
||||||
page_info::SetPageInfoClient(new ChromePageInfoClient());
|
page_info::SetPageInfoClient(new ChromePageInfoClient());
|
||||||
@@ -1632,6 +1646,7 @@ int ChromeBrowserMainParts::PreMainMessageLoopRunImpl() {
|
@@ -1630,6 +1644,7 @@ int ChromeBrowserMainParts::PreMainMessageLoopRunImpl() {
|
||||||
// Call `PostProfileInit()`and set it up for profiles created later.
|
// Call `PostProfileInit()`and set it up for profiles created later.
|
||||||
profile_init_manager_ = std::make_unique<ProfileInitManager>(this, profile);
|
profile_init_manager_ = std::make_unique<ProfileInitManager>(this, profile);
|
||||||
|
|
||||||
|
@ -312,7 +312,7 @@ index 5a2adb9fcc983..a3ce0913825d1 100644
|
||||||
#if !BUILDFLAG(IS_ANDROID) && !BUILDFLAG(IS_CHROMEOS_ASH)
|
#if !BUILDFLAG(IS_ANDROID) && !BUILDFLAG(IS_CHROMEOS_ASH)
|
||||||
// Execute first run specific code after the PrefService has been initialized
|
// Execute first run specific code after the PrefService has been initialized
|
||||||
// and preferences have been registered since some of the import code depends
|
// and preferences have been registered since some of the import code depends
|
||||||
@@ -1671,6 +1686,7 @@ int ChromeBrowserMainParts::PreMainMessageLoopRunImpl() {
|
@@ -1669,6 +1684,7 @@ int ChromeBrowserMainParts::PreMainMessageLoopRunImpl() {
|
||||||
*base::CommandLine::ForCurrentProcess());
|
*base::CommandLine::ForCurrentProcess());
|
||||||
}
|
}
|
||||||
#endif // BUILDFLAG(IS_WIN)
|
#endif // BUILDFLAG(IS_WIN)
|
||||||
|
@ -320,7 +320,7 @@ index 5a2adb9fcc983..a3ce0913825d1 100644
|
||||||
|
|
||||||
// Configure modules that need access to resources.
|
// Configure modules that need access to resources.
|
||||||
net::NetModule::SetResourceProvider(ChromeNetResourceProvider);
|
net::NetModule::SetResourceProvider(ChromeNetResourceProvider);
|
||||||
@@ -1750,6 +1766,11 @@ int ChromeBrowserMainParts::PreMainMessageLoopRunImpl() {
|
@@ -1748,6 +1764,11 @@ int ChromeBrowserMainParts::PreMainMessageLoopRunImpl() {
|
||||||
g_browser_process->profile_manager()->GetLastOpenedProfiles();
|
g_browser_process->profile_manager()->GetLastOpenedProfiles();
|
||||||
}
|
}
|
||||||
#endif // BUILDFLAG(IS_CHROMEOS_ASH)
|
#endif // BUILDFLAG(IS_CHROMEOS_ASH)
|
||||||
|
@ -332,7 +332,7 @@ index 5a2adb9fcc983..a3ce0913825d1 100644
|
||||||
// This step is costly.
|
// This step is costly.
|
||||||
if (browser_creator_->Start(*base::CommandLine::ForCurrentProcess(),
|
if (browser_creator_->Start(*base::CommandLine::ForCurrentProcess(),
|
||||||
base::FilePath(), profile_info,
|
base::FilePath(), profile_info,
|
||||||
@@ -1782,11 +1803,14 @@ int ChromeBrowserMainParts::PreMainMessageLoopRunImpl() {
|
@@ -1780,11 +1801,14 @@ int ChromeBrowserMainParts::PreMainMessageLoopRunImpl() {
|
||||||
|
|
||||||
// Create the RunLoop for MainMessageLoopRun() to use and transfer
|
// Create the RunLoop for MainMessageLoopRun() to use and transfer
|
||||||
// ownership of the browser's lifetime to the BrowserProcess.
|
// ownership of the browser's lifetime to the BrowserProcess.
|
||||||
|
|
|
@ -363,10 +363,10 @@ index 0c231b6ac5b01..6b5af98e18e42 100644
|
||||||
BrowserFrame(const BrowserFrame&) = delete;
|
BrowserFrame(const BrowserFrame&) = delete;
|
||||||
BrowserFrame& operator=(const BrowserFrame&) = delete;
|
BrowserFrame& operator=(const BrowserFrame&) = delete;
|
||||||
diff --git chrome/browser/ui/views/frame/browser_view.cc chrome/browser/ui/views/frame/browser_view.cc
|
diff --git chrome/browser/ui/views/frame/browser_view.cc chrome/browser/ui/views/frame/browser_view.cc
|
||||||
index 4273a5f004935..55f2782c262e4 100644
|
index 5392c8ddc6f13..153ad48fc65ba 100644
|
||||||
--- chrome/browser/ui/views/frame/browser_view.cc
|
--- chrome/browser/ui/views/frame/browser_view.cc
|
||||||
+++ chrome/browser/ui/views/frame/browser_view.cc
|
+++ chrome/browser/ui/views/frame/browser_view.cc
|
||||||
@@ -343,11 +343,10 @@ using content::NativeWebKeyboardEvent;
|
@@ -345,11 +345,10 @@ using content::NativeWebKeyboardEvent;
|
||||||
using content::WebContents;
|
using content::WebContents;
|
||||||
using web_modal::WebContentsModalDialogHost;
|
using web_modal::WebContentsModalDialogHost;
|
||||||
|
|
||||||
|
@ -381,7 +381,7 @@ index 4273a5f004935..55f2782c262e4 100644
|
||||||
|
|
||||||
#if BUILDFLAG(IS_CHROMEOS_ASH)
|
#if BUILDFLAG(IS_CHROMEOS_ASH)
|
||||||
// UMA histograms that record animation smoothness for tab loading animation.
|
// UMA histograms that record animation smoothness for tab loading animation.
|
||||||
@@ -701,6 +700,14 @@ class BrowserViewLayoutDelegateImpl : public BrowserViewLayoutDelegate {
|
@@ -703,6 +702,14 @@ class BrowserViewLayoutDelegateImpl : public BrowserViewLayoutDelegate {
|
||||||
return browser_view_->frame()->GetTopInset() - browser_view_->y();
|
return browser_view_->frame()->GetTopInset() - browser_view_->y();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -396,7 +396,7 @@ index 4273a5f004935..55f2782c262e4 100644
|
||||||
bool IsToolbarVisible() const override {
|
bool IsToolbarVisible() const override {
|
||||||
return browser_view_->IsToolbarVisible();
|
return browser_view_->IsToolbarVisible();
|
||||||
}
|
}
|
||||||
@@ -862,11 +869,21 @@ class BrowserView::AccessibilityModeObserver : public ui::AXModeObserver {
|
@@ -864,11 +871,21 @@ class BrowserView::AccessibilityModeObserver : public ui::AXModeObserver {
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
// BrowserView, public:
|
// BrowserView, public:
|
||||||
|
|
||||||
|
@ -419,7 +419,7 @@ index 4273a5f004935..55f2782c262e4 100644
|
||||||
// Store the actions so that the access is available for other classes.
|
// Store the actions so that the access is available for other classes.
|
||||||
if (features::IsSidePanelPinningEnabled()) {
|
if (features::IsSidePanelPinningEnabled()) {
|
||||||
browser_->SetUserData(BrowserActions::UserDataKey(),
|
browser_->SetUserData(BrowserActions::UserDataKey(),
|
||||||
@@ -963,8 +980,15 @@ BrowserView::BrowserView(std::unique_ptr<Browser> browser)
|
@@ -965,8 +982,15 @@ BrowserView::BrowserView(std::unique_ptr<Browser> browser)
|
||||||
contents_container->SetLayoutManager(std::make_unique<ContentsLayoutManager>(
|
contents_container->SetLayoutManager(std::make_unique<ContentsLayoutManager>(
|
||||||
devtools_web_view_, contents_web_view_));
|
devtools_web_view_, contents_web_view_));
|
||||||
|
|
||||||
|
@ -437,7 +437,7 @@ index 4273a5f004935..55f2782c262e4 100644
|
||||||
|
|
||||||
contents_separator_ =
|
contents_separator_ =
|
||||||
top_container_->AddChildView(std::make_unique<ContentsSeparator>());
|
top_container_->AddChildView(std::make_unique<ContentsSeparator>());
|
||||||
@@ -1038,7 +1062,9 @@ BrowserView::~BrowserView() {
|
@@ -1040,7 +1064,9 @@ BrowserView::~BrowserView() {
|
||||||
|
|
||||||
// All the tabs should have been destroyed already. If we were closed by the
|
// All the tabs should have been destroyed already. If we were closed by the
|
||||||
// OS with some tabs than the NativeBrowserFrame should have destroyed them.
|
// OS with some tabs than the NativeBrowserFrame should have destroyed them.
|
||||||
|
@ -447,7 +447,7 @@ index 4273a5f004935..55f2782c262e4 100644
|
||||||
|
|
||||||
// Stop the animation timer explicitly here to avoid running it in a nested
|
// Stop the animation timer explicitly here to avoid running it in a nested
|
||||||
// message loop, which may run by Browser destructor.
|
// message loop, which may run by Browser destructor.
|
||||||
@@ -1052,12 +1078,14 @@ BrowserView::~BrowserView() {
|
@@ -1054,12 +1080,14 @@ BrowserView::~BrowserView() {
|
||||||
// child views and it is an observer for avatar toolbar button if any.
|
// child views and it is an observer for avatar toolbar button if any.
|
||||||
autofill_bubble_handler_.reset();
|
autofill_bubble_handler_.reset();
|
||||||
|
|
||||||
|
@ -462,7 +462,7 @@ index 4273a5f004935..55f2782c262e4 100644
|
||||||
|
|
||||||
// The TabStrip attaches a listener to the model. Make sure we shut down the
|
// The TabStrip attaches a listener to the model. Make sure we shut down the
|
||||||
// TabStrip first so that it can cleanly remove the listener.
|
// TabStrip first so that it can cleanly remove the listener.
|
||||||
@@ -1075,7 +1103,9 @@ BrowserView::~BrowserView() {
|
@@ -1077,7 +1105,9 @@ BrowserView::~BrowserView() {
|
||||||
|
|
||||||
// `SidePanelUI::RemoveSidePanelUIForBrowser()` deletes the
|
// `SidePanelUI::RemoveSidePanelUIForBrowser()` deletes the
|
||||||
// SidePanelCoordinator.
|
// SidePanelCoordinator.
|
||||||
|
@ -472,7 +472,7 @@ index 4273a5f004935..55f2782c262e4 100644
|
||||||
}
|
}
|
||||||
|
|
||||||
// static
|
// static
|
||||||
@@ -1950,9 +1980,14 @@ void BrowserView::OnExclusiveAccessUserInput() {
|
@@ -1955,9 +1985,14 @@ void BrowserView::OnExclusiveAccessUserInput() {
|
||||||
|
|
||||||
bool BrowserView::ShouldHideUIForFullscreen() const {
|
bool BrowserView::ShouldHideUIForFullscreen() const {
|
||||||
// Immersive mode needs UI for the slide-down top panel.
|
// Immersive mode needs UI for the slide-down top panel.
|
||||||
|
@ -488,7 +488,7 @@ index 4273a5f004935..55f2782c262e4 100644
|
||||||
return frame_->GetFrameView()->ShouldHideTopUIForFullscreen();
|
return frame_->GetFrameView()->ShouldHideTopUIForFullscreen();
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -3065,7 +3100,8 @@ DownloadShelf* BrowserView::GetDownloadShelf() {
|
@@ -3078,7 +3113,8 @@ DownloadShelf* BrowserView::GetDownloadShelf() {
|
||||||
}
|
}
|
||||||
|
|
||||||
DownloadBubbleUIController* BrowserView::GetDownloadBubbleUIController() {
|
DownloadBubbleUIController* BrowserView::GetDownloadBubbleUIController() {
|
||||||
|
@ -498,7 +498,7 @@ index 4273a5f004935..55f2782c262e4 100644
|
||||||
if (auto* download_button = toolbar_button_provider_->GetDownloadButton())
|
if (auto* download_button = toolbar_button_provider_->GetDownloadButton())
|
||||||
return download_button->bubble_controller();
|
return download_button->bubble_controller();
|
||||||
return nullptr;
|
return nullptr;
|
||||||
@@ -3616,7 +3652,8 @@ void BrowserView::ReparentTopContainerForEndOfImmersive() {
|
@@ -3629,7 +3665,8 @@ void BrowserView::ReparentTopContainerForEndOfImmersive() {
|
||||||
if (top_container()->parent() == this)
|
if (top_container()->parent() == this)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
@ -508,7 +508,7 @@ index 4273a5f004935..55f2782c262e4 100644
|
||||||
top_container()->DestroyLayer();
|
top_container()->DestroyLayer();
|
||||||
AddChildViewAt(top_container(), 0);
|
AddChildViewAt(top_container(), 0);
|
||||||
EnsureFocusOrder();
|
EnsureFocusOrder();
|
||||||
@@ -4078,11 +4115,38 @@ void BrowserView::GetAccessiblePanes(std::vector<views::View*>* panes) {
|
@@ -4091,11 +4128,38 @@ void BrowserView::GetAccessiblePanes(std::vector<views::View*>* panes) {
|
||||||
bool BrowserView::ShouldDescendIntoChildForEventHandling(
|
bool BrowserView::ShouldDescendIntoChildForEventHandling(
|
||||||
gfx::NativeView child,
|
gfx::NativeView child,
|
||||||
const gfx::Point& location) {
|
const gfx::Point& location) {
|
||||||
|
@ -549,7 +549,7 @@ index 4273a5f004935..55f2782c262e4 100644
|
||||||
// Draggable regions are defined relative to the web contents.
|
// Draggable regions are defined relative to the web contents.
|
||||||
gfx::Point point_in_contents_web_view_coords(location);
|
gfx::Point point_in_contents_web_view_coords(location);
|
||||||
views::View::ConvertPointToTarget(GetWidget()->GetRootView(),
|
views::View::ConvertPointToTarget(GetWidget()->GetRootView(),
|
||||||
@@ -4091,7 +4155,7 @@ bool BrowserView::ShouldDescendIntoChildForEventHandling(
|
@@ -4104,7 +4168,7 @@ bool BrowserView::ShouldDescendIntoChildForEventHandling(
|
||||||
|
|
||||||
// Draggable regions should be ignored for clicks into any browser view's
|
// Draggable regions should be ignored for clicks into any browser view's
|
||||||
// owned widgets, for example alerts, permission prompts or find bar.
|
// owned widgets, for example alerts, permission prompts or find bar.
|
||||||
|
@ -558,7 +558,7 @@ index 4273a5f004935..55f2782c262e4 100644
|
||||||
point_in_contents_web_view_coords.x(),
|
point_in_contents_web_view_coords.x(),
|
||||||
point_in_contents_web_view_coords.y()) ||
|
point_in_contents_web_view_coords.y()) ||
|
||||||
WidgetOwnedByAnchorContainsPoint(point_in_contents_web_view_coords);
|
WidgetOwnedByAnchorContainsPoint(point_in_contents_web_view_coords);
|
||||||
@@ -4199,8 +4263,10 @@ void BrowserView::Layout() {
|
@@ -4212,8 +4276,10 @@ void BrowserView::Layout() {
|
||||||
|
|
||||||
// TODO(jamescook): Why was this in the middle of layout code?
|
// TODO(jamescook): Why was this in the middle of layout code?
|
||||||
toolbar_->location_bar()->omnibox_view()->SetFocusBehavior(
|
toolbar_->location_bar()->omnibox_view()->SetFocusBehavior(
|
||||||
|
@ -571,7 +571,7 @@ index 4273a5f004935..55f2782c262e4 100644
|
||||||
|
|
||||||
#if BUILDFLAG(IS_CHROMEOS_ASH)
|
#if BUILDFLAG(IS_CHROMEOS_ASH)
|
||||||
// In chromeOS ash we round the bottom two corners of the browser frame by
|
// In chromeOS ash we round the bottom two corners of the browser frame by
|
||||||
@@ -4278,6 +4344,11 @@ void BrowserView::AddedToWidget() {
|
@@ -4291,6 +4357,11 @@ void BrowserView::AddedToWidget() {
|
||||||
SetThemeProfileForWindow(GetNativeWindow(), browser_->profile());
|
SetThemeProfileForWindow(GetNativeWindow(), browser_->profile());
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -583,7 +583,7 @@ index 4273a5f004935..55f2782c262e4 100644
|
||||||
toolbar_->Init();
|
toolbar_->Init();
|
||||||
|
|
||||||
// TODO(pbos): Investigate whether the side panels should be creatable when
|
// TODO(pbos): Investigate whether the side panels should be creatable when
|
||||||
@@ -4326,13 +4397,9 @@ void BrowserView::AddedToWidget() {
|
@@ -4339,13 +4410,9 @@ void BrowserView::AddedToWidget() {
|
||||||
|
|
||||||
EnsureFocusOrder();
|
EnsureFocusOrder();
|
||||||
|
|
||||||
|
@ -599,7 +599,7 @@ index 4273a5f004935..55f2782c262e4 100644
|
||||||
using_native_frame_ = frame_->ShouldUseNativeFrame();
|
using_native_frame_ = frame_->ShouldUseNativeFrame();
|
||||||
|
|
||||||
MaybeInitializeWebUITabStrip();
|
MaybeInitializeWebUITabStrip();
|
||||||
@@ -4749,7 +4816,8 @@ void BrowserView::ProcessFullscreen(bool fullscreen,
|
@@ -4767,7 +4834,8 @@ void BrowserView::ProcessFullscreen(bool fullscreen,
|
||||||
// Undo our anti-jankiness hacks and force a re-layout.
|
// Undo our anti-jankiness hacks and force a re-layout.
|
||||||
in_process_fullscreen_ = false;
|
in_process_fullscreen_ = false;
|
||||||
ToolbarSizeChanged(false);
|
ToolbarSizeChanged(false);
|
||||||
|
@ -609,7 +609,7 @@ index 4273a5f004935..55f2782c262e4 100644
|
||||||
}
|
}
|
||||||
|
|
||||||
bool BrowserView::ShouldUseImmersiveFullscreenForUrl(const GURL& url) const {
|
bool BrowserView::ShouldUseImmersiveFullscreenForUrl(const GURL& url) const {
|
||||||
@@ -5147,6 +5215,8 @@ Profile* BrowserView::GetProfile() {
|
@@ -5165,6 +5233,8 @@ Profile* BrowserView::GetProfile() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void BrowserView::UpdateUIForTabFullscreen() {
|
void BrowserView::UpdateUIForTabFullscreen() {
|
||||||
|
@ -618,7 +618,7 @@ index 4273a5f004935..55f2782c262e4 100644
|
||||||
frame()->GetFrameView()->UpdateFullscreenTopUI();
|
frame()->GetFrameView()->UpdateFullscreenTopUI();
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -5169,6 +5239,8 @@ void BrowserView::HideDownloadShelf() {
|
@@ -5187,6 +5257,8 @@ void BrowserView::HideDownloadShelf() {
|
||||||
}
|
}
|
||||||
|
|
||||||
bool BrowserView::CanUserExitFullscreen() const {
|
bool BrowserView::CanUserExitFullscreen() const {
|
||||||
|
@ -628,7 +628,7 @@ index 4273a5f004935..55f2782c262e4 100644
|
||||||
}
|
}
|
||||||
|
|
||||||
diff --git chrome/browser/ui/views/frame/browser_view.h chrome/browser/ui/views/frame/browser_view.h
|
diff --git chrome/browser/ui/views/frame/browser_view.h chrome/browser/ui/views/frame/browser_view.h
|
||||||
index 2e4054890db75..1a518ba936fd1 100644
|
index 773124dcd15cd..64c6d648c8321 100644
|
||||||
--- chrome/browser/ui/views/frame/browser_view.h
|
--- chrome/browser/ui/views/frame/browser_view.h
|
||||||
+++ chrome/browser/ui/views/frame/browser_view.h
|
+++ chrome/browser/ui/views/frame/browser_view.h
|
||||||
@@ -138,11 +138,16 @@ class BrowserView : public BrowserWindow,
|
@@ -138,11 +138,16 @@ class BrowserView : public BrowserWindow,
|
||||||
|
@ -940,7 +940,7 @@ index 9536b049aeb9d..30f3091939675 100644
|
||||||
}
|
}
|
||||||
|
|
||||||
diff --git chrome/browser/ui/views/toolbar/toolbar_view.cc chrome/browser/ui/views/toolbar/toolbar_view.cc
|
diff --git chrome/browser/ui/views/toolbar/toolbar_view.cc chrome/browser/ui/views/toolbar/toolbar_view.cc
|
||||||
index f43c6d4d5f030..cd85d5ddda2d8 100644
|
index 836617ff76c51..d4d685783edfb 100644
|
||||||
--- chrome/browser/ui/views/toolbar/toolbar_view.cc
|
--- chrome/browser/ui/views/toolbar/toolbar_view.cc
|
||||||
+++ chrome/browser/ui/views/toolbar/toolbar_view.cc
|
+++ chrome/browser/ui/views/toolbar/toolbar_view.cc
|
||||||
@@ -190,7 +190,7 @@ class TabstripLikeBackground : public views::Background {
|
@@ -190,7 +190,7 @@ class TabstripLikeBackground : public views::Background {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
diff --git tools/gritsettings/resource_ids.spec tools/gritsettings/resource_ids.spec
|
diff --git tools/gritsettings/resource_ids.spec tools/gritsettings/resource_ids.spec
|
||||||
index cdce083b1bea8..f59c624b3c7c0 100644
|
index fd39b79a88fc0..fe3dacda735d2 100644
|
||||||
--- tools/gritsettings/resource_ids.spec
|
--- tools/gritsettings/resource_ids.spec
|
||||||
+++ tools/gritsettings/resource_ids.spec
|
+++ tools/gritsettings/resource_ids.spec
|
||||||
@@ -1266,6 +1266,15 @@
|
@@ -1266,6 +1266,15 @@
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
diff --git ui/gfx/x/connection.cc ui/gfx/x/connection.cc
|
diff --git ui/gfx/x/connection.cc ui/gfx/x/connection.cc
|
||||||
index e9034ec7dea3e..b11df74c1d9dd 100644
|
index 8c59d60a30148..6cc6326e65639 100644
|
||||||
--- ui/gfx/x/connection.cc
|
--- ui/gfx/x/connection.cc
|
||||||
+++ ui/gfx/x/connection.cc
|
+++ ui/gfx/x/connection.cc
|
||||||
@@ -183,6 +183,7 @@ Connection::Connection(const std::string& address)
|
@@ -183,6 +183,7 @@ Connection::Connection(const std::string& address)
|
||||||
|
|
|
@ -223,7 +223,7 @@ index 2f462f0deb5fc..695869b83cefa 100644
|
||||||
+ Draw(gfx.mojom.Rect damage_rect) => ();
|
+ Draw(gfx.mojom.Rect damage_rect) => ();
|
||||||
};
|
};
|
||||||
diff --git ui/compositor/compositor.h ui/compositor/compositor.h
|
diff --git ui/compositor/compositor.h ui/compositor/compositor.h
|
||||||
index 64a305d0b2878..6e072a28ff71c 100644
|
index 2ca597249e94f..314c890f8498a 100644
|
||||||
--- ui/compositor/compositor.h
|
--- ui/compositor/compositor.h
|
||||||
+++ ui/compositor/compositor.h
|
+++ ui/compositor/compositor.h
|
||||||
@@ -33,7 +33,9 @@
|
@@ -33,7 +33,9 @@
|
||||||
|
@ -261,7 +261,7 @@ index 64a305d0b2878..6e072a28ff71c 100644
|
||||||
// Sets the root of the layer tree drawn by this Compositor. The root layer
|
// Sets the root of the layer tree drawn by this Compositor. The root layer
|
||||||
// must have no parent. The compositor's root layer is reset if the root layer
|
// must have no parent. The compositor's root layer is reset if the root layer
|
||||||
// is destroyed. NULL can be passed to reset the root layer, in which case the
|
// is destroyed. NULL can be passed to reset the root layer, in which case the
|
||||||
@@ -544,6 +557,8 @@ class COMPOSITOR_EXPORT Compositor : public base::PowerSuspendObserver,
|
@@ -542,6 +555,8 @@ class COMPOSITOR_EXPORT Compositor : public base::PowerSuspendObserver,
|
||||||
|
|
||||||
std::unique_ptr<PendingBeginFrameArgs> pending_begin_frame_args_;
|
std::unique_ptr<PendingBeginFrameArgs> pending_begin_frame_args_;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue