chore: bump chromium to 138.0.7190.0 (main) (#47107)
* chore: bump chromium in DEPS to 138.0.7180.0 * 6546797: Add a metric for the overall success of the "safe storage" item retrieval. Refs https://chromium-review.googlesource.com/c/chromium/src/+/6546797 * 6548078: extensions: Fix TODO in ScriptInjectionTracker for desktop Android Refs https://chromium-review.googlesource.com/c/chromium/src/+/6548078 * 6544950: Revert "FSA: Only normalize the hardcoded rules once during initialization" Refs https://chromium-review.googlesource.com/c/chromium/src/+/6544950 * chore: bump chromium in DEPS to 138.0.7181.0 * chore: update patches * fix: correctly clamp HSL shift values between 0 and 1 * chore: bump DEPS to 138.0.7183.0 * 6553142: Remove SelectFileDialogLinuxKde | https://chromium-review.googlesource.com/c/chromium/src/+/6553142 * chore: update patches * chore: bump chromium in DEPS to 138.0.7184.0 * chore: bump chromium in DEPS to 138.0.7186.0 * chore: bump chromium in DEPS to 138.0.7190.0 * chore: update patches * 6547778: Remove some superfluous //ui/gfx includes from //chrome headers | https://chromium-review.googlesource.com/c/chromium/src/+/6547778 * 6556022: Reland FSA: Only normalize the hardcoded rules once during initialization | https://chromium-review.googlesource.com/c/chromium/src/+/6556022 * fix: remove pdf_extension_util::AddAdditionalData https://chromium-review.googlesource.com/c/chromium/src/+/4099130 This was removed 2 years ago in Chrome. * fix: provide BrowserContext to pdf_extension_util::AddAdditionalData https://chromium-review.googlesource.com/c/chromium/src/+/6558173 * fixup! 6556022: Reland FSA: Only normalize the hardcoded rules once during initialization | https://chromium-review.googlesource.com/c/chromium/src/+/6556022 * fix: pass in navigation throttle registry https://chromium-review.googlesource.com/c/chromium/src/+/6536175 * fixup! 6556022: Reland "FSA: Only normalize the hardcoded rules once during initialization" | https://chromium-review.googlesource.com/c/chromium/src/+/6556022 This partially reverts commit 20d709dd15ba0ff332e24ee314149d642dc5d47c. * 6545984: corner-shape: render dashed & dotted borders Refs https://chromium-review.googlesource.com/c/chromium/src/+/6545984 * Update corner smoothing expected images * Apply "future" revert commit to fix windows build > Reason for revert: Multiple eng reporting that this is causing build failures due to too-long pathnames, with no immediate feasible workaround This issue also affects our CI builds. Problematic CL in current roll: 6494836: [webgl] Add stub WebGL[2]RenderingContextWebGPU | https://chromium-review.googlesource.com/c/chromium/src/+/6494836 "Future" revert CL: 6565622: Revert "[webgl] Add stub WebGL[2]RenderingContextWebGPU" | https://chromium-review.googlesource.com/c/chromium/src/+/6565622 This patch should automatically disappear when we roll the revert. * 6533919: win: don't add WS_CAPTION style to popup windows https://chromium-review.googlesource.com/c/chromium/src/+/6533919 This mirrors the change made earlier to the code ours is based on: 6374074: [headless] Provide headless aware window metrics on Windows | https://chromium-review.googlesource.com/c/chromium/src/+/6374074 --------- Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com> Co-authored-by: David Sanders <dsanders11@ucsbalum.com> Co-authored-by: Keeley Hammond <khammond@slack-corp.com> Co-authored-by: Samuel Maddock <smaddock@slack-corp.com> Co-authored-by: clavin <clavin@electronjs.org>
This commit is contained in:
parent
5f5e8d012d
commit
53fd879043
64 changed files with 4460 additions and 324 deletions
2
DEPS
2
DEPS
|
@ -2,7 +2,7 @@ gclient_gn_args_from = 'src'
|
||||||
|
|
||||||
vars = {
|
vars = {
|
||||||
'chromium_version':
|
'chromium_version':
|
||||||
'138.0.7178.0',
|
'138.0.7190.0',
|
||||||
'node_version':
|
'node_version':
|
||||||
'v22.16.0',
|
'v22.16.0',
|
||||||
'nan_version':
|
'nan_version':
|
||||||
|
|
|
@ -134,3 +134,4 @@ fix_win32_synchronous_spellcheck.patch
|
||||||
fix_enable_wrap_iter_in_string_view_and_array.patch
|
fix_enable_wrap_iter_in_string_view_and_array.patch
|
||||||
chore_grandfather_in_electron_views_and_delegates.patch
|
chore_grandfather_in_electron_views_and_delegates.patch
|
||||||
refactor_patch_electron_permissiontypes_into_blink.patch
|
refactor_patch_electron_permissiontypes_into_blink.patch
|
||||||
|
revert_webgl_add_stub_webgl_2_renderingcontextwebgpu.patch
|
||||||
|
|
|
@ -10,7 +10,7 @@ usage of BrowserList and Browser as we subclass related methods and use our
|
||||||
WindowList.
|
WindowList.
|
||||||
|
|
||||||
diff --git a/chrome/browser/ui/webui/accessibility/accessibility_ui.cc b/chrome/browser/ui/webui/accessibility/accessibility_ui.cc
|
diff --git a/chrome/browser/ui/webui/accessibility/accessibility_ui.cc b/chrome/browser/ui/webui/accessibility/accessibility_ui.cc
|
||||||
index 476b993aa130a1e7d2bc61993b27044d674425bc..3c5dfca61be10f2fd4126a8ba5bcfa49c4515aa4 100644
|
index afd58dd8c32582c17a3a9508f0755ac894022a40..7034cb00d27e2c6ca06d89ae59365934762a402b 100644
|
||||||
--- a/chrome/browser/ui/webui/accessibility/accessibility_ui.cc
|
--- a/chrome/browser/ui/webui/accessibility/accessibility_ui.cc
|
||||||
+++ b/chrome/browser/ui/webui/accessibility/accessibility_ui.cc
|
+++ b/chrome/browser/ui/webui/accessibility/accessibility_ui.cc
|
||||||
@@ -48,6 +48,7 @@
|
@@ -48,6 +48,7 @@
|
||||||
|
@ -20,8 +20,8 @@ index 476b993aa130a1e7d2bc61993b27044d674425bc..3c5dfca61be10f2fd4126a8ba5bcfa49
|
||||||
+#include "electron/shell/browser/electron_browser_context.h"
|
+#include "electron/shell/browser/electron_browser_context.h"
|
||||||
#include "ui/accessibility/accessibility_features.h"
|
#include "ui/accessibility/accessibility_features.h"
|
||||||
#include "ui/accessibility/ax_updates_and_events.h"
|
#include "ui/accessibility/ax_updates_and_events.h"
|
||||||
#include "ui/accessibility/platform/ax_platform_node.h"
|
#include "ui/accessibility/platform/ax_platform.h"
|
||||||
@@ -169,7 +170,7 @@ base::Value::Dict BuildTargetDescriptor(content::RenderViewHost* rvh) {
|
@@ -174,7 +175,7 @@ base::Value::Dict BuildTargetDescriptor(content::RenderViewHost* rvh) {
|
||||||
rvh->GetRoutingID(), accessibility_mode);
|
rvh->GetRoutingID(), accessibility_mode);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -30,7 +30,7 @@ index 476b993aa130a1e7d2bc61993b27044d674425bc..3c5dfca61be10f2fd4126a8ba5bcfa49
|
||||||
base::Value::Dict BuildTargetDescriptor(Browser* browser) {
|
base::Value::Dict BuildTargetDescriptor(Browser* browser) {
|
||||||
base::Value::Dict target_data;
|
base::Value::Dict target_data;
|
||||||
target_data.Set(kSessionIdField, browser->session_id().id());
|
target_data.Set(kSessionIdField, browser->session_id().id());
|
||||||
@@ -193,7 +194,7 @@ void HandleAccessibilityRequestCallback(
|
@@ -198,7 +199,7 @@ void HandleAccessibilityRequestCallback(
|
||||||
auto& browser_accessibility_state =
|
auto& browser_accessibility_state =
|
||||||
*content::BrowserAccessibilityState::GetInstance();
|
*content::BrowserAccessibilityState::GetInstance();
|
||||||
base::Value::Dict data;
|
base::Value::Dict data;
|
||||||
|
@ -39,8 +39,8 @@ index 476b993aa130a1e7d2bc61993b27044d674425bc..3c5dfca61be10f2fd4126a8ba5bcfa49
|
||||||
ui::AXMode mode = browser_accessibility_state.GetAccessibilityMode();
|
ui::AXMode mode = browser_accessibility_state.GetAccessibilityMode();
|
||||||
bool native = mode.has_mode(ui::AXMode::kNativeAPIs);
|
bool native = mode.has_mode(ui::AXMode::kNativeAPIs);
|
||||||
bool web = mode.has_mode(ui::AXMode::kWebContents);
|
bool web = mode.has_mode(ui::AXMode::kWebContents);
|
||||||
@@ -246,7 +247,7 @@ void HandleAccessibilityRequestCallback(
|
@@ -259,7 +260,7 @@ void HandleAccessibilityRequestCallback(
|
||||||
initial_process_mode.has_mode(ui::AXMode::kHTML)));
|
data.Set(kIsScreenReaderActive, is_screen_reader_active);
|
||||||
|
|
||||||
std::string pref_api_type =
|
std::string pref_api_type =
|
||||||
- pref->GetString(prefs::kShownAccessibilityApiType);
|
- pref->GetString(prefs::kShownAccessibilityApiType);
|
||||||
|
@ -48,7 +48,7 @@ index 476b993aa130a1e7d2bc61993b27044d674425bc..3c5dfca61be10f2fd4126a8ba5bcfa49
|
||||||
bool pref_api_type_supported = false;
|
bool pref_api_type_supported = false;
|
||||||
|
|
||||||
std::vector<ui::AXApiType::Type> supported_api_types =
|
std::vector<ui::AXApiType::Type> supported_api_types =
|
||||||
@@ -314,11 +315,11 @@ void HandleAccessibilityRequestCallback(
|
@@ -327,11 +328,11 @@ void HandleAccessibilityRequestCallback(
|
||||||
data.Set(kPagesField, std::move(page_list));
|
data.Set(kPagesField, std::move(page_list));
|
||||||
|
|
||||||
base::Value::List browser_list;
|
base::Value::List browser_list;
|
||||||
|
@ -62,7 +62,7 @@ index 476b993aa130a1e7d2bc61993b27044d674425bc..3c5dfca61be10f2fd4126a8ba5bcfa49
|
||||||
data.Set(kBrowsersField, std::move(browser_list));
|
data.Set(kBrowsersField, std::move(browser_list));
|
||||||
|
|
||||||
std::string json_string;
|
std::string json_string;
|
||||||
@@ -792,7 +793,8 @@ void AccessibilityUIMessageHandler::SetGlobalString(
|
@@ -805,7 +806,8 @@ void AccessibilityUIMessageHandler::SetGlobalString(
|
||||||
const std::string value = CheckJSValue(data.FindString(kValueField));
|
const std::string value = CheckJSValue(data.FindString(kValueField));
|
||||||
|
|
||||||
if (string_name == kApiTypeField) {
|
if (string_name == kApiTypeField) {
|
||||||
|
@ -72,7 +72,7 @@ index 476b993aa130a1e7d2bc61993b27044d674425bc..3c5dfca61be10f2fd4126a8ba5bcfa49
|
||||||
pref->SetString(prefs::kShownAccessibilityApiType, value);
|
pref->SetString(prefs::kShownAccessibilityApiType, value);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -846,7 +848,8 @@ void AccessibilityUIMessageHandler::RequestWebContentsTree(
|
@@ -859,7 +861,8 @@ void AccessibilityUIMessageHandler::RequestWebContentsTree(
|
||||||
AXPropertyFilter::ALLOW_EMPTY);
|
AXPropertyFilter::ALLOW_EMPTY);
|
||||||
AddPropertyFilters(property_filters, deny, AXPropertyFilter::DENY);
|
AddPropertyFilters(property_filters, deny, AXPropertyFilter::DENY);
|
||||||
|
|
||||||
|
@ -82,7 +82,7 @@ index 476b993aa130a1e7d2bc61993b27044d674425bc..3c5dfca61be10f2fd4126a8ba5bcfa49
|
||||||
ui::AXApiType::Type api_type =
|
ui::AXApiType::Type api_type =
|
||||||
ui::AXApiType::From(pref->GetString(prefs::kShownAccessibilityApiType));
|
ui::AXApiType::From(pref->GetString(prefs::kShownAccessibilityApiType));
|
||||||
std::string accessibility_contents =
|
std::string accessibility_contents =
|
||||||
@@ -873,6 +876,7 @@ void AccessibilityUIMessageHandler::RequestNativeUITree(
|
@@ -886,6 +889,7 @@ void AccessibilityUIMessageHandler::RequestNativeUITree(
|
||||||
AXPropertyFilter::ALLOW_EMPTY);
|
AXPropertyFilter::ALLOW_EMPTY);
|
||||||
AddPropertyFilters(property_filters, deny, AXPropertyFilter::DENY);
|
AddPropertyFilters(property_filters, deny, AXPropertyFilter::DENY);
|
||||||
|
|
||||||
|
@ -90,7 +90,7 @@ index 476b993aa130a1e7d2bc61993b27044d674425bc..3c5dfca61be10f2fd4126a8ba5bcfa49
|
||||||
for (Browser* browser : *BrowserList::GetInstance()) {
|
for (Browser* browser : *BrowserList::GetInstance()) {
|
||||||
if (browser->session_id().id() == session_id) {
|
if (browser->session_id().id() == session_id) {
|
||||||
base::Value::Dict result = BuildTargetDescriptor(browser);
|
base::Value::Dict result = BuildTargetDescriptor(browser);
|
||||||
@@ -885,6 +889,7 @@ void AccessibilityUIMessageHandler::RequestNativeUITree(
|
@@ -898,6 +902,7 @@ void AccessibilityUIMessageHandler::RequestNativeUITree(
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -98,7 +98,7 @@ index 476b993aa130a1e7d2bc61993b27044d674425bc..3c5dfca61be10f2fd4126a8ba5bcfa49
|
||||||
#endif // !BUILDFLAG(IS_ANDROID)
|
#endif // !BUILDFLAG(IS_ANDROID)
|
||||||
// No browser with the specified |session_id| was found.
|
// No browser with the specified |session_id| was found.
|
||||||
base::Value::Dict result;
|
base::Value::Dict result;
|
||||||
@@ -928,11 +933,13 @@ void AccessibilityUIMessageHandler::StopRecording(
|
@@ -941,11 +946,13 @@ void AccessibilityUIMessageHandler::StopRecording(
|
||||||
}
|
}
|
||||||
|
|
||||||
ui::AXApiType::Type AccessibilityUIMessageHandler::GetRecordingApiType() {
|
ui::AXApiType::Type AccessibilityUIMessageHandler::GetRecordingApiType() {
|
||||||
|
@ -115,7 +115,7 @@ index 476b993aa130a1e7d2bc61993b27044d674425bc..3c5dfca61be10f2fd4126a8ba5bcfa49
|
||||||
// Check to see if it is in the supported types list.
|
// Check to see if it is in the supported types list.
|
||||||
if (std::find(supported_types.begin(), supported_types.end(), api_type) ==
|
if (std::find(supported_types.begin(), supported_types.end(), api_type) ==
|
||||||
supported_types.end()) {
|
supported_types.end()) {
|
||||||
@@ -1002,8 +1009,11 @@ void AccessibilityUIMessageHandler::RequestAccessibilityEvents(
|
@@ -1015,8 +1022,11 @@ void AccessibilityUIMessageHandler::RequestAccessibilityEvents(
|
||||||
// static
|
// static
|
||||||
void AccessibilityUIMessageHandler::RegisterProfilePrefs(
|
void AccessibilityUIMessageHandler::RegisterProfilePrefs(
|
||||||
user_prefs::PrefRegistrySyncable* registry) {
|
user_prefs::PrefRegistrySyncable* registry) {
|
||||||
|
|
|
@ -8,7 +8,7 @@ WebPreferences of in-process child windows, rather than relying on
|
||||||
process-level command line switches, as before.
|
process-level command line switches, as before.
|
||||||
|
|
||||||
diff --git a/third_party/blink/common/web_preferences/web_preferences_mojom_traits.cc b/third_party/blink/common/web_preferences/web_preferences_mojom_traits.cc
|
diff --git a/third_party/blink/common/web_preferences/web_preferences_mojom_traits.cc b/third_party/blink/common/web_preferences/web_preferences_mojom_traits.cc
|
||||||
index 9fe216ae76191985751c5aff735cb38ba747a5cb..274dbe4fe45f5ca03e4f93fa1ef94f22ca3559ed 100644
|
index b3e72c9d198a350a164d4abc37fcb19024f43c57..909ac417f24c0e104cba286b6420d8c820784d31 100644
|
||||||
--- a/third_party/blink/common/web_preferences/web_preferences_mojom_traits.cc
|
--- a/third_party/blink/common/web_preferences/web_preferences_mojom_traits.cc
|
||||||
+++ b/third_party/blink/common/web_preferences/web_preferences_mojom_traits.cc
|
+++ b/third_party/blink/common/web_preferences/web_preferences_mojom_traits.cc
|
||||||
@@ -149,6 +149,19 @@ bool StructTraits<blink::mojom::WebPreferencesDataView,
|
@@ -149,6 +149,19 @@ bool StructTraits<blink::mojom::WebPreferencesDataView,
|
||||||
|
@ -32,7 +32,7 @@ index 9fe216ae76191985751c5aff735cb38ba747a5cb..274dbe4fe45f5ca03e4f93fa1ef94f22
|
||||||
out->accelerated_video_decode_enabled =
|
out->accelerated_video_decode_enabled =
|
||||||
data.accelerated_video_decode_enabled();
|
data.accelerated_video_decode_enabled();
|
||||||
diff --git a/third_party/blink/public/common/web_preferences/web_preferences.h b/third_party/blink/public/common/web_preferences/web_preferences.h
|
diff --git a/third_party/blink/public/common/web_preferences/web_preferences.h b/third_party/blink/public/common/web_preferences/web_preferences.h
|
||||||
index 2d9ef567d7aba3d78ecb0637fc7a31cbaaba564b..9c6c5e3b2668bdfa3ec1f5f0482bc1294bfed9b0 100644
|
index 1ee685e777e27a56da50d38ae7710abb240699a1..7f0ed7e9b0c4c0077eaa733e81ebc421f0ddd02a 100644
|
||||||
--- a/third_party/blink/public/common/web_preferences/web_preferences.h
|
--- a/third_party/blink/public/common/web_preferences/web_preferences.h
|
||||||
+++ b/third_party/blink/public/common/web_preferences/web_preferences.h
|
+++ b/third_party/blink/public/common/web_preferences/web_preferences.h
|
||||||
@@ -9,6 +9,7 @@
|
@@ -9,6 +9,7 @@
|
||||||
|
@ -65,7 +65,7 @@ index 2d9ef567d7aba3d78ecb0637fc7a31cbaaba564b..9c6c5e3b2668bdfa3ec1f5f0482bc129
|
||||||
// chrome, except for the cases where it would require lots of extra work for
|
// chrome, except for the cases where it would require lots of extra work for
|
||||||
// the embedder to use the same default value.
|
// the embedder to use the same default value.
|
||||||
diff --git a/third_party/blink/public/common/web_preferences/web_preferences_mojom_traits.h b/third_party/blink/public/common/web_preferences/web_preferences_mojom_traits.h
|
diff --git a/third_party/blink/public/common/web_preferences/web_preferences_mojom_traits.h b/third_party/blink/public/common/web_preferences/web_preferences_mojom_traits.h
|
||||||
index 86e4152b85d85ed3c620458567509e0eaa2ad5d8..6f39bf14c42278dc8ada95902868608bd6a6f171 100644
|
index 36a5fb0b42be57e9602c0709b6abb55385f48666..306838bbf7c6d5cddd95e09d703e41d1deac21ab 100644
|
||||||
--- a/third_party/blink/public/common/web_preferences/web_preferences_mojom_traits.h
|
--- a/third_party/blink/public/common/web_preferences/web_preferences_mojom_traits.h
|
||||||
+++ b/third_party/blink/public/common/web_preferences/web_preferences_mojom_traits.h
|
+++ b/third_party/blink/public/common/web_preferences/web_preferences_mojom_traits.h
|
||||||
@@ -8,6 +8,7 @@
|
@@ -8,6 +8,7 @@
|
||||||
|
@ -130,7 +130,7 @@ index 86e4152b85d85ed3c620458567509e0eaa2ad5d8..6f39bf14c42278dc8ada95902868608b
|
||||||
return r.cookie_enabled;
|
return r.cookie_enabled;
|
||||||
}
|
}
|
||||||
diff --git a/third_party/blink/public/mojom/webpreferences/web_preferences.mojom b/third_party/blink/public/mojom/webpreferences/web_preferences.mojom
|
diff --git a/third_party/blink/public/mojom/webpreferences/web_preferences.mojom b/third_party/blink/public/mojom/webpreferences/web_preferences.mojom
|
||||||
index 41d33c9ecebf615162dc8a9fa1653d32bdaa8d66..6891f25242b83c113a26c2919663a33da8a9b2d7 100644
|
index 9de5f6dafc754b6ee8d894ccd9747a18b8c8efde..dbdf9f48beaa7b5dcc528906d7bfec66c2ebb89f 100644
|
||||||
--- a/third_party/blink/public/mojom/webpreferences/web_preferences.mojom
|
--- a/third_party/blink/public/mojom/webpreferences/web_preferences.mojom
|
||||||
+++ b/third_party/blink/public/mojom/webpreferences/web_preferences.mojom
|
+++ b/third_party/blink/public/mojom/webpreferences/web_preferences.mojom
|
||||||
@@ -8,9 +8,11 @@ import "third_party/blink/public/mojom/css/preferred_color_scheme.mojom";
|
@@ -8,9 +8,11 @@ import "third_party/blink/public/mojom/css/preferred_color_scheme.mojom";
|
||||||
|
|
|
@ -8,7 +8,7 @@ categories in use are known / declared. This patch is required for us
|
||||||
to introduce a new Electron category for Electron-specific tracing.
|
to introduce a new Electron category for Electron-specific tracing.
|
||||||
|
|
||||||
diff --git a/base/trace_event/builtin_categories.h b/base/trace_event/builtin_categories.h
|
diff --git a/base/trace_event/builtin_categories.h b/base/trace_event/builtin_categories.h
|
||||||
index d4c70f285fa6798798558974d7d79604dd388909..31f396bb437b7089930c05e6b1067bc156155be1 100644
|
index e149fca0c6c38eb3898735cb38e41443af61b6d8..24ab0a9b37299e62176167507215351ecc54092b 100644
|
||||||
--- a/base/trace_event/builtin_categories.h
|
--- a/base/trace_event/builtin_categories.h
|
||||||
+++ b/base/trace_event/builtin_categories.h
|
+++ b/base/trace_event/builtin_categories.h
|
||||||
@@ -102,6 +102,7 @@ PERFETTO_DEFINE_CATEGORIES_IN_NAMESPACE_WITH_ATTRS(
|
@@ -102,6 +102,7 @@ PERFETTO_DEFINE_CATEGORIES_IN_NAMESPACE_WITH_ATTRS(
|
||||||
|
|
|
@ -33,10 +33,10 @@ index 84fab7fcdb1a7ded880c0ff4867e09c740e7a5d2..f03f0e67c083880dc13f8f90d9375ff6
|
||||||
"//base",
|
"//base",
|
||||||
"//build:branding_buildflags",
|
"//build:branding_buildflags",
|
||||||
diff --git a/chrome/browser/BUILD.gn b/chrome/browser/BUILD.gn
|
diff --git a/chrome/browser/BUILD.gn b/chrome/browser/BUILD.gn
|
||||||
index 186cbeb02aa7b4e5b22800ece7cbc4791777356a..7137860ba1423a5ff36b85952790c5b25d6adf9d 100644
|
index 74d78554a4816e76cbf800762386444520c32906..c89251393bdd9439aa768e3d516516dfc4b18824 100644
|
||||||
--- a/chrome/browser/BUILD.gn
|
--- a/chrome/browser/BUILD.gn
|
||||||
+++ b/chrome/browser/BUILD.gn
|
+++ b/chrome/browser/BUILD.gn
|
||||||
@@ -4674,7 +4674,7 @@ static_library("browser") {
|
@@ -4681,7 +4681,7 @@ static_library("browser") {
|
||||||
[ "//chrome/browser/ui/webui/signin:profile_impl" ]
|
[ "//chrome/browser/ui/webui/signin:profile_impl" ]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -46,10 +46,10 @@ index 186cbeb02aa7b4e5b22800ece7cbc4791777356a..7137860ba1423a5ff36b85952790c5b2
|
||||||
# than here in :chrome_dll.
|
# than here in :chrome_dll.
|
||||||
deps += [ "//chrome:packed_resources_integrity_header" ]
|
deps += [ "//chrome:packed_resources_integrity_header" ]
|
||||||
diff --git a/chrome/test/BUILD.gn b/chrome/test/BUILD.gn
|
diff --git a/chrome/test/BUILD.gn b/chrome/test/BUILD.gn
|
||||||
index 4a299a91dccd83f5e9595bdab2317c6ed9b26920..16f2e321030d61ee2cbab91c15fc93da3cf735b5 100644
|
index 9dc89f62b8cc049955d8faa4dcbd4904776580ee..cd3b00e4c2a22819e8bd4844cfa5048403f9a70a 100644
|
||||||
--- a/chrome/test/BUILD.gn
|
--- a/chrome/test/BUILD.gn
|
||||||
+++ b/chrome/test/BUILD.gn
|
+++ b/chrome/test/BUILD.gn
|
||||||
@@ -7209,9 +7209,12 @@ test("unit_tests") {
|
@@ -7216,9 +7216,12 @@ test("unit_tests") {
|
||||||
"//chrome/notification_helper",
|
"//chrome/notification_helper",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
@ -63,7 +63,7 @@ index 4a299a91dccd83f5e9595bdab2317c6ed9b26920..16f2e321030d61ee2cbab91c15fc93da
|
||||||
"//chrome//services/util_win:unit_tests",
|
"//chrome//services/util_win:unit_tests",
|
||||||
"//chrome/app:chrome_dll_resources",
|
"//chrome/app:chrome_dll_resources",
|
||||||
"//chrome/app:win_unit_tests",
|
"//chrome/app:win_unit_tests",
|
||||||
@@ -8180,6 +8183,10 @@ test("unit_tests") {
|
@@ -8182,6 +8185,10 @@ test("unit_tests") {
|
||||||
"../browser/performance_manager/policies/background_tab_loading_policy_unittest.cc",
|
"../browser/performance_manager/policies/background_tab_loading_policy_unittest.cc",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
@ -74,8 +74,8 @@ index 4a299a91dccd83f5e9595bdab2317c6ed9b26920..16f2e321030d61ee2cbab91c15fc93da
|
||||||
sources += [
|
sources += [
|
||||||
# The importer code is not used on Android.
|
# The importer code is not used on Android.
|
||||||
"../common/importer/firefox_importer_utils_unittest.cc",
|
"../common/importer/firefox_importer_utils_unittest.cc",
|
||||||
@@ -8235,7 +8242,6 @@ test("unit_tests") {
|
@@ -8239,7 +8246,6 @@ test("unit_tests") {
|
||||||
# Non-android deps for "unit_tests" target.
|
# TODO(crbug.com/417513088): Maybe merge with the non-android `deps` declaration above?
|
||||||
deps += [
|
deps += [
|
||||||
"../browser/screen_ai:screen_ai_install_state",
|
"../browser/screen_ai:screen_ai_install_state",
|
||||||
- "//chrome:packed_resources_integrity_header",
|
- "//chrome:packed_resources_integrity_header",
|
||||||
|
|
|
@ -7,7 +7,7 @@ These are variables we add to the root BUILDCONFIG so that they're available
|
||||||
everywhere, without having to import("//electron/.../flags.gni").
|
everywhere, without having to import("//electron/.../flags.gni").
|
||||||
|
|
||||||
diff --git a/build/config/BUILDCONFIG.gn b/build/config/BUILDCONFIG.gn
|
diff --git a/build/config/BUILDCONFIG.gn b/build/config/BUILDCONFIG.gn
|
||||||
index c3a3bf4970783804bc76ee4e71bb8233b5f215a8..78c72710b411e05ca0b6f01811076599fa66fc15 100644
|
index 32cbfa5cfee7f9a2f2d9e696fb54ee753dda4f6c..cc9d083a598aa1e07bf60bc961c5ddcd730921bf 100644
|
||||||
--- a/build/config/BUILDCONFIG.gn
|
--- a/build/config/BUILDCONFIG.gn
|
||||||
+++ b/build/config/BUILDCONFIG.gn
|
+++ b/build/config/BUILDCONFIG.gn
|
||||||
@@ -123,6 +123,9 @@ if (current_os == "") {
|
@@ -123,6 +123,9 @@ if (current_os == "") {
|
||||||
|
|
|
@ -7,7 +7,7 @@ Build libc++ as static library to compile and pass
|
||||||
nan tests
|
nan tests
|
||||||
|
|
||||||
diff --git a/buildtools/third_party/libc++/BUILD.gn b/buildtools/third_party/libc++/BUILD.gn
|
diff --git a/buildtools/third_party/libc++/BUILD.gn b/buildtools/third_party/libc++/BUILD.gn
|
||||||
index 2b4c153a67fda5effaac8d2932a985d87539fe69..c0c310ecbf74b8c1649bcd23ebe1c142c088fc9f 100644
|
index 73c197f3cecd7ff34e97326cbf615e7c78919a54..1e93e7ce444cd5c31ddeac86fb1549c648a9a5c0 100644
|
||||||
--- a/buildtools/third_party/libc++/BUILD.gn
|
--- a/buildtools/third_party/libc++/BUILD.gn
|
||||||
+++ b/buildtools/third_party/libc++/BUILD.gn
|
+++ b/buildtools/third_party/libc++/BUILD.gn
|
||||||
@@ -298,6 +298,7 @@ target(libcxx_target_type, "libc++") {
|
@@ -298,6 +298,7 @@ target(libcxx_target_type, "libc++") {
|
||||||
|
|
|
@ -9,10 +9,10 @@ potentially prevent a window from being created.
|
||||||
TODO(loc): this patch is currently broken.
|
TODO(loc): this patch is currently broken.
|
||||||
|
|
||||||
diff --git a/content/browser/renderer_host/render_frame_host_impl.cc b/content/browser/renderer_host/render_frame_host_impl.cc
|
diff --git a/content/browser/renderer_host/render_frame_host_impl.cc b/content/browser/renderer_host/render_frame_host_impl.cc
|
||||||
index db20a849f0e093a940587f94d777b7941882443d..e87536a31d03d8030b26781b9345fa7478d24afd 100644
|
index 4c1785b8b7dcc2e0543b12bc4c765c8f0c833451..be73611db5328c76982ecca3caf5eccc30aac45e 100644
|
||||||
--- a/content/browser/renderer_host/render_frame_host_impl.cc
|
--- a/content/browser/renderer_host/render_frame_host_impl.cc
|
||||||
+++ b/content/browser/renderer_host/render_frame_host_impl.cc
|
+++ b/content/browser/renderer_host/render_frame_host_impl.cc
|
||||||
@@ -9711,6 +9711,7 @@ void RenderFrameHostImpl::CreateNewWindow(
|
@@ -9718,6 +9718,7 @@ void RenderFrameHostImpl::CreateNewWindow(
|
||||||
last_committed_origin_, params->window_container_type,
|
last_committed_origin_, params->window_container_type,
|
||||||
params->target_url, params->referrer.To<Referrer>(),
|
params->target_url, params->referrer.To<Referrer>(),
|
||||||
params->frame_name, params->disposition, *params->features,
|
params->frame_name, params->disposition, *params->features,
|
||||||
|
@ -21,10 +21,10 @@ index db20a849f0e093a940587f94d777b7941882443d..e87536a31d03d8030b26781b9345fa74
|
||||||
&no_javascript_access);
|
&no_javascript_access);
|
||||||
|
|
||||||
diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc
|
diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc
|
||||||
index af97a08179fd92e71daff17ca75cf4c6c06be1cc..65a3b57c38419c15b071e67852789b48533fe53a 100644
|
index 8bd0e1d60f6f1af48b106f25d8e8951423eb05ed..c0ef22f3872e96be15867428aff1006b8a14a1df 100644
|
||||||
--- a/content/browser/web_contents/web_contents_impl.cc
|
--- a/content/browser/web_contents/web_contents_impl.cc
|
||||||
+++ b/content/browser/web_contents/web_contents_impl.cc
|
+++ b/content/browser/web_contents/web_contents_impl.cc
|
||||||
@@ -5155,6 +5155,12 @@ FrameTree* WebContentsImpl::CreateNewWindow(
|
@@ -5308,6 +5308,12 @@ FrameTree* WebContentsImpl::CreateNewWindow(
|
||||||
// Sets the newly created WebContents WindowOpenDisposition.
|
// Sets the newly created WebContents WindowOpenDisposition.
|
||||||
new_contents_impl->original_window_open_disposition_ = params.disposition;
|
new_contents_impl->original_window_open_disposition_ = params.disposition;
|
||||||
|
|
||||||
|
@ -37,7 +37,7 @@ index af97a08179fd92e71daff17ca75cf4c6c06be1cc..65a3b57c38419c15b071e67852789b48
|
||||||
// If the new frame has a name, make sure any SiteInstances that can find
|
// If the new frame has a name, make sure any SiteInstances that can find
|
||||||
// this named frame have proxies for it. Must be called after
|
// this named frame have proxies for it. Must be called after
|
||||||
// SetSessionStorageNamespace, since this calls CreateRenderView, which uses
|
// SetSessionStorageNamespace, since this calls CreateRenderView, which uses
|
||||||
@@ -5196,12 +5202,6 @@ FrameTree* WebContentsImpl::CreateNewWindow(
|
@@ -5349,12 +5355,6 @@ FrameTree* WebContentsImpl::CreateNewWindow(
|
||||||
AddWebContentsDestructionObserver(new_contents_impl);
|
AddWebContentsDestructionObserver(new_contents_impl);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -66,7 +66,7 @@ index 09f1899c9b044a05b2e40c291f17fdf1f9f2fcac..89643bf7059d4fc0d6de6116ffe0fdac
|
||||||
|
|
||||||
// Operation result when the renderer asks the browser to create a new window.
|
// Operation result when the renderer asks the browser to create a new window.
|
||||||
diff --git a/content/public/browser/content_browser_client.cc b/content/public/browser/content_browser_client.cc
|
diff --git a/content/public/browser/content_browser_client.cc b/content/public/browser/content_browser_client.cc
|
||||||
index e8a1b16cbe8aeb9c185de622250b73c402d56228..38a9b7ae1548f86ae700acc41565f340ed4dbff5 100644
|
index eb036b92b42d794cabd71f4c6314962df8988bbb..0ec4e4f41d261f60cb8e963ca1d715b765e7c47d 100644
|
||||||
--- a/content/public/browser/content_browser_client.cc
|
--- a/content/public/browser/content_browser_client.cc
|
||||||
+++ b/content/public/browser/content_browser_client.cc
|
+++ b/content/public/browser/content_browser_client.cc
|
||||||
@@ -842,6 +842,8 @@ bool ContentBrowserClient::CanCreateWindow(
|
@@ -842,6 +842,8 @@ bool ContentBrowserClient::CanCreateWindow(
|
||||||
|
@ -79,7 +79,7 @@ index e8a1b16cbe8aeb9c185de622250b73c402d56228..38a9b7ae1548f86ae700acc41565f340
|
||||||
bool opener_suppressed,
|
bool opener_suppressed,
|
||||||
bool* no_javascript_access) {
|
bool* no_javascript_access) {
|
||||||
diff --git a/content/public/browser/content_browser_client.h b/content/public/browser/content_browser_client.h
|
diff --git a/content/public/browser/content_browser_client.h b/content/public/browser/content_browser_client.h
|
||||||
index 9061895e64ce94700692b0b990f22a32b5e0e353..bd3cccc408c61f4c4e408fd5d093d6aa1ef0e201 100644
|
index 8c53f1aab26cf78ae0526ae51c1738019f1c0b90..0a74c5a3bee425c5c1af33ef27791a6d852baa6e 100644
|
||||||
--- a/content/public/browser/content_browser_client.h
|
--- a/content/public/browser/content_browser_client.h
|
||||||
+++ b/content/public/browser/content_browser_client.h
|
+++ b/content/public/browser/content_browser_client.h
|
||||||
@@ -200,6 +200,7 @@ class NetworkService;
|
@@ -200,6 +200,7 @@ class NetworkService;
|
||||||
|
@ -90,7 +90,7 @@ index 9061895e64ce94700692b0b990f22a32b5e0e353..bd3cccc408c61f4c4e408fd5d093d6aa
|
||||||
} // namespace network
|
} // namespace network
|
||||||
|
|
||||||
namespace sandbox {
|
namespace sandbox {
|
||||||
@@ -1404,6 +1405,8 @@ class CONTENT_EXPORT ContentBrowserClient {
|
@@ -1403,6 +1404,8 @@ class CONTENT_EXPORT ContentBrowserClient {
|
||||||
const std::string& frame_name,
|
const std::string& frame_name,
|
||||||
WindowOpenDisposition disposition,
|
WindowOpenDisposition disposition,
|
||||||
const blink::mojom::WindowFeatures& features,
|
const blink::mojom::WindowFeatures& features,
|
||||||
|
@ -210,10 +210,10 @@ index 82e9d3dfb5f7da76d89fe15ae61d379fa46e177d..fd035512099a54dff6cc951a2226c23a
|
||||||
|
|
||||||
} // namespace blink
|
} // namespace blink
|
||||||
diff --git a/third_party/blink/renderer/core/frame/local_dom_window.cc b/third_party/blink/renderer/core/frame/local_dom_window.cc
|
diff --git a/third_party/blink/renderer/core/frame/local_dom_window.cc b/third_party/blink/renderer/core/frame/local_dom_window.cc
|
||||||
index 6de4ad918b8c1d2a3dfb977ed80ea232dbbee9c1..f983903112efd76c8bd73656a0de5e54026e6d1b 100644
|
index 382daacf9b2ea77c4d8814fa375ecbbd830cce50..4728a4b7c064fc902317115637b6e64f068b25a8 100644
|
||||||
--- a/third_party/blink/renderer/core/frame/local_dom_window.cc
|
--- a/third_party/blink/renderer/core/frame/local_dom_window.cc
|
||||||
+++ b/third_party/blink/renderer/core/frame/local_dom_window.cc
|
+++ b/third_party/blink/renderer/core/frame/local_dom_window.cc
|
||||||
@@ -2280,6 +2280,8 @@ DOMWindow* LocalDOMWindow::open(v8::Isolate* isolate,
|
@@ -2293,6 +2293,8 @@ DOMWindow* LocalDOMWindow::open(v8::Isolate* isolate,
|
||||||
WebWindowFeatures window_features =
|
WebWindowFeatures window_features =
|
||||||
GetWindowFeaturesFromString(features, entered_window);
|
GetWindowFeaturesFromString(features, entered_window);
|
||||||
|
|
||||||
|
|
|
@ -6,10 +6,10 @@ Subject: chore: add electron deps to gitignores
|
||||||
Makes things like "git status" quicker when developing electron locally
|
Makes things like "git status" quicker when developing electron locally
|
||||||
|
|
||||||
diff --git a/.gitignore b/.gitignore
|
diff --git a/.gitignore b/.gitignore
|
||||||
index 0a0f0118d5c1a5a2f3ad28b068bebb849eba7246..5ca6d03b709ef119ccd6482b2f305f8a3aeb7438 100644
|
index 469572522566fa57f04bc66ade675eea2048b0df..852d842df3801564cfe8dd7c4ffb84a7b3af8fc1 100644
|
||||||
--- a/.gitignore
|
--- a/.gitignore
|
||||||
+++ b/.gitignore
|
+++ b/.gitignore
|
||||||
@@ -217,6 +217,7 @@ vs-chromium-project.txt
|
@@ -220,6 +220,7 @@ vs-chromium-project.txt
|
||||||
/data
|
/data
|
||||||
/delegate_execute
|
/delegate_execute
|
||||||
/device/serial/device_serial_mojo.xml
|
/device/serial/device_serial_mojo.xml
|
||||||
|
|
|
@ -10,7 +10,7 @@ Subject: chore: "grandfather in" Electron Views and Delegates
|
||||||
6448510: Lock further access to View::set_owned_by_client(). | https://chromium-review.googlesource.com/c/chromium/src/+/6448510
|
6448510: Lock further access to View::set_owned_by_client(). | https://chromium-review.googlesource.com/c/chromium/src/+/6448510
|
||||||
|
|
||||||
diff --git a/ui/views/view.h b/ui/views/view.h
|
diff --git a/ui/views/view.h b/ui/views/view.h
|
||||||
index ae7eab37f12ba80ec423d229cf048021e9ba6765..507a75dc7947295db221b01356fa57baf3cf03e4 100644
|
index 0dbbd7979ad79a7a74681222fcf36a315f0634ce..b04e77440c1273c5b866ea329e62ac07fdcf5404 100644
|
||||||
--- a/ui/views/view.h
|
--- a/ui/views/view.h
|
||||||
+++ b/ui/views/view.h
|
+++ b/ui/views/view.h
|
||||||
@@ -82,6 +82,19 @@ class ArcNotificationContentView;
|
@@ -82,6 +82,19 @@ class ArcNotificationContentView;
|
||||||
|
|
|
@ -7,7 +7,7 @@ This patch comes after Chromium removed the ScopedAllowIO API in favor
|
||||||
of explicitly adding ScopedAllowBlocking calls as friends.
|
of explicitly adding ScopedAllowBlocking calls as friends.
|
||||||
|
|
||||||
diff --git a/base/threading/thread_restrictions.h b/base/threading/thread_restrictions.h
|
diff --git a/base/threading/thread_restrictions.h b/base/threading/thread_restrictions.h
|
||||||
index b1abcfaab58df4555d3a26481915d64ef5458e17..f2f43454c1c124da9983998564837ebf3589aefd 100644
|
index 20d867b5d56cd6d961004b19bd3e69ee306dd816..07db0c05df4ce028017e70e6f593235516aa556e 100644
|
||||||
--- a/base/threading/thread_restrictions.h
|
--- a/base/threading/thread_restrictions.h
|
||||||
+++ b/base/threading/thread_restrictions.h
|
+++ b/base/threading/thread_restrictions.h
|
||||||
@@ -132,6 +132,7 @@ class KeyStorageLinux;
|
@@ -132,6 +132,7 @@ class KeyStorageLinux;
|
||||||
|
@ -28,7 +28,7 @@ index b1abcfaab58df4555d3a26481915d64ef5458e17..f2f43454c1c124da9983998564837ebf
|
||||||
namespace enterprise_connectors {
|
namespace enterprise_connectors {
|
||||||
class LinuxKeyRotationCommand;
|
class LinuxKeyRotationCommand;
|
||||||
} // namespace enterprise_connectors
|
} // namespace enterprise_connectors
|
||||||
@@ -577,6 +581,7 @@ class BASE_EXPORT ScopedAllowBlocking {
|
@@ -578,6 +582,7 @@ class BASE_EXPORT ScopedAllowBlocking {
|
||||||
friend class ::DesktopNotificationBalloon;
|
friend class ::DesktopNotificationBalloon;
|
||||||
friend class ::FirefoxProfileLock;
|
friend class ::FirefoxProfileLock;
|
||||||
friend class ::GaiaConfig;
|
friend class ::GaiaConfig;
|
||||||
|
@ -36,7 +36,7 @@ index b1abcfaab58df4555d3a26481915d64ef5458e17..f2f43454c1c124da9983998564837ebf
|
||||||
friend class ::ProfileImpl;
|
friend class ::ProfileImpl;
|
||||||
friend class ::ScopedAllowBlockingForProfile;
|
friend class ::ScopedAllowBlockingForProfile;
|
||||||
friend class ::StartupTabProviderImpl;
|
friend class ::StartupTabProviderImpl;
|
||||||
@@ -615,6 +620,7 @@ class BASE_EXPORT ScopedAllowBlocking {
|
@@ -616,6 +621,7 @@ class BASE_EXPORT ScopedAllowBlocking {
|
||||||
friend class cronet::CronetPrefsManager;
|
friend class cronet::CronetPrefsManager;
|
||||||
friend class crypto::ScopedAllowBlockingForNSS; // http://crbug.com/59847
|
friend class crypto::ScopedAllowBlockingForNSS; // http://crbug.com/59847
|
||||||
friend class drive::FakeDriveService;
|
friend class drive::FakeDriveService;
|
||||||
|
|
|
@ -34,10 +34,10 @@ index 39b5a8fdd165efd74b00256552b51b5413107958..bfc4ef4f50efff4a77f2aef64335bb7e
|
||||||
|
|
||||||
class ScrollEvent;
|
class ScrollEvent;
|
||||||
diff --git a/ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc b/ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc
|
diff --git a/ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc b/ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc
|
||||||
index 5f9612ff000c1544f572bab0cbc9982dc4e647ce..2ce65548dd1283adb4c095e37198e08a8a13635c 100644
|
index 3c273b08e3a0cb1a249334b06244bb6b89fde27f..20fcbe09d9fe9104cbe791e03b02f8e2e5064c2d 100644
|
||||||
--- a/ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc
|
--- a/ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc
|
||||||
+++ b/ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc
|
+++ b/ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc
|
||||||
@@ -1415,6 +1415,10 @@ void DesktopWindowTreeHostWin::HandleHeadlessWindowBoundsChanged(
|
@@ -1382,6 +1382,10 @@ void DesktopWindowTreeHostWin::HandleHeadlessWindowBoundsChanged(
|
||||||
window()->SetProperty(aura::client::kHeadlessBoundsKey, bounds);
|
window()->SetProperty(aura::client::kHeadlessBoundsKey, bounds);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -61,10 +61,10 @@ index dab595aacaeca4f6f735fd04004c27a4949278d2..177134d439866db9dbbde657ff358a76
|
||||||
Widget* GetWidget();
|
Widget* GetWidget();
|
||||||
const Widget* GetWidget() const;
|
const Widget* GetWidget() const;
|
||||||
diff --git a/ui/views/win/hwnd_message_handler.cc b/ui/views/win/hwnd_message_handler.cc
|
diff --git a/ui/views/win/hwnd_message_handler.cc b/ui/views/win/hwnd_message_handler.cc
|
||||||
index 9747e945b2ebfc113ffd12839c28a98fcccf2872..6f2e2702d3b982fe7e8d258f303c8055d3d37df8 100644
|
index 418dc47b6d4df097e8f0cfd61de8485af2a8d2c2..8c13b9db078e690240eca0a48a7c546dcdac3c11 100644
|
||||||
--- a/ui/views/win/hwnd_message_handler.cc
|
--- a/ui/views/win/hwnd_message_handler.cc
|
||||||
+++ b/ui/views/win/hwnd_message_handler.cc
|
+++ b/ui/views/win/hwnd_message_handler.cc
|
||||||
@@ -3167,15 +3167,19 @@ LRESULT HWNDMessageHandler::HandleMouseEventInternal(UINT message,
|
@@ -3171,15 +3171,19 @@ LRESULT HWNDMessageHandler::HandleMouseEventInternal(UINT message,
|
||||||
}
|
}
|
||||||
// We must let Windows handle the caption buttons if it's drawing them, or
|
// We must let Windows handle the caption buttons if it's drawing them, or
|
||||||
// they won't work.
|
// they won't work.
|
||||||
|
@ -86,7 +86,7 @@ index 9747e945b2ebfc113ffd12839c28a98fcccf2872..6f2e2702d3b982fe7e8d258f303c8055
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -3198,6 +3202,7 @@ LRESULT HWNDMessageHandler::HandleMouseEventInternal(UINT message,
|
@@ -3202,6 +3206,7 @@ LRESULT HWNDMessageHandler::HandleMouseEventInternal(UINT message,
|
||||||
// handle alt-space, or in the frame itself.
|
// handle alt-space, or in the frame itself.
|
||||||
is_right_mouse_pressed_on_caption_ = false;
|
is_right_mouse_pressed_on_caption_ = false;
|
||||||
ReleaseCapture();
|
ReleaseCapture();
|
||||||
|
@ -94,7 +94,7 @@ index 9747e945b2ebfc113ffd12839c28a98fcccf2872..6f2e2702d3b982fe7e8d258f303c8055
|
||||||
// |point| is in window coordinates, but WM_NCHITTEST and TrackPopupMenu()
|
// |point| is in window coordinates, but WM_NCHITTEST and TrackPopupMenu()
|
||||||
// expect screen coordinates.
|
// expect screen coordinates.
|
||||||
POINT screen_point = CR_POINT_INITIALIZER_FROM_LPARAM(l_param);
|
POINT screen_point = CR_POINT_INITIALIZER_FROM_LPARAM(l_param);
|
||||||
@@ -3205,7 +3210,17 @@ LRESULT HWNDMessageHandler::HandleMouseEventInternal(UINT message,
|
@@ -3209,7 +3214,17 @@ LRESULT HWNDMessageHandler::HandleMouseEventInternal(UINT message,
|
||||||
w_param = static_cast<WPARAM>(SendMessage(
|
w_param = static_cast<WPARAM>(SendMessage(
|
||||||
hwnd(), WM_NCHITTEST, 0, MAKELPARAM(screen_point.x, screen_point.y)));
|
hwnd(), WM_NCHITTEST, 0, MAKELPARAM(screen_point.x, screen_point.y)));
|
||||||
if (w_param == HTCAPTION || w_param == HTSYSMENU) {
|
if (w_param == HTCAPTION || w_param == HTSYSMENU) {
|
||||||
|
|
|
@ -14,10 +14,10 @@ track down the source of this problem & figure out if we can fix it
|
||||||
by changing something in Electron.
|
by changing something in Electron.
|
||||||
|
|
||||||
diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc
|
diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc
|
||||||
index acb6b6257ccb13aae284d9b02baada14fe9ee0cc..9269ef00d1c0ce0606a39533b839e061ba448d7e 100644
|
index 29185fc4c426652d192870c8a11aaa981a08ebf8..de2e8163c6ae5a1a01a79413d3d44b7c11ede311 100644
|
||||||
--- a/content/browser/web_contents/web_contents_impl.cc
|
--- a/content/browser/web_contents/web_contents_impl.cc
|
||||||
+++ b/content/browser/web_contents/web_contents_impl.cc
|
+++ b/content/browser/web_contents/web_contents_impl.cc
|
||||||
@@ -5071,7 +5071,7 @@ FrameTree* WebContentsImpl::CreateNewWindow(
|
@@ -5224,7 +5224,7 @@ FrameTree* WebContentsImpl::CreateNewWindow(
|
||||||
: IsGuest();
|
: IsGuest();
|
||||||
// While some guest types do not have a guest SiteInstance, the ones that
|
// While some guest types do not have a guest SiteInstance, the ones that
|
||||||
// don't all override WebContents creation above.
|
// don't all override WebContents creation above.
|
||||||
|
|
|
@ -80,10 +80,10 @@ index b6582b4013d9682d32bd524b4053b443a4df00f8..afcbce72e0f247b4d5a637b27c9f25d9
|
||||||
content::WebContents* source,
|
content::WebContents* source,
|
||||||
const content::OpenURLParams& params,
|
const content::OpenURLParams& params,
|
||||||
diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc
|
diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc
|
||||||
index 1bea3ad5b3c9960a7b1193e232b0c1f5c847e79d..0f416f0eeadca6bc7cc559d8879c694b7ccf62e6 100644
|
index 875c7a37c48ce50b5439a51df5e505e1bbcd5155..035432c70a6b65a2520f130e0db8a91f20e92770 100644
|
||||||
--- a/chrome/browser/ui/browser.cc
|
--- a/chrome/browser/ui/browser.cc
|
||||||
+++ b/chrome/browser/ui/browser.cc
|
+++ b/chrome/browser/ui/browser.cc
|
||||||
@@ -2406,8 +2406,7 @@ bool Browser::IsWebContentsCreationOverridden(
|
@@ -2392,8 +2392,7 @@ bool Browser::IsWebContentsCreationOverridden(
|
||||||
content::SiteInstance* source_site_instance,
|
content::SiteInstance* source_site_instance,
|
||||||
content::mojom::WindowContainerType window_container_type,
|
content::mojom::WindowContainerType window_container_type,
|
||||||
const GURL& opener_url,
|
const GURL& opener_url,
|
||||||
|
@ -93,7 +93,7 @@ index 1bea3ad5b3c9960a7b1193e232b0c1f5c847e79d..0f416f0eeadca6bc7cc559d8879c694b
|
||||||
if (IsActorCoordinatorActingOnTab(
|
if (IsActorCoordinatorActingOnTab(
|
||||||
profile(), content::WebContents::FromRenderFrameHost(opener))) {
|
profile(), content::WebContents::FromRenderFrameHost(opener))) {
|
||||||
// If an ActorCoordinator is acting on the opener, prevent it from creating
|
// If an ActorCoordinator is acting on the opener, prevent it from creating
|
||||||
@@ -2419,7 +2418,7 @@ bool Browser::IsWebContentsCreationOverridden(
|
@@ -2405,7 +2404,7 @@ bool Browser::IsWebContentsCreationOverridden(
|
||||||
return (window_container_type ==
|
return (window_container_type ==
|
||||||
content::mojom::WindowContainerType::BACKGROUND &&
|
content::mojom::WindowContainerType::BACKGROUND &&
|
||||||
ShouldCreateBackgroundContents(source_site_instance, opener_url,
|
ShouldCreateBackgroundContents(source_site_instance, opener_url,
|
||||||
|
@ -103,10 +103,10 @@ index 1bea3ad5b3c9960a7b1193e232b0c1f5c847e79d..0f416f0eeadca6bc7cc559d8879c694b
|
||||||
|
|
||||||
WebContents* Browser::CreateCustomWebContents(
|
WebContents* Browser::CreateCustomWebContents(
|
||||||
diff --git a/chrome/browser/ui/browser.h b/chrome/browser/ui/browser.h
|
diff --git a/chrome/browser/ui/browser.h b/chrome/browser/ui/browser.h
|
||||||
index 5d3ab970d01b20bef2c715ab8bc65187814b0008..6efef3f3e9c7005fae59a404929d80bebe965f02 100644
|
index 9dfba94b0aaa3f27f363bd50b489cae9e0e3cda6..3867e5d5741103ee0b65533dae4b80906b393f59 100644
|
||||||
--- a/chrome/browser/ui/browser.h
|
--- a/chrome/browser/ui/browser.h
|
||||||
+++ b/chrome/browser/ui/browser.h
|
+++ b/chrome/browser/ui/browser.h
|
||||||
@@ -1041,8 +1041,7 @@ class Browser : public TabStripModelObserver,
|
@@ -1037,8 +1037,7 @@ class Browser : public TabStripModelObserver,
|
||||||
content::SiteInstance* source_site_instance,
|
content::SiteInstance* source_site_instance,
|
||||||
content::mojom::WindowContainerType window_container_type,
|
content::mojom::WindowContainerType window_container_type,
|
||||||
const GURL& opener_url,
|
const GURL& opener_url,
|
||||||
|
@ -159,10 +159,10 @@ index 1c30afe192809d85ced6af595347353ec3cb5364..af48bb2755c33f6c372be6b51048b3cf
|
||||||
}
|
}
|
||||||
content::WebContents* CreateCustomWebContents(
|
content::WebContents* CreateCustomWebContents(
|
||||||
diff --git a/components/embedder_support/android/delegate/web_contents_delegate_android.cc b/components/embedder_support/android/delegate/web_contents_delegate_android.cc
|
diff --git a/components/embedder_support/android/delegate/web_contents_delegate_android.cc b/components/embedder_support/android/delegate/web_contents_delegate_android.cc
|
||||||
index 37260552fcc42edcac08422bdf6cb9f0f4b09c39..461fb20c1093cf2de06f9bb6f41f80ab0017b6a1 100644
|
index 807f43c164015e9372623b6ca9db1293640a530f..5e1875cde93f27e3d0324c84b94f076b33123495 100644
|
||||||
--- a/components/embedder_support/android/delegate/web_contents_delegate_android.cc
|
--- a/components/embedder_support/android/delegate/web_contents_delegate_android.cc
|
||||||
+++ b/components/embedder_support/android/delegate/web_contents_delegate_android.cc
|
+++ b/components/embedder_support/android/delegate/web_contents_delegate_android.cc
|
||||||
@@ -190,14 +190,13 @@ bool WebContentsDelegateAndroid::IsWebContentsCreationOverridden(
|
@@ -199,14 +199,13 @@ bool WebContentsDelegateAndroid::IsWebContentsCreationOverridden(
|
||||||
content::SiteInstance* source_site_instance,
|
content::SiteInstance* source_site_instance,
|
||||||
content::mojom::WindowContainerType window_container_type,
|
content::mojom::WindowContainerType window_container_type,
|
||||||
const GURL& opener_url,
|
const GURL& opener_url,
|
||||||
|
@ -180,10 +180,10 @@ index 37260552fcc42edcac08422bdf6cb9f0f4b09c39..461fb20c1093cf2de06f9bb6f41f80ab
|
||||||
java_gurl);
|
java_gurl);
|
||||||
}
|
}
|
||||||
diff --git a/components/embedder_support/android/delegate/web_contents_delegate_android.h b/components/embedder_support/android/delegate/web_contents_delegate_android.h
|
diff --git a/components/embedder_support/android/delegate/web_contents_delegate_android.h b/components/embedder_support/android/delegate/web_contents_delegate_android.h
|
||||||
index 996b3d453b375fec2a823a0dd0d3122ba626b5f2..5a5c6ed67f698fdd914e79df528e2ca391e056b7 100644
|
index 7a8cdc28f87399e494a58490cdc4ac0dd4b06520..0c2a83b44f6909b5b3a6303715e1611d039711bb 100644
|
||||||
--- a/components/embedder_support/android/delegate/web_contents_delegate_android.h
|
--- a/components/embedder_support/android/delegate/web_contents_delegate_android.h
|
||||||
+++ b/components/embedder_support/android/delegate/web_contents_delegate_android.h
|
+++ b/components/embedder_support/android/delegate/web_contents_delegate_android.h
|
||||||
@@ -83,8 +83,7 @@ class WebContentsDelegateAndroid : public content::WebContentsDelegate {
|
@@ -84,8 +84,7 @@ class WebContentsDelegateAndroid : public content::WebContentsDelegate {
|
||||||
content::SiteInstance* source_site_instance,
|
content::SiteInstance* source_site_instance,
|
||||||
content::mojom::WindowContainerType window_container_type,
|
content::mojom::WindowContainerType window_container_type,
|
||||||
const GURL& opener_url,
|
const GURL& opener_url,
|
||||||
|
@ -222,10 +222,10 @@ index b969f1d97b7e3396119b579cfbe61e19ff7d2dd4..b8d6169652da28266a514938b45b39c5
|
||||||
content::WebContents* AddNewContents(
|
content::WebContents* AddNewContents(
|
||||||
content::WebContents* source,
|
content::WebContents* source,
|
||||||
diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc
|
diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc
|
||||||
index fcb7a38577a7b597be09b73cea9308b7112fee2a..3435a1d0ce5c8025b5a2005ebb4066e306579a69 100644
|
index 6eaa7d566058fdcc9ebfa10f0420c3a234cb0483..bbbc07e36e6de11169f8317c64558b8c4d1699d5 100644
|
||||||
--- a/content/browser/web_contents/web_contents_impl.cc
|
--- a/content/browser/web_contents/web_contents_impl.cc
|
||||||
+++ b/content/browser/web_contents/web_contents_impl.cc
|
+++ b/content/browser/web_contents/web_contents_impl.cc
|
||||||
@@ -5034,8 +5034,7 @@ FrameTree* WebContentsImpl::CreateNewWindow(
|
@@ -5187,8 +5187,7 @@ FrameTree* WebContentsImpl::CreateNewWindow(
|
||||||
if (delegate_ &&
|
if (delegate_ &&
|
||||||
delegate_->IsWebContentsCreationOverridden(
|
delegate_->IsWebContentsCreationOverridden(
|
||||||
opener, source_site_instance, params.window_container_type,
|
opener, source_site_instance, params.window_container_type,
|
||||||
|
@ -356,10 +356,10 @@ index 7eeffdfbda9611806c6f260f0c68f6d84689cb7e..5d8f6d132068d7fabaa52bc61354c71a
|
||||||
content::RenderFrameHost* opener,
|
content::RenderFrameHost* opener,
|
||||||
content::SiteInstance* source_site_instance,
|
content::SiteInstance* source_site_instance,
|
||||||
diff --git a/fuchsia_web/webengine/browser/frame_impl.cc b/fuchsia_web/webengine/browser/frame_impl.cc
|
diff --git a/fuchsia_web/webengine/browser/frame_impl.cc b/fuchsia_web/webengine/browser/frame_impl.cc
|
||||||
index c61784e1d0717063e5aefd05d7c09358bae5b8c5..b987c5660942e94f89ff19cc55e032e4cb693863 100644
|
index bd09d0f34a1610d64a1438b618ef5b3786315e91..4b2a979db1e00bc0d7f3b1b54570c305070acccc 100644
|
||||||
--- a/fuchsia_web/webengine/browser/frame_impl.cc
|
--- a/fuchsia_web/webengine/browser/frame_impl.cc
|
||||||
+++ b/fuchsia_web/webengine/browser/frame_impl.cc
|
+++ b/fuchsia_web/webengine/browser/frame_impl.cc
|
||||||
@@ -579,8 +579,7 @@ bool FrameImpl::IsWebContentsCreationOverridden(
|
@@ -581,8 +581,7 @@ bool FrameImpl::IsWebContentsCreationOverridden(
|
||||||
content::SiteInstance* source_site_instance,
|
content::SiteInstance* source_site_instance,
|
||||||
content::mojom::WindowContainerType window_container_type,
|
content::mojom::WindowContainerType window_container_type,
|
||||||
const GURL& opener_url,
|
const GURL& opener_url,
|
||||||
|
|
|
@ -9,15 +9,14 @@ Electron when a session is non persistent we do not initialize the
|
||||||
ExtensionSystem, so this check is not relevant for Electron.
|
ExtensionSystem, so this check is not relevant for Electron.
|
||||||
|
|
||||||
diff --git a/extensions/browser/script_injection_tracker.cc b/extensions/browser/script_injection_tracker.cc
|
diff --git a/extensions/browser/script_injection_tracker.cc b/extensions/browser/script_injection_tracker.cc
|
||||||
index 172f02dbe9bb22425f8d45119b6d8466c949ba36..063015e14053f75544e6700c9251d6ecae95389c 100644
|
index 8f590b9ebd02969f0c5d9f617852954a69f51afd..91c4a61525173d2cd95a8c2c626c1be5a84b003f 100644
|
||||||
--- a/extensions/browser/script_injection_tracker.cc
|
--- a/extensions/browser/script_injection_tracker.cc
|
||||||
+++ b/extensions/browser/script_injection_tracker.cc
|
+++ b/extensions/browser/script_injection_tracker.cc
|
||||||
@@ -178,7 +178,7 @@ std::vector<const UserScript*> GetLoadedDynamicScripts(
|
@@ -176,7 +176,6 @@ std::vector<const UserScript*> GetLoadedDynamicScripts(
|
||||||
|
UserScriptManager* manager =
|
||||||
|
ExtensionSystem::Get(process.GetBrowserContext())->user_script_manager();
|
||||||
if (!manager) {
|
if (!manager) {
|
||||||
// TODO(crbug.com/412829476): Remove this guard once we enable
|
- CHECK_IS_TEST();
|
||||||
// UserScriptManager on desktop Android.
|
|
||||||
-#if BUILDFLAG(ENABLE_EXTENSIONS)
|
|
||||||
+#if 0
|
|
||||||
CHECK_IS_TEST();
|
|
||||||
#endif
|
|
||||||
return std::vector<const UserScript*>();
|
return std::vector<const UserScript*>();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
|
@ -6,10 +6,10 @@ Subject: disable_hidden.patch
|
||||||
Electron uses this to disable background throttling for hidden windows.
|
Electron uses this to disable background throttling for hidden windows.
|
||||||
|
|
||||||
diff --git a/content/browser/renderer_host/render_widget_host_impl.cc b/content/browser/renderer_host/render_widget_host_impl.cc
|
diff --git a/content/browser/renderer_host/render_widget_host_impl.cc b/content/browser/renderer_host/render_widget_host_impl.cc
|
||||||
index 43174a968fa1394d8c995adda338c15cace4e7be..a1cec61f882c38efa611401da69de123c99c9e7f 100644
|
index 8173547224997a68c2878d6dfb26b1cb436353c6..6a60a4b0275e1832216b092c29bc867f4727ca22 100644
|
||||||
--- a/content/browser/renderer_host/render_widget_host_impl.cc
|
--- a/content/browser/renderer_host/render_widget_host_impl.cc
|
||||||
+++ b/content/browser/renderer_host/render_widget_host_impl.cc
|
+++ b/content/browser/renderer_host/render_widget_host_impl.cc
|
||||||
@@ -834,6 +834,10 @@ void RenderWidgetHostImpl::WasHidden() {
|
@@ -833,6 +833,10 @@ void RenderWidgetHostImpl::WasHidden() {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -6,10 +6,10 @@ Subject: feat: enable setting aspect ratio to 0
|
||||||
Make SetAspectRatio accept 0 as valid input, which would reset to null.
|
Make SetAspectRatio accept 0 as valid input, which would reset to null.
|
||||||
|
|
||||||
diff --git a/ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc b/ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc
|
diff --git a/ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc b/ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc
|
||||||
index 6240e33c74a0a487affb3ec7e01d6a662d3950b7..5f9612ff000c1544f572bab0cbc9982dc4e647ce 100644
|
index f754ca0c3bc3ba9e7ff2f3f883b29c15be2b410a..3c273b08e3a0cb1a249334b06244bb6b89fde27f 100644
|
||||||
--- a/ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc
|
--- a/ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc
|
||||||
+++ b/ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc
|
+++ b/ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc
|
||||||
@@ -664,7 +664,7 @@ void DesktopWindowTreeHostWin::SetOpacity(float opacity) {
|
@@ -631,7 +631,7 @@ void DesktopWindowTreeHostWin::SetOpacity(float opacity) {
|
||||||
void DesktopWindowTreeHostWin::SetAspectRatio(
|
void DesktopWindowTreeHostWin::SetAspectRatio(
|
||||||
const gfx::SizeF& aspect_ratio,
|
const gfx::SizeF& aspect_ratio,
|
||||||
const gfx::Size& excluded_margin) {
|
const gfx::Size& excluded_margin) {
|
||||||
|
@ -19,10 +19,10 @@ index 6240e33c74a0a487affb3ec7e01d6a662d3950b7..5f9612ff000c1544f572bab0cbc9982d
|
||||||
excluded_margin);
|
excluded_margin);
|
||||||
}
|
}
|
||||||
diff --git a/ui/views/win/hwnd_message_handler.cc b/ui/views/win/hwnd_message_handler.cc
|
diff --git a/ui/views/win/hwnd_message_handler.cc b/ui/views/win/hwnd_message_handler.cc
|
||||||
index 9a42a64f52ccbab2cab6119c91b69ab44eeeb9e5..2cd46f4692c84cffff0775bbb67d3585f24e900d 100644
|
index cb66f6e84abd95080a2051b39d86b1838a6df9bb..c38b58ed16b14ff765f24d0bb8bdf34b8de3a901 100644
|
||||||
--- a/ui/views/win/hwnd_message_handler.cc
|
--- a/ui/views/win/hwnd_message_handler.cc
|
||||||
+++ b/ui/views/win/hwnd_message_handler.cc
|
+++ b/ui/views/win/hwnd_message_handler.cc
|
||||||
@@ -992,8 +992,11 @@ void HWNDMessageHandler::SetFullscreen(bool fullscreen,
|
@@ -993,8 +993,11 @@ void HWNDMessageHandler::SetFullscreen(bool fullscreen,
|
||||||
|
|
||||||
void HWNDMessageHandler::SetAspectRatio(float aspect_ratio,
|
void HWNDMessageHandler::SetAspectRatio(float aspect_ratio,
|
||||||
const gfx::Size& excluded_margin) {
|
const gfx::Size& excluded_margin) {
|
||||||
|
|
|
@ -33,10 +33,10 @@ index 0ab8187b0db8ae6db46d81738f653a2bc4c566f6..de3d55e85c22317f7f9375eb94d0d5d4
|
||||||
|
|
||||||
} // namespace net
|
} // namespace net
|
||||||
diff --git a/services/network/network_context.cc b/services/network/network_context.cc
|
diff --git a/services/network/network_context.cc b/services/network/network_context.cc
|
||||||
index 7d65c373ac4f1f538085a44ca0b11ddce89b1e62..8d3a7ca4c955a0e5004e3e2a8435591cfbfe2f16 100644
|
index 02853bf6552d49986b782785d3ab5a61ec0d3734..5934676556e25e51d580e063aeb0afde2a3f2a97 100644
|
||||||
--- a/services/network/network_context.cc
|
--- a/services/network/network_context.cc
|
||||||
+++ b/services/network/network_context.cc
|
+++ b/services/network/network_context.cc
|
||||||
@@ -1838,6 +1838,13 @@ void NetworkContext::SetNetworkConditions(
|
@@ -1837,6 +1837,13 @@ void NetworkContext::SetNetworkConditions(
|
||||||
std::move(network_conditions));
|
std::move(network_conditions));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -13,19 +13,20 @@ app.requestSingleInstanceLock API so that users can pass in a JSON
|
||||||
object for the second instance to send to the first instance.
|
object for the second instance to send to the first instance.
|
||||||
|
|
||||||
diff --git a/chrome/browser/process_singleton.h b/chrome/browser/process_singleton.h
|
diff --git a/chrome/browser/process_singleton.h b/chrome/browser/process_singleton.h
|
||||||
index 085b00fbb3ff95cdcde2a46760ab449808b4c1a9..22d5c994a6944ce7ea725ee045d9801126c32dd4 100644
|
index 2748dd196fe1f56357348a204e24f0b8a28b97dd..5800dd00b47c657d9e6766f3fc5a30654cffffa6 100644
|
||||||
--- a/chrome/browser/process_singleton.h
|
--- a/chrome/browser/process_singleton.h
|
||||||
+++ b/chrome/browser/process_singleton.h
|
+++ b/chrome/browser/process_singleton.h
|
||||||
@@ -18,6 +18,8 @@
|
@@ -18,7 +18,8 @@
|
||||||
#include "base/functional/callback.h"
|
#include "base/functional/callback.h"
|
||||||
#include "base/memory/scoped_refptr.h"
|
#include "base/memory/scoped_refptr.h"
|
||||||
#include "base/process/process.h"
|
#include "base/process/process.h"
|
||||||
|
-
|
||||||
+#include "base/containers/span.h"
|
+#include "base/containers/span.h"
|
||||||
+#include "base/memory/raw_span.h"
|
+#include "base/memory/raw_span.h"
|
||||||
#include "ui/gfx/native_widget_types.h"
|
|
||||||
|
|
||||||
#if BUILDFLAG(IS_POSIX) && !BUILDFLAG(IS_ANDROID)
|
#if BUILDFLAG(IS_POSIX) && !BUILDFLAG(IS_ANDROID)
|
||||||
@@ -100,21 +102,24 @@ class ProcessSingleton {
|
#include "base/files/scoped_temp_dir.h"
|
||||||
|
#endif
|
||||||
|
@@ -99,21 +100,24 @@ class ProcessSingleton {
|
||||||
// should handle it (i.e., because the current process is shutting down).
|
// should handle it (i.e., because the current process is shutting down).
|
||||||
using NotificationCallback =
|
using NotificationCallback =
|
||||||
base::RepeatingCallback<bool(base::CommandLine command_line,
|
base::RepeatingCallback<bool(base::CommandLine command_line,
|
||||||
|
@ -52,7 +53,7 @@ index 085b00fbb3ff95cdcde2a46760ab449808b4c1a9..22d5c994a6944ce7ea725ee045d98011
|
||||||
~ProcessSingleton();
|
~ProcessSingleton();
|
||||||
|
|
||||||
// Notify another process, if available. Otherwise sets ourselves as the
|
// Notify another process, if available. Otherwise sets ourselves as the
|
||||||
@@ -178,7 +183,10 @@ class ProcessSingleton {
|
@@ -177,7 +181,10 @@ class ProcessSingleton {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
|
@ -16,10 +16,10 @@ It also:
|
||||||
This may be partially upstreamed to Chromium in the future.
|
This may be partially upstreamed to Chromium in the future.
|
||||||
|
|
||||||
diff --git a/ui/gtk/select_file_dialog_linux_gtk.cc b/ui/gtk/select_file_dialog_linux_gtk.cc
|
diff --git a/ui/gtk/select_file_dialog_linux_gtk.cc b/ui/gtk/select_file_dialog_linux_gtk.cc
|
||||||
index b83f0177a2adb0a19be49684f865941e6708f626..a8c7032cfc122b97665c41da9e1191e747b95a33 100644
|
index 4a9118dcabbc0cffeea17dc26a8e1f2a54604766..4ae6001c0376822d41a77949ce05ea0328abcee4 100644
|
||||||
--- a/ui/gtk/select_file_dialog_linux_gtk.cc
|
--- a/ui/gtk/select_file_dialog_linux_gtk.cc
|
||||||
+++ b/ui/gtk/select_file_dialog_linux_gtk.cc
|
+++ b/ui/gtk/select_file_dialog_linux_gtk.cc
|
||||||
@@ -259,8 +259,12 @@ void SelectFileDialogLinuxGtk::SelectFileImpl(
|
@@ -261,8 +261,12 @@ void SelectFileDialogLinuxGtk::SelectFileImpl(
|
||||||
case SELECT_EXISTING_FOLDER:
|
case SELECT_EXISTING_FOLDER:
|
||||||
dialog = CreateSelectFolderDialog(type, title_string, default_path,
|
dialog = CreateSelectFolderDialog(type, title_string, default_path,
|
||||||
owning_window);
|
owning_window);
|
||||||
|
@ -34,7 +34,7 @@ index b83f0177a2adb0a19be49684f865941e6708f626..a8c7032cfc122b97665c41da9e1191e7
|
||||||
break;
|
break;
|
||||||
case SELECT_OPEN_FILE:
|
case SELECT_OPEN_FILE:
|
||||||
dialog = CreateFileOpenDialog(title_string, default_path, owning_window);
|
dialog = CreateFileOpenDialog(title_string, default_path, owning_window);
|
||||||
@@ -407,9 +411,11 @@ GtkWidget* SelectFileDialogLinuxGtk::CreateFileOpenHelper(
|
@@ -409,9 +413,11 @@ GtkWidget* SelectFileDialogLinuxGtk::CreateFileOpenHelper(
|
||||||
const std::string& title,
|
const std::string& title,
|
||||||
const base::FilePath& default_path,
|
const base::FilePath& default_path,
|
||||||
gfx::NativeWindow parent) {
|
gfx::NativeWindow parent) {
|
||||||
|
@ -47,7 +47,7 @@ index b83f0177a2adb0a19be49684f865941e6708f626..a8c7032cfc122b97665c41da9e1191e7
|
||||||
SetGtkTransientForAura(dialog, parent);
|
SetGtkTransientForAura(dialog, parent);
|
||||||
AddFilters(GTK_FILE_CHOOSER(dialog));
|
AddFilters(GTK_FILE_CHOOSER(dialog));
|
||||||
|
|
||||||
@@ -425,6 +431,7 @@ GtkWidget* SelectFileDialogLinuxGtk::CreateFileOpenHelper(
|
@@ -427,6 +433,7 @@ GtkWidget* SelectFileDialogLinuxGtk::CreateFileOpenHelper(
|
||||||
GtkFileChooserSetCurrentFolder(GTK_FILE_CHOOSER(dialog),
|
GtkFileChooserSetCurrentFolder(GTK_FILE_CHOOSER(dialog),
|
||||||
*last_opened_path());
|
*last_opened_path());
|
||||||
}
|
}
|
||||||
|
@ -55,7 +55,7 @@ index b83f0177a2adb0a19be49684f865941e6708f626..a8c7032cfc122b97665c41da9e1191e7
|
||||||
return dialog;
|
return dialog;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -440,11 +447,15 @@ GtkWidget* SelectFileDialogLinuxGtk::CreateSelectFolderDialog(
|
@@ -442,11 +449,15 @@ GtkWidget* SelectFileDialogLinuxGtk::CreateSelectFolderDialog(
|
||||||
? l10n_util::GetStringUTF8(IDS_SELECT_UPLOAD_FOLDER_DIALOG_TITLE)
|
? l10n_util::GetStringUTF8(IDS_SELECT_UPLOAD_FOLDER_DIALOG_TITLE)
|
||||||
: l10n_util::GetStringUTF8(IDS_SELECT_FOLDER_DIALOG_TITLE);
|
: l10n_util::GetStringUTF8(IDS_SELECT_FOLDER_DIALOG_TITLE);
|
||||||
}
|
}
|
||||||
|
@ -76,7 +76,7 @@ index b83f0177a2adb0a19be49684f865941e6708f626..a8c7032cfc122b97665c41da9e1191e7
|
||||||
|
|
||||||
GtkWidget* dialog = GtkFileChooserDialogNew(
|
GtkWidget* dialog = GtkFileChooserDialogNew(
|
||||||
title_string.c_str(), nullptr, GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER,
|
title_string.c_str(), nullptr, GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER,
|
||||||
@@ -466,7 +477,8 @@ GtkWidget* SelectFileDialogLinuxGtk::CreateSelectFolderDialog(
|
@@ -468,7 +479,8 @@ GtkWidget* SelectFileDialogLinuxGtk::CreateSelectFolderDialog(
|
||||||
gtk_file_filter_add_mime_type(only_folders, "inode/directory");
|
gtk_file_filter_add_mime_type(only_folders, "inode/directory");
|
||||||
gtk_file_filter_add_mime_type(only_folders, "text/directory");
|
gtk_file_filter_add_mime_type(only_folders, "text/directory");
|
||||||
gtk_file_chooser_add_filter(chooser, only_folders);
|
gtk_file_chooser_add_filter(chooser, only_folders);
|
||||||
|
@ -86,7 +86,7 @@ index b83f0177a2adb0a19be49684f865941e6708f626..a8c7032cfc122b97665c41da9e1191e7
|
||||||
return dialog;
|
return dialog;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -503,10 +515,11 @@ GtkWidget* SelectFileDialogLinuxGtk::CreateSaveAsDialog(
|
@@ -505,10 +517,11 @@ GtkWidget* SelectFileDialogLinuxGtk::CreateSaveAsDialog(
|
||||||
std::string title_string =
|
std::string title_string =
|
||||||
!title.empty() ? title
|
!title.empty() ? title
|
||||||
: l10n_util::GetStringUTF8(IDS_SAVE_AS_DIALOG_TITLE);
|
: l10n_util::GetStringUTF8(IDS_SAVE_AS_DIALOG_TITLE);
|
||||||
|
@ -100,7 +100,7 @@ index b83f0177a2adb0a19be49684f865941e6708f626..a8c7032cfc122b97665c41da9e1191e7
|
||||||
GTK_RESPONSE_ACCEPT);
|
GTK_RESPONSE_ACCEPT);
|
||||||
SetGtkTransientForAura(dialog, parent);
|
SetGtkTransientForAura(dialog, parent);
|
||||||
|
|
||||||
@@ -532,9 +545,10 @@ GtkWidget* SelectFileDialogLinuxGtk::CreateSaveAsDialog(
|
@@ -534,9 +547,10 @@ GtkWidget* SelectFileDialogLinuxGtk::CreateSaveAsDialog(
|
||||||
gtk_file_chooser_set_select_multiple(GTK_FILE_CHOOSER(dialog), FALSE);
|
gtk_file_chooser_set_select_multiple(GTK_FILE_CHOOSER(dialog), FALSE);
|
||||||
// Overwrite confirmation is always enabled in GTK4.
|
// Overwrite confirmation is always enabled in GTK4.
|
||||||
if (!GtkCheckVersion(4)) {
|
if (!GtkCheckVersion(4)) {
|
||||||
|
@ -113,7 +113,7 @@ index b83f0177a2adb0a19be49684f865941e6708f626..a8c7032cfc122b97665c41da9e1191e7
|
||||||
return dialog;
|
return dialog;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -589,15 +603,29 @@ void SelectFileDialogLinuxGtk::OnSelectSingleFolderDialogResponse(
|
@@ -591,15 +605,29 @@ void SelectFileDialogLinuxGtk::OnSelectSingleFolderDialogResponse(
|
||||||
void SelectFileDialogLinuxGtk::OnSelectMultiFileDialogResponse(
|
void SelectFileDialogLinuxGtk::OnSelectMultiFileDialogResponse(
|
||||||
GtkWidget* dialog,
|
GtkWidget* dialog,
|
||||||
int response_id) {
|
int response_id) {
|
||||||
|
@ -260,91 +260,6 @@ index 61683d0eddb04c494ca5e650e7d556b44968ec49..5492456a9138b250e97a5479838bb443
|
||||||
+ bool allow_multiple_selection_ = false;
|
+ bool allow_multiple_selection_ = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace ui
|
|
||||||
diff --git a/ui/shell_dialogs/select_file_dialog_linux_kde.cc b/ui/shell_dialogs/select_file_dialog_linux_kde.cc
|
|
||||||
index 9d45ec49a4fb5e12407b65b83c1ba0c13cd0dfd8..400cce91b020ecd5e48566f125515d2cfe3ea6af 100644
|
|
||||||
--- a/ui/shell_dialogs/select_file_dialog_linux_kde.cc
|
|
||||||
+++ b/ui/shell_dialogs/select_file_dialog_linux_kde.cc
|
|
||||||
@@ -155,9 +155,20 @@ class SelectFileDialogLinuxKde : public SelectFileDialogLinux {
|
|
||||||
void OnSelectMultiFileDialogResponse(
|
|
||||||
gfx::AcceleratedWidget parent,
|
|
||||||
std::unique_ptr<KDialogOutputParams> results);
|
|
||||||
+
|
|
||||||
+ // Common function for OnSelectSingleFolderDialogResponse and
|
|
||||||
+ // OnSelectMultiFileDialogResponse.
|
|
||||||
+ void SelectMultiFileDialogHelper(
|
|
||||||
+ bool allow_folder,
|
|
||||||
+ gfx::AcceleratedWidget parent,
|
|
||||||
+ std::unique_ptr<KDialogOutputParams> results);
|
|
||||||
+
|
|
||||||
void OnSelectSingleFolderDialogResponse(
|
|
||||||
gfx::AcceleratedWidget parent,
|
|
||||||
std::unique_ptr<KDialogOutputParams> results);
|
|
||||||
+ void OnSelectMultiFolderDialogResponse(
|
|
||||||
+ gfx::AcceleratedWidget parent,
|
|
||||||
+ std::unique_ptr<KDialogOutputParams> results);
|
|
||||||
|
|
||||||
// Should be either DESKTOP_ENVIRONMENT_KDE3, KDE4, KDE5, or KDE6.
|
|
||||||
base::nix::DesktopEnvironment desktop_;
|
|
||||||
@@ -468,6 +479,7 @@ void SelectFileDialogLinuxKde::CreateSelectFolderDialog(
|
|
||||||
int title_message_id = (type == SELECT_UPLOAD_FOLDER)
|
|
||||||
? IDS_SELECT_UPLOAD_FOLDER_DIALOG_TITLE
|
|
||||||
: IDS_SELECT_FOLDER_DIALOG_TITLE;
|
|
||||||
+ bool multiple_selection = allow_multiple_selection();
|
|
||||||
pipe_task_runner_->PostTaskAndReplyWithResult(
|
|
||||||
FROM_HERE,
|
|
||||||
base::BindOnce(
|
|
||||||
@@ -475,10 +487,12 @@ void SelectFileDialogLinuxKde::CreateSelectFolderDialog(
|
|
||||||
KDialogParams(
|
|
||||||
"--getexistingdirectory", GetTitle(title, title_message_id),
|
|
||||||
default_path.empty() ? *last_opened_path() : default_path, parent,
|
|
||||||
- false, false)),
|
|
||||||
+ false, multiple_selection)),
|
|
||||||
base::BindOnce(
|
|
||||||
- &SelectFileDialogLinuxKde::OnSelectSingleFolderDialogResponse, this,
|
|
||||||
- parent));
|
|
||||||
+ multiple_selection
|
|
||||||
+ ? &SelectFileDialogLinuxKde::OnSelectMultiFolderDialogResponse
|
|
||||||
+ : &SelectFileDialogLinuxKde::OnSelectSingleFolderDialogResponse,
|
|
||||||
+ this, parent));
|
|
||||||
}
|
|
||||||
|
|
||||||
void SelectFileDialogLinuxKde::CreateFileOpenDialog(
|
|
||||||
@@ -568,7 +582,8 @@ void SelectFileDialogLinuxKde::OnSelectSingleFolderDialogResponse(
|
|
||||||
SelectSingleFileHelper(true, std::move(results));
|
|
||||||
}
|
|
||||||
|
|
||||||
-void SelectFileDialogLinuxKde::OnSelectMultiFileDialogResponse(
|
|
||||||
+void SelectFileDialogLinuxKde::SelectMultiFileDialogHelper(
|
|
||||||
+ bool allow_folder,
|
|
||||||
gfx::AcceleratedWidget parent,
|
|
||||||
std::unique_ptr<KDialogOutputParams> results) {
|
|
||||||
DCHECK_CALLED_ON_VALID_SEQUENCE(sequence_checker_);
|
|
||||||
@@ -586,7 +601,7 @@ void SelectFileDialogLinuxKde::OnSelectMultiFileDialogResponse(
|
|
||||||
base::SplitStringPiece(results->output, "\n", base::KEEP_WHITESPACE,
|
|
||||||
base::SPLIT_WANT_NONEMPTY)) {
|
|
||||||
base::FilePath path(line);
|
|
||||||
- if (CallDirectoryExistsOnUIThread(path))
|
|
||||||
+ if (!allow_folder && CallDirectoryExistsOnUIThread(path))
|
|
||||||
continue;
|
|
||||||
filenames_fp.push_back(path);
|
|
||||||
}
|
|
||||||
@@ -598,4 +613,16 @@ void SelectFileDialogLinuxKde::OnSelectMultiFileDialogResponse(
|
|
||||||
MultiFilesSelected(filenames_fp);
|
|
||||||
}
|
|
||||||
|
|
||||||
+void SelectFileDialogLinuxKde::OnSelectMultiFolderDialogResponse(
|
|
||||||
+ gfx::AcceleratedWidget parent,
|
|
||||||
+ std::unique_ptr<KDialogOutputParams> results) {
|
|
||||||
+ SelectMultiFileDialogHelper(true, parent, std::move(results));
|
|
||||||
+}
|
|
||||||
+
|
|
||||||
+void SelectFileDialogLinuxKde::OnSelectMultiFileDialogResponse(
|
|
||||||
+ gfx::AcceleratedWidget parent,
|
|
||||||
+ std::unique_ptr<KDialogOutputParams> results) {
|
|
||||||
+ SelectMultiFileDialogHelper(false, parent, std::move(results));
|
|
||||||
+}
|
|
||||||
+
|
|
||||||
} // namespace ui
|
} // namespace ui
|
||||||
diff --git a/ui/shell_dialogs/select_file_dialog_linux_portal.cc b/ui/shell_dialogs/select_file_dialog_linux_portal.cc
|
diff --git a/ui/shell_dialogs/select_file_dialog_linux_portal.cc b/ui/shell_dialogs/select_file_dialog_linux_portal.cc
|
||||||
index b23d357d4e21f10be82f0ea37b1ec3e959fc2c0b..e768afc05b42d4d026c88f1516d4e9db84e8dff6 100644
|
index b23d357d4e21f10be82f0ea37b1ec3e959fc2c0b..e768afc05b42d4d026c88f1516d4e9db84e8dff6 100644
|
||||||
|
|
|
@ -411,7 +411,7 @@ index cf71655553cf510e1309ac47bdd5ddab08e52672..0a02d17d06e080f40bf12bb2e48f51ad
|
||||||
std::vector<std::string> extension_schemes;
|
std::vector<std::string> extension_schemes;
|
||||||
// Registers a URL scheme with a predefined default custom handler.
|
// Registers a URL scheme with a predefined default custom handler.
|
||||||
diff --git a/url/url_util.cc b/url/url_util.cc
|
diff --git a/url/url_util.cc b/url/url_util.cc
|
||||||
index 67c4c5f3ce124e111fb7a70e16386120cf24d9b8..d9876cd58ff28ea1af87596691cd836b815825dd 100644
|
index e09d63ee585919842b2b92f9a53b85f67da90531..9e844e2ac9da41dd711497412d03e9b313726162 100644
|
||||||
--- a/url/url_util.cc
|
--- a/url/url_util.cc
|
||||||
+++ b/url/url_util.cc
|
+++ b/url/url_util.cc
|
||||||
@@ -135,6 +135,9 @@ struct SchemeRegistry {
|
@@ -135,6 +135,9 @@ struct SchemeRegistry {
|
||||||
|
|
|
@ -356,7 +356,7 @@ index 23b19cc8405293aa44c4f2c20f715f8443fcd151..21c0c84dc6e3128b641fac682e3069a0
|
||||||
kMaxNumberOfBuffers, std::move(receiver),
|
kMaxNumberOfBuffers, std::move(receiver),
|
||||||
std::move(receiver_on_io_thread)),
|
std::move(receiver_on_io_thread)),
|
||||||
diff --git a/content/public/browser/desktop_media_id.h b/content/public/browser/desktop_media_id.h
|
diff --git a/content/public/browser/desktop_media_id.h b/content/public/browser/desktop_media_id.h
|
||||||
index 415156d403a59bf426cf4561a9d58ecdb27524b4..78aa7b2359c684d5305bf6352751dfbb7ca00d29 100644
|
index 294b5f79955ba72976f8ba127fd19556c81e322c..27553e51b281575c5cb7a4ba4dab06d19704388e 100644
|
||||||
--- a/content/public/browser/desktop_media_id.h
|
--- a/content/public/browser/desktop_media_id.h
|
||||||
+++ b/content/public/browser/desktop_media_id.h
|
+++ b/content/public/browser/desktop_media_id.h
|
||||||
@@ -27,6 +27,8 @@ struct CONTENT_EXPORT DesktopMediaID {
|
@@ -27,6 +27,8 @@ struct CONTENT_EXPORT DesktopMediaID {
|
||||||
|
|
|
@ -19,7 +19,7 @@ to STDOUT_FILENO/STD_OUTPUT_HANDLE and STDERR_FILENO/STD_ERROR_HANDLE allowing t
|
||||||
parent process to read from the pipe.
|
parent process to read from the pipe.
|
||||||
|
|
||||||
diff --git a/content/browser/child_process_launcher.h b/content/browser/child_process_launcher.h
|
diff --git a/content/browser/child_process_launcher.h b/content/browser/child_process_launcher.h
|
||||||
index 4c3d9917baee848b673d2895a54d96528ef14286..a3735de9aa88cef41be61fe742d8beb85de96a6e 100644
|
index 2f85aeb4f51c0d126214616027c9c4cec710e263..26d35b53bcc41807452bcc68b484781d491b7a23 100644
|
||||||
--- a/content/browser/child_process_launcher.h
|
--- a/content/browser/child_process_launcher.h
|
||||||
+++ b/content/browser/child_process_launcher.h
|
+++ b/content/browser/child_process_launcher.h
|
||||||
@@ -33,6 +33,7 @@
|
@@ -33,6 +33,7 @@
|
||||||
|
@ -30,7 +30,7 @@ index 4c3d9917baee848b673d2895a54d96528ef14286..a3735de9aa88cef41be61fe742d8beb8
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if BUILDFLAG(IS_POSIX)
|
#if BUILDFLAG(IS_POSIX)
|
||||||
@@ -193,7 +194,10 @@ struct ChildProcessLauncherFileData {
|
@@ -192,7 +193,10 @@ struct ChildProcessLauncherFileData {
|
||||||
delete;
|
delete;
|
||||||
~ChildProcessLauncherFileData();
|
~ChildProcessLauncherFileData();
|
||||||
|
|
||||||
|
@ -42,7 +42,7 @@ index 4c3d9917baee848b673d2895a54d96528ef14286..a3735de9aa88cef41be61fe742d8beb8
|
||||||
// Files opened by the browser and passed as corresponding file descriptors
|
// Files opened by the browser and passed as corresponding file descriptors
|
||||||
// in the child process. If a FilePath is provided, the file will be opened
|
// in the child process. If a FilePath is provided, the file will be opened
|
||||||
// and the descriptor cached for future process launches. If a ScopedFD is
|
// and the descriptor cached for future process launches. If a ScopedFD is
|
||||||
@@ -208,6 +212,15 @@ struct ChildProcessLauncherFileData {
|
@@ -207,6 +211,15 @@ struct ChildProcessLauncherFileData {
|
||||||
std::map<std::string, std::variant<base::FilePath, base::ScopedFD>>
|
std::map<std::string, std::variant<base::FilePath, base::ScopedFD>>
|
||||||
files_to_preload;
|
files_to_preload;
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -75,7 +75,7 @@ index f8361faf6151210d65a597562c533aaa0a5235df..328238c34a9381fbbeb5970af3de721c
|
||||||
// used for canvas noising.
|
// used for canvas noising.
|
||||||
uint64 canvas_noise_token = 0;
|
uint64 canvas_noise_token = 0;
|
||||||
diff --git a/third_party/blink/public/mojom/use_counter/metrics/css_property_id.mojom b/third_party/blink/public/mojom/use_counter/metrics/css_property_id.mojom
|
diff --git a/third_party/blink/public/mojom/use_counter/metrics/css_property_id.mojom b/third_party/blink/public/mojom/use_counter/metrics/css_property_id.mojom
|
||||||
index 32e70a4fa70ac2fc41d95813590fe9a7120eecde..54d292d737748302fa0369b73d876d84f1fec1d4 100644
|
index 8e1737f9d205c511ae8e4103278a2650166f3915..ced3d02fdf338e3e2a07e93a4d22b2f9398c2267 100644
|
||||||
--- a/third_party/blink/public/mojom/use_counter/metrics/css_property_id.mojom
|
--- a/third_party/blink/public/mojom/use_counter/metrics/css_property_id.mojom
|
||||||
+++ b/third_party/blink/public/mojom/use_counter/metrics/css_property_id.mojom
|
+++ b/third_party/blink/public/mojom/use_counter/metrics/css_property_id.mojom
|
||||||
@@ -48,6 +48,7 @@ enum CSSSampleId {
|
@@ -48,6 +48,7 @@ enum CSSSampleId {
|
||||||
|
@ -112,10 +112,10 @@ index 6e991652d242795e292cea4c94cff59aaea078fa..b6834c78575520bb6e584dd2ce3333ac
|
||||||
'internal-forced-visited-'):
|
'internal-forced-visited-'):
|
||||||
internal_visited_order = 0
|
internal_visited_order = 0
|
||||||
diff --git a/third_party/blink/renderer/core/css/css_properties.json5 b/third_party/blink/renderer/core/css/css_properties.json5
|
diff --git a/third_party/blink/renderer/core/css/css_properties.json5 b/third_party/blink/renderer/core/css/css_properties.json5
|
||||||
index 5bacbf438f37363e8a6c2f61ff8eff0dae781aaa..e16363cbff7a4af50656f64f7f69ecfa15081245 100644
|
index 63fff5e26a00d65818e5a05ae4f3285162521574..23cbe424b6c9de4f66cf1c2ce91682bf706d6f90 100644
|
||||||
--- a/third_party/blink/renderer/core/css/css_properties.json5
|
--- a/third_party/blink/renderer/core/css/css_properties.json5
|
||||||
+++ b/third_party/blink/renderer/core/css/css_properties.json5
|
+++ b/third_party/blink/renderer/core/css/css_properties.json5
|
||||||
@@ -8810,6 +8810,24 @@
|
@@ -8824,6 +8824,24 @@
|
||||||
property_methods: ["ParseShorthand", "CSSValueFromComputedStyleInternal"],
|
property_methods: ["ParseShorthand", "CSSValueFromComputedStyleInternal"],
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -141,10 +141,10 @@ index 5bacbf438f37363e8a6c2f61ff8eff0dae781aaa..e16363cbff7a4af50656f64f7f69ecfa
|
||||||
{
|
{
|
||||||
name: "-internal-visited-color",
|
name: "-internal-visited-color",
|
||||||
diff --git a/third_party/blink/renderer/core/css/css_property_equality.cc b/third_party/blink/renderer/core/css/css_property_equality.cc
|
diff --git a/third_party/blink/renderer/core/css/css_property_equality.cc b/third_party/blink/renderer/core/css/css_property_equality.cc
|
||||||
index 936bd39e77a5a181a94a48129e38efc9c8c82847..75d332ef497018e4c863a47d4491d25da365206a 100644
|
index 11c153b01a111efed101ae53d2148b7f523a66f5..7a3547a2aa70ef7699bf9022a15199d499e8a802 100644
|
||||||
--- a/third_party/blink/renderer/core/css/css_property_equality.cc
|
--- a/third_party/blink/renderer/core/css/css_property_equality.cc
|
||||||
+++ b/third_party/blink/renderer/core/css/css_property_equality.cc
|
+++ b/third_party/blink/renderer/core/css/css_property_equality.cc
|
||||||
@@ -346,6 +346,8 @@ bool CSSPropertyEquality::PropertiesEqual(const PropertyHandle& property,
|
@@ -348,6 +348,8 @@ bool CSSPropertyEquality::PropertiesEqual(const PropertyHandle& property,
|
||||||
return a.DominantBaseline() == b.DominantBaseline();
|
return a.DominantBaseline() == b.DominantBaseline();
|
||||||
case CSSPropertyID::kDynamicRangeLimit:
|
case CSSPropertyID::kDynamicRangeLimit:
|
||||||
return a.GetDynamicRangeLimit() == b.GetDynamicRangeLimit();
|
return a.GetDynamicRangeLimit() == b.GetDynamicRangeLimit();
|
||||||
|
@ -154,10 +154,10 @@ index 936bd39e77a5a181a94a48129e38efc9c8c82847..75d332ef497018e4c863a47d4491d25d
|
||||||
return a.EmptyCells() == b.EmptyCells();
|
return a.EmptyCells() == b.EmptyCells();
|
||||||
case CSSPropertyID::kFill:
|
case CSSPropertyID::kFill:
|
||||||
diff --git a/third_party/blink/renderer/core/css/properties/longhands/longhands_custom.cc b/third_party/blink/renderer/core/css/properties/longhands/longhands_custom.cc
|
diff --git a/third_party/blink/renderer/core/css/properties/longhands/longhands_custom.cc b/third_party/blink/renderer/core/css/properties/longhands/longhands_custom.cc
|
||||||
index aa12ac9e27c55870269dd780e868b5eaee5acaab..1a06511ee56717df547817813eb80c3db1fa01df 100644
|
index db463eb084f96e661a271be0646d6dbc84913ee2..336564df6f1266d6f186a56efd1836cfba951c72 100644
|
||||||
--- a/third_party/blink/renderer/core/css/properties/longhands/longhands_custom.cc
|
--- a/third_party/blink/renderer/core/css/properties/longhands/longhands_custom.cc
|
||||||
+++ b/third_party/blink/renderer/core/css/properties/longhands/longhands_custom.cc
|
+++ b/third_party/blink/renderer/core/css/properties/longhands/longhands_custom.cc
|
||||||
@@ -12086,5 +12086,25 @@ const CSSValue* InternalEmptyLineHeight::ParseSingleValue(
|
@@ -12143,5 +12143,25 @@ const CSSValue* InternalEmptyLineHeight::ParseSingleValue(
|
||||||
CSSValueID::kNone>(stream);
|
CSSValueID::kNone>(stream);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -184,10 +184,10 @@ index aa12ac9e27c55870269dd780e868b5eaee5acaab..1a06511ee56717df547817813eb80c3d
|
||||||
} // namespace css_longhand
|
} // namespace css_longhand
|
||||||
} // namespace blink
|
} // namespace blink
|
||||||
diff --git a/third_party/blink/renderer/core/css/resolver/style_builder_converter.cc b/third_party/blink/renderer/core/css/resolver/style_builder_converter.cc
|
diff --git a/third_party/blink/renderer/core/css/resolver/style_builder_converter.cc b/third_party/blink/renderer/core/css/resolver/style_builder_converter.cc
|
||||||
index 56429f6e0da31c28aef86b1b5a5e538207b42706..33c6a8ff7cf6ffff2952b5a8b9389eb04ee6946d 100644
|
index ae5470212b28d47f8b79799d1ef52757fcd5cbae..667ba05f2595048bcadab0b394c52540f8bceaf1 100644
|
||||||
--- a/third_party/blink/renderer/core/css/resolver/style_builder_converter.cc
|
--- a/third_party/blink/renderer/core/css/resolver/style_builder_converter.cc
|
||||||
+++ b/third_party/blink/renderer/core/css/resolver/style_builder_converter.cc
|
+++ b/third_party/blink/renderer/core/css/resolver/style_builder_converter.cc
|
||||||
@@ -3900,4 +3900,12 @@ PositionArea StyleBuilderConverter::ConvertPositionArea(
|
@@ -3913,4 +3913,12 @@ PositionArea StyleBuilderConverter::ConvertPositionArea(
|
||||||
return PositionArea(span[0], span[1], span[2], span[3]);
|
return PositionArea(span[0], span[1], span[2], span[3]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -307,7 +307,7 @@ index 2c2f4f405074e5baa4a26f255283404f86b40e21..ebeb7d6988ee9e6a4e78cb82fc01fdad
|
||||||
|
|
||||||
ContouredRect PixelSnappedContouredBorderInternal(
|
ContouredRect PixelSnappedContouredBorderInternal(
|
||||||
diff --git a/third_party/blink/renderer/platform/BUILD.gn b/third_party/blink/renderer/platform/BUILD.gn
|
diff --git a/third_party/blink/renderer/platform/BUILD.gn b/third_party/blink/renderer/platform/BUILD.gn
|
||||||
index 3788f76b50f6a1776baef2131033a62875e101b9..f3e2226021d1de6a5cb787538ca6c0f18f208670 100644
|
index b63dfc16103a6882ffb4dd81a20408092aaed3ab..d56e6f0a527ddc8adccb5fec3adb66fd2f5c99bd 100644
|
||||||
--- a/third_party/blink/renderer/platform/BUILD.gn
|
--- a/third_party/blink/renderer/platform/BUILD.gn
|
||||||
+++ b/third_party/blink/renderer/platform/BUILD.gn
|
+++ b/third_party/blink/renderer/platform/BUILD.gn
|
||||||
@@ -1658,6 +1658,8 @@ component("platform") {
|
@@ -1658,6 +1658,8 @@ component("platform") {
|
||||||
|
@ -320,7 +320,7 @@ index 3788f76b50f6a1776baef2131033a62875e101b9..f3e2226021d1de6a5cb787538ca6c0f1
|
||||||
|
|
||||||
sources -= blink_platform_avx_files
|
sources -= blink_platform_avx_files
|
||||||
diff --git a/third_party/blink/renderer/platform/geometry/contoured_rect.h b/third_party/blink/renderer/platform/geometry/contoured_rect.h
|
diff --git a/third_party/blink/renderer/platform/geometry/contoured_rect.h b/third_party/blink/renderer/platform/geometry/contoured_rect.h
|
||||||
index 88e78f1d8050c73ae6a8929f23e636ef7a383404..17b63c5ecdcd8feb17b76a13392595c737c316b7 100644
|
index 54d3ae85eaed0699714728bcb8ff0c817f6b5e86..3014d286ecbef8b9a90f007527cce5141110eaf6 100644
|
||||||
--- a/third_party/blink/renderer/platform/geometry/contoured_rect.h
|
--- a/third_party/blink/renderer/platform/geometry/contoured_rect.h
|
||||||
+++ b/third_party/blink/renderer/platform/geometry/contoured_rect.h
|
+++ b/third_party/blink/renderer/platform/geometry/contoured_rect.h
|
||||||
@@ -47,19 +47,29 @@ class PLATFORM_EXPORT ContouredRect {
|
@@ -47,19 +47,29 @@ class PLATFORM_EXPORT ContouredRect {
|
||||||
|
@ -373,7 +373,7 @@ index 88e78f1d8050c73ae6a8929f23e636ef7a383404..17b63c5ecdcd8feb17b76a13392595c7
|
||||||
|
|
||||||
// A Corner is a axis-aligned quad, with the points ordered (start, outer,
|
// A Corner is a axis-aligned quad, with the points ordered (start, outer,
|
||||||
diff --git a/third_party/blink/renderer/platform/geometry/path_builder.cc b/third_party/blink/renderer/platform/geometry/path_builder.cc
|
diff --git a/third_party/blink/renderer/platform/geometry/path_builder.cc b/third_party/blink/renderer/platform/geometry/path_builder.cc
|
||||||
index b17bc9760b97b1e72783ae174ffa0f69ca830462..226b546694524e3848ea849059df74970403690e 100644
|
index 414b73e219a7f4e499414cf120c5b8ebd0ae3a63..2093364a27e89fa10fe9a6921453d2d8285e445e 100644
|
||||||
--- a/third_party/blink/renderer/platform/geometry/path_builder.cc
|
--- a/third_party/blink/renderer/platform/geometry/path_builder.cc
|
||||||
+++ b/third_party/blink/renderer/platform/geometry/path_builder.cc
|
+++ b/third_party/blink/renderer/platform/geometry/path_builder.cc
|
||||||
@@ -4,6 +4,7 @@
|
@@ -4,6 +4,7 @@
|
||||||
|
|
|
@ -564,10 +564,10 @@ index 399fba1a3d4e601dc2cdd5f1f4def8b7fd7a3011..8bcbe0d26c80323155d536c0d3a177a1
|
||||||
gpu::SyncPointManager* GetSyncPointManager() override;
|
gpu::SyncPointManager* GetSyncPointManager() override;
|
||||||
gpu::Scheduler* GetGpuScheduler() override;
|
gpu::Scheduler* GetGpuScheduler() override;
|
||||||
diff --git a/content/browser/compositor/viz_process_transport_factory.cc b/content/browser/compositor/viz_process_transport_factory.cc
|
diff --git a/content/browser/compositor/viz_process_transport_factory.cc b/content/browser/compositor/viz_process_transport_factory.cc
|
||||||
index 8e2ddfa9337b5ba952a186a85bce78d39a62e8bd..efb54a95b2ad76546eafa1907064a298961b1a4d 100644
|
index 130067b91baa360a7234fecfe6342c8239d587b5..d701328102f9a53e12b1b2e2a86265910692ca59 100644
|
||||||
--- a/content/browser/compositor/viz_process_transport_factory.cc
|
--- a/content/browser/compositor/viz_process_transport_factory.cc
|
||||||
+++ b/content/browser/compositor/viz_process_transport_factory.cc
|
+++ b/content/browser/compositor/viz_process_transport_factory.cc
|
||||||
@@ -389,8 +389,14 @@ void VizProcessTransportFactory::OnEstablishedGpuChannel(
|
@@ -387,8 +387,14 @@ void VizProcessTransportFactory::OnEstablishedGpuChannel(
|
||||||
mojo::AssociatedRemote<viz::mojom::DisplayPrivate> display_private;
|
mojo::AssociatedRemote<viz::mojom::DisplayPrivate> display_private;
|
||||||
root_params->display_private =
|
root_params->display_private =
|
||||||
display_private.BindNewEndpointAndPassReceiver();
|
display_private.BindNewEndpointAndPassReceiver();
|
||||||
|
|
|
@ -12,10 +12,10 @@ We attempt to migrate the safe storage key from the old account, if that migrati
|
||||||
Existing apps that aren't built for the app store should be unimpacted, there is one edge case where a user uses BOTH an AppStore and a darwin build of the same app only one will keep it's access to the safestorage key as during the migration we delete the old account. This is an acceptable edge case as no one should be actively using two versions of the same app.
|
Existing apps that aren't built for the app store should be unimpacted, there is one edge case where a user uses BOTH an AppStore and a darwin build of the same app only one will keep it's access to the safestorage key as during the migration we delete the old account. This is an acceptable edge case as no one should be actively using two versions of the same app.
|
||||||
|
|
||||||
diff --git a/components/os_crypt/sync/keychain_password_mac.mm b/components/os_crypt/sync/keychain_password_mac.mm
|
diff --git a/components/os_crypt/sync/keychain_password_mac.mm b/components/os_crypt/sync/keychain_password_mac.mm
|
||||||
index 3d388a85aaf52acdcc2b7aaea56f5a24b2435bff..7a0d28cbf1651e76a4356f1193b502d27e7a8ed4 100644
|
index 77409051c67a5a7bd3826a7063666954a38a86f0..397c5a17f0dc4d662f6413234ddc430b680fb0b3 100644
|
||||||
--- a/components/os_crypt/sync/keychain_password_mac.mm
|
--- a/components/os_crypt/sync/keychain_password_mac.mm
|
||||||
+++ b/components/os_crypt/sync/keychain_password_mac.mm
|
+++ b/components/os_crypt/sync/keychain_password_mac.mm
|
||||||
@@ -25,6 +25,12 @@
|
@@ -26,6 +26,12 @@
|
||||||
using KeychainNameContainerType = const base::NoDestructor<std::string>;
|
using KeychainNameContainerType = const base::NoDestructor<std::string>;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -28,10 +28,10 @@ index 3d388a85aaf52acdcc2b7aaea56f5a24b2435bff..7a0d28cbf1651e76a4356f1193b502d2
|
||||||
namespace {
|
namespace {
|
||||||
|
|
||||||
// These two strings ARE indeed user facing. But they are used to access
|
// These two strings ARE indeed user facing. But they are used to access
|
||||||
@@ -79,10 +85,47 @@
|
@@ -95,11 +101,49 @@
|
||||||
KeychainPassword::~KeychainPassword() = default;
|
uma_result);
|
||||||
|
};
|
||||||
|
|
||||||
std::string KeychainPassword::GetPassword() const {
|
|
||||||
+ const std::string account_name_suffix = kAccountNameSuffix;
|
+ const std::string account_name_suffix = kAccountNameSuffix;
|
||||||
+ const std::string suffixed_account_name = GetAccountName() + account_name_suffix;
|
+ const std::string suffixed_account_name = GetAccountName() + account_name_suffix;
|
||||||
auto password =
|
auto password =
|
||||||
|
@ -43,7 +43,7 @@ index 3d388a85aaf52acdcc2b7aaea56f5a24b2435bff..7a0d28cbf1651e76a4356f1193b502d2
|
||||||
+ }
|
+ }
|
||||||
+
|
+
|
||||||
+ // If the error was anything other than "it does not exist" we should error out here
|
+ // If the error was anything other than "it does not exist" we should error out here
|
||||||
+ // This normally means the account exists but we were deniged access to it
|
+ // This normally means the account exists but we were denied access to it
|
||||||
+ if (password.error() != errSecItemNotFound) {
|
+ if (password.error() != errSecItemNotFound) {
|
||||||
+ OSSTATUS_LOG(ERROR, password.error()) << "Keychain lookup for suffixed key failed";
|
+ OSSTATUS_LOG(ERROR, password.error()) << "Keychain lookup for suffixed key failed";
|
||||||
+ return std::string();
|
+ return std::string();
|
||||||
|
@ -57,6 +57,8 @@ index 3d388a85aaf52acdcc2b7aaea56f5a24b2435bff..7a0d28cbf1651e76a4356f1193b502d2
|
||||||
+ item_ref.InitializeInto());
|
+ item_ref.InitializeInto());
|
||||||
|
|
||||||
if (password.has_value()) {
|
if (password.has_value()) {
|
||||||
|
uma_result = FindGenericPasswordResult::kPasswordFound;
|
||||||
|
+
|
||||||
+ // If we found the legacy account name we should copy it over to
|
+ // If we found the legacy account name we should copy it over to
|
||||||
+ // the new suffixed account
|
+ // the new suffixed account
|
||||||
+ OSStatus error = keychain_->AddGenericPassword(
|
+ OSStatus error = keychain_->AddGenericPassword(
|
||||||
|
|
|
@ -17,7 +17,7 @@ headers, moving forward we should find a way in upstream to provide
|
||||||
access to these headers for loader clients created on the browser process.
|
access to these headers for loader clients created on the browser process.
|
||||||
|
|
||||||
diff --git a/services/network/public/cpp/resource_request.cc b/services/network/public/cpp/resource_request.cc
|
diff --git a/services/network/public/cpp/resource_request.cc b/services/network/public/cpp/resource_request.cc
|
||||||
index 28355f4c6c3cbbe60e827246e88107ce7374104a..4183f448dc40f0fbe1fabadf58f09eeb84c9f684 100644
|
index 0becf4f37532fb7acfdf4d516a72f7048e98c550..0a267234eff1684fe2e6231584ccd1b5c9ed03e3 100644
|
||||||
--- a/services/network/public/cpp/resource_request.cc
|
--- a/services/network/public/cpp/resource_request.cc
|
||||||
+++ b/services/network/public/cpp/resource_request.cc
|
+++ b/services/network/public/cpp/resource_request.cc
|
||||||
@@ -178,6 +178,7 @@ ResourceRequest::TrustedParams& ResourceRequest::TrustedParams::operator=(
|
@@ -178,6 +178,7 @@ ResourceRequest::TrustedParams& ResourceRequest::TrustedParams::operator=(
|
||||||
|
@ -37,10 +37,10 @@ index 28355f4c6c3cbbe60e827246e88107ce7374104a..4183f448dc40f0fbe1fabadf58f09eeb
|
||||||
allow_cookies_from_browser == other.allow_cookies_from_browser &&
|
allow_cookies_from_browser == other.allow_cookies_from_browser &&
|
||||||
include_request_cookies_with_response ==
|
include_request_cookies_with_response ==
|
||||||
diff --git a/services/network/public/cpp/resource_request.h b/services/network/public/cpp/resource_request.h
|
diff --git a/services/network/public/cpp/resource_request.h b/services/network/public/cpp/resource_request.h
|
||||||
index 8634c50fbede68bf5497ed50e258eecac594b4d4..c6f06966f0f58e5087e1f62537eecffc95cd1962 100644
|
index df29c7cb739a488684c0c50bc5343df101911a31..86b5576c9c10e5544347117e4f6b09d7692caffa 100644
|
||||||
--- a/services/network/public/cpp/resource_request.h
|
--- a/services/network/public/cpp/resource_request.h
|
||||||
+++ b/services/network/public/cpp/resource_request.h
|
+++ b/services/network/public/cpp/resource_request.h
|
||||||
@@ -77,6 +77,7 @@ struct COMPONENT_EXPORT(NETWORK_CPP_BASE) ResourceRequest {
|
@@ -78,6 +78,7 @@ struct COMPONENT_EXPORT(NETWORK_CPP_BASE) ResourceRequest {
|
||||||
bool has_user_activation = false;
|
bool has_user_activation = false;
|
||||||
bool allow_cookies_from_browser = false;
|
bool allow_cookies_from_browser = false;
|
||||||
bool include_request_cookies_with_response = false;
|
bool include_request_cookies_with_response = false;
|
||||||
|
@ -49,10 +49,10 @@ index 8634c50fbede68bf5497ed50e258eecac594b4d4..c6f06966f0f58e5087e1f62537eecffc
|
||||||
mojo::PendingRemote<mojom::TrustTokenAccessObserver> trust_token_observer;
|
mojo::PendingRemote<mojom::TrustTokenAccessObserver> trust_token_observer;
|
||||||
mojo::PendingRemote<mojom::URLLoaderNetworkServiceObserver>
|
mojo::PendingRemote<mojom::URLLoaderNetworkServiceObserver>
|
||||||
diff --git a/services/network/public/cpp/url_request_mojom_traits.cc b/services/network/public/cpp/url_request_mojom_traits.cc
|
diff --git a/services/network/public/cpp/url_request_mojom_traits.cc b/services/network/public/cpp/url_request_mojom_traits.cc
|
||||||
index e67d4d6f11cb68cfc7f6f1dad60285cbaf905e76..e8e35f02b4a9c5662cd8b2cbb7dbb30e31efd4f3 100644
|
index 1fbe54bda8198423b42cb5eba291d7346a76873c..71b58ec4e11317a4da1c89d9407ab439ff1629c3 100644
|
||||||
--- a/services/network/public/cpp/url_request_mojom_traits.cc
|
--- a/services/network/public/cpp/url_request_mojom_traits.cc
|
||||||
+++ b/services/network/public/cpp/url_request_mojom_traits.cc
|
+++ b/services/network/public/cpp/url_request_mojom_traits.cc
|
||||||
@@ -49,6 +49,7 @@ bool StructTraits<network::mojom::TrustedUrlRequestParamsDataView,
|
@@ -50,6 +50,7 @@ bool StructTraits<network::mojom::TrustedUrlRequestParamsDataView,
|
||||||
out->allow_cookies_from_browser = data.allow_cookies_from_browser();
|
out->allow_cookies_from_browser = data.allow_cookies_from_browser();
|
||||||
out->include_request_cookies_with_response =
|
out->include_request_cookies_with_response =
|
||||||
data.include_request_cookies_with_response();
|
data.include_request_cookies_with_response();
|
||||||
|
@ -61,10 +61,10 @@ index e67d4d6f11cb68cfc7f6f1dad60285cbaf905e76..e8e35f02b4a9c5662cd8b2cbb7dbb30e
|
||||||
mojo::PendingRemote<network::mojom::CookieAccessObserver>>();
|
mojo::PendingRemote<network::mojom::CookieAccessObserver>>();
|
||||||
out->trust_token_observer = data.TakeTrustTokenObserver<
|
out->trust_token_observer = data.TakeTrustTokenObserver<
|
||||||
diff --git a/services/network/public/cpp/url_request_mojom_traits.h b/services/network/public/cpp/url_request_mojom_traits.h
|
diff --git a/services/network/public/cpp/url_request_mojom_traits.h b/services/network/public/cpp/url_request_mojom_traits.h
|
||||||
index 91628c93c415d8293ac989bdf9135cf2c8c59557..a51f9ca3f06ada3232c52b2b3e39a4433860bf2a 100644
|
index 1d6f7cb0347c2d1156052f43b82f22130c4750aa..ef6625a9148107772f94d2f62478914fc84d6b89 100644
|
||||||
--- a/services/network/public/cpp/url_request_mojom_traits.h
|
--- a/services/network/public/cpp/url_request_mojom_traits.h
|
||||||
+++ b/services/network/public/cpp/url_request_mojom_traits.h
|
+++ b/services/network/public/cpp/url_request_mojom_traits.h
|
||||||
@@ -71,6 +71,10 @@ struct COMPONENT_EXPORT(NETWORK_CPP_BASE)
|
@@ -72,6 +72,10 @@ struct COMPONENT_EXPORT(NETWORK_CPP_BASE)
|
||||||
const network::ResourceRequest::TrustedParams& trusted_params) {
|
const network::ResourceRequest::TrustedParams& trusted_params) {
|
||||||
return trusted_params.include_request_cookies_with_response;
|
return trusted_params.include_request_cookies_with_response;
|
||||||
}
|
}
|
||||||
|
@ -76,10 +76,10 @@ index 91628c93c415d8293ac989bdf9135cf2c8c59557..a51f9ca3f06ada3232c52b2b3e39a443
|
||||||
cookie_observer(
|
cookie_observer(
|
||||||
const network::ResourceRequest::TrustedParams& trusted_params) {
|
const network::ResourceRequest::TrustedParams& trusted_params) {
|
||||||
diff --git a/services/network/public/mojom/url_request.mojom b/services/network/public/mojom/url_request.mojom
|
diff --git a/services/network/public/mojom/url_request.mojom b/services/network/public/mojom/url_request.mojom
|
||||||
index e4ebfcfbbd56e284dcb88918a779abccc467a4af..f22dc2c544c676e3c0bd318f21cba11205ed8386 100644
|
index 392d697a8d1573815bf08e37b1bcc5c0c7493116..cf9915b9322487734b27a1776e721440035d7ad7 100644
|
||||||
--- a/services/network/public/mojom/url_request.mojom
|
--- a/services/network/public/mojom/url_request.mojom
|
||||||
+++ b/services/network/public/mojom/url_request.mojom
|
+++ b/services/network/public/mojom/url_request.mojom
|
||||||
@@ -86,6 +86,9 @@ struct TrustedUrlRequestParams {
|
@@ -87,6 +87,9 @@ struct TrustedUrlRequestParams {
|
||||||
// client which should not be able to see them.
|
// client which should not be able to see them.
|
||||||
bool include_request_cookies_with_response = false;
|
bool include_request_cookies_with_response = false;
|
||||||
|
|
||||||
|
|
|
@ -14,10 +14,10 @@ This patch likely can't be upstreamed as-is, as Chromium doesn't have
|
||||||
this use case in mind currently.
|
this use case in mind currently.
|
||||||
|
|
||||||
diff --git a/ui/views/win/hwnd_message_handler.cc b/ui/views/win/hwnd_message_handler.cc
|
diff --git a/ui/views/win/hwnd_message_handler.cc b/ui/views/win/hwnd_message_handler.cc
|
||||||
index 88f658aeb32a3181e3a0cd45fbd2aacad95116aa..cef61dcf3ab89f06cba16f309e800dbab5a7cc05 100644
|
index 30399c8a81819a57f07702a97f85e3edd7df9d69..1559eb26fb86ac6172509785afff1e0bbd226ee7 100644
|
||||||
--- a/ui/views/win/hwnd_message_handler.cc
|
--- a/ui/views/win/hwnd_message_handler.cc
|
||||||
+++ b/ui/views/win/hwnd_message_handler.cc
|
+++ b/ui/views/win/hwnd_message_handler.cc
|
||||||
@@ -936,13 +936,13 @@ void HWNDMessageHandler::FrameTypeChanged() {
|
@@ -937,13 +937,13 @@ void HWNDMessageHandler::FrameTypeChanged() {
|
||||||
|
|
||||||
void HWNDMessageHandler::PaintAsActiveChanged() {
|
void HWNDMessageHandler::PaintAsActiveChanged() {
|
||||||
if (!delegate_->HasNonClientView() || !delegate_->CanActivate() ||
|
if (!delegate_->HasNonClientView() || !delegate_->CanActivate() ||
|
||||||
|
@ -33,7 +33,7 @@ index 88f658aeb32a3181e3a0cd45fbd2aacad95116aa..cef61dcf3ab89f06cba16f309e800dba
|
||||||
}
|
}
|
||||||
|
|
||||||
void HWNDMessageHandler::SetWindowIcons(const gfx::ImageSkia& window_icon,
|
void HWNDMessageHandler::SetWindowIcons(const gfx::ImageSkia& window_icon,
|
||||||
@@ -1728,7 +1728,7 @@ void HWNDMessageHandler::OnActivateApp(BOOL active, DWORD thread_id) {
|
@@ -1732,7 +1732,7 @@ void HWNDMessageHandler::OnActivateApp(BOOL active, DWORD thread_id) {
|
||||||
if (delegate_->HasNonClientView() && !active &&
|
if (delegate_->HasNonClientView() && !active &&
|
||||||
thread_id != GetCurrentThreadId()) {
|
thread_id != GetCurrentThreadId()) {
|
||||||
// Update the native frame if it is rendering the non-client area.
|
// Update the native frame if it is rendering the non-client area.
|
||||||
|
@ -42,7 +42,7 @@ index 88f658aeb32a3181e3a0cd45fbd2aacad95116aa..cef61dcf3ab89f06cba16f309e800dba
|
||||||
DefWindowProcWithRedrawLock(WM_NCACTIVATE, FALSE, 0);
|
DefWindowProcWithRedrawLock(WM_NCACTIVATE, FALSE, 0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -2336,17 +2336,18 @@ LRESULT HWNDMessageHandler::OnNCActivate(UINT message,
|
@@ -2340,17 +2340,18 @@ LRESULT HWNDMessageHandler::OnNCActivate(UINT message,
|
||||||
delegate_->SchedulePaint();
|
delegate_->SchedulePaint();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -11,10 +11,10 @@ enlarge window above dimensions set during creation of the
|
||||||
BrowserWindow.
|
BrowserWindow.
|
||||||
|
|
||||||
diff --git a/ui/views/win/hwnd_message_handler.cc b/ui/views/win/hwnd_message_handler.cc
|
diff --git a/ui/views/win/hwnd_message_handler.cc b/ui/views/win/hwnd_message_handler.cc
|
||||||
index 2cd46f4692c84cffff0775bbb67d3585f24e900d..9747e945b2ebfc113ffd12839c28a98fcccf2872 100644
|
index c38b58ed16b14ff765f24d0bb8bdf34b8de3a901..418dc47b6d4df097e8f0cfd61de8485af2a8d2c2 100644
|
||||||
--- a/ui/views/win/hwnd_message_handler.cc
|
--- a/ui/views/win/hwnd_message_handler.cc
|
||||||
+++ b/ui/views/win/hwnd_message_handler.cc
|
+++ b/ui/views/win/hwnd_message_handler.cc
|
||||||
@@ -3771,15 +3771,30 @@ void HWNDMessageHandler::SizeWindowToAspectRatio(UINT param,
|
@@ -3775,15 +3775,30 @@ void HWNDMessageHandler::SizeWindowToAspectRatio(UINT param,
|
||||||
delegate_->GetMinMaxSize(&min_window_size, &max_window_size);
|
delegate_->GetMinMaxSize(&min_window_size, &max_window_size);
|
||||||
min_window_size = delegate_->DIPToScreenSize(min_window_size);
|
min_window_size = delegate_->DIPToScreenSize(min_window_size);
|
||||||
max_window_size = delegate_->DIPToScreenSize(max_window_size);
|
max_window_size = delegate_->DIPToScreenSize(max_window_size);
|
||||||
|
|
|
@ -28,10 +28,10 @@ The patch should be removed in favor of either:
|
||||||
Upstream bug https://bugs.chromium.org/p/chromium/issues/detail?id=1081397.
|
Upstream bug https://bugs.chromium.org/p/chromium/issues/detail?id=1081397.
|
||||||
|
|
||||||
diff --git a/content/browser/renderer_host/navigation_request.cc b/content/browser/renderer_host/navigation_request.cc
|
diff --git a/content/browser/renderer_host/navigation_request.cc b/content/browser/renderer_host/navigation_request.cc
|
||||||
index e35fc05100fd582669a021574fcd0a01e72d2302..fec6fb5ff81b362fc299b36b447c1141911ccb56 100644
|
index deb3de267fb5e6a326985fa7943e5a66217888f8..ad53374b86efe1db1e2c2e06056cd3b50696ad9b 100644
|
||||||
--- a/content/browser/renderer_host/navigation_request.cc
|
--- a/content/browser/renderer_host/navigation_request.cc
|
||||||
+++ b/content/browser/renderer_host/navigation_request.cc
|
+++ b/content/browser/renderer_host/navigation_request.cc
|
||||||
@@ -11080,6 +11080,11 @@ url::Origin NavigationRequest::GetOriginForURLLoaderFactoryUnchecked() {
|
@@ -11158,6 +11158,11 @@ url::Origin NavigationRequest::GetOriginForURLLoaderFactoryUnchecked() {
|
||||||
target_rph_id);
|
target_rph_id);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -44,7 +44,7 @@ index e35fc05100fd582669a021574fcd0a01e72d2302..fec6fb5ff81b362fc299b36b447c1141
|
||||||
// origin of |common_params.url| and/or |common_params.initiator_origin|.
|
// origin of |common_params.url| and/or |common_params.initiator_origin|.
|
||||||
url::Origin resolved_origin = url::Origin::Resolve(
|
url::Origin resolved_origin = url::Origin::Resolve(
|
||||||
diff --git a/third_party/blink/renderer/core/loader/document_loader.cc b/third_party/blink/renderer/core/loader/document_loader.cc
|
diff --git a/third_party/blink/renderer/core/loader/document_loader.cc b/third_party/blink/renderer/core/loader/document_loader.cc
|
||||||
index 59e909f5b9b3b9e2cb648359d3a0b4db2f1671b7..297aa66d55a62557deafe1d723809d68f898095c 100644
|
index 094f7359e5d3b701676daa6c26fa6f8dee9d4a29..ac23e8b6e5b16670e942bf4801d97296176e2a00 100644
|
||||||
--- a/third_party/blink/renderer/core/loader/document_loader.cc
|
--- a/third_party/blink/renderer/core/loader/document_loader.cc
|
||||||
+++ b/third_party/blink/renderer/core/loader/document_loader.cc
|
+++ b/third_party/blink/renderer/core/loader/document_loader.cc
|
||||||
@@ -2332,6 +2332,10 @@ Frame* DocumentLoader::CalculateOwnerFrame() {
|
@@ -2332,6 +2332,10 @@ Frame* DocumentLoader::CalculateOwnerFrame() {
|
||||||
|
|
|
@ -87,10 +87,10 @@ index 75df43e3cd2721a92c90c18154d53d5c203e2465..ce42c75c8face36d21f53f44c0201ac4
|
||||||
// The view with active text input state, i.e., a focused <input> element.
|
// The view with active text input state, i.e., a focused <input> element.
|
||||||
// It will be nullptr if no such view exists. Note that the active view
|
// It will be nullptr if no such view exists. Note that the active view
|
||||||
diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc
|
diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc
|
||||||
index fc4af3a293fd807780f39b0cddc7605031620879..acb6b6257ccb13aae284d9b02baada14fe9ee0cc 100644
|
index 97df851aa73d1bf8d8c8001646b63cbb43cd9a92..29185fc4c426652d192870c8a11aaa981a08ebf8 100644
|
||||||
--- a/content/browser/web_contents/web_contents_impl.cc
|
--- a/content/browser/web_contents/web_contents_impl.cc
|
||||||
+++ b/content/browser/web_contents/web_contents_impl.cc
|
+++ b/content/browser/web_contents/web_contents_impl.cc
|
||||||
@@ -10009,7 +10009,7 @@ void WebContentsImpl::OnFocusedElementChangedInFrame(
|
@@ -10162,7 +10162,7 @@ void WebContentsImpl::OnFocusedElementChangedInFrame(
|
||||||
"WebContentsImpl::OnFocusedElementChangedInFrame",
|
"WebContentsImpl::OnFocusedElementChangedInFrame",
|
||||||
"render_frame_host", frame);
|
"render_frame_host", frame);
|
||||||
RenderWidgetHostViewBase* root_view =
|
RenderWidgetHostViewBase* root_view =
|
||||||
|
|
|
@ -18,10 +18,10 @@ or resizing, but Electron does not seem to run into that issue
|
||||||
for opaque frameless windows even with that block commented out.
|
for opaque frameless windows even with that block commented out.
|
||||||
|
|
||||||
diff --git a/ui/views/win/hwnd_message_handler.cc b/ui/views/win/hwnd_message_handler.cc
|
diff --git a/ui/views/win/hwnd_message_handler.cc b/ui/views/win/hwnd_message_handler.cc
|
||||||
index 6f2e2702d3b982fe7e8d258f303c8055d3d37df8..88f658aeb32a3181e3a0cd45fbd2aacad95116aa 100644
|
index 8c13b9db078e690240eca0a48a7c546dcdac3c11..30399c8a81819a57f07702a97f85e3edd7df9d69 100644
|
||||||
--- a/ui/views/win/hwnd_message_handler.cc
|
--- a/ui/views/win/hwnd_message_handler.cc
|
||||||
+++ b/ui/views/win/hwnd_message_handler.cc
|
+++ b/ui/views/win/hwnd_message_handler.cc
|
||||||
@@ -1796,7 +1796,23 @@ LRESULT HWNDMessageHandler::OnCreate(CREATESTRUCT* create_struct) {
|
@@ -1800,7 +1800,23 @@ LRESULT HWNDMessageHandler::OnCreate(CREATESTRUCT* create_struct) {
|
||||||
SendMessage(hwnd(), WM_CHANGEUISTATE, MAKELPARAM(UIS_CLEAR, UISF_HIDEFOCUS),
|
SendMessage(hwnd(), WM_CHANGEUISTATE, MAKELPARAM(UIS_CLEAR, UISF_HIDEFOCUS),
|
||||||
0);
|
0);
|
||||||
|
|
||||||
|
|
|
@ -11,10 +11,10 @@ This patch should be upstreamed as a conditional revert of the logic in desktop
|
||||||
vs mobile runtimes. i.e. restore the old logic only on desktop platforms
|
vs mobile runtimes. i.e. restore the old logic only on desktop platforms
|
||||||
|
|
||||||
diff --git a/content/browser/renderer_host/render_widget_host_impl.cc b/content/browser/renderer_host/render_widget_host_impl.cc
|
diff --git a/content/browser/renderer_host/render_widget_host_impl.cc b/content/browser/renderer_host/render_widget_host_impl.cc
|
||||||
index 583b7cf8c0e484d53a0b93b86e65f28ba5359906..31cedc79b9763bee5cc69066f5d4afa6f4ec7e39 100644
|
index 6a939edf24643207b26c9cc155ccca661b06f937..c33beb8be5535ad0951013ef0617fb881fe9fac4 100644
|
||||||
--- a/content/browser/renderer_host/render_widget_host_impl.cc
|
--- a/content/browser/renderer_host/render_widget_host_impl.cc
|
||||||
+++ b/content/browser/renderer_host/render_widget_host_impl.cc
|
+++ b/content/browser/renderer_host/render_widget_host_impl.cc
|
||||||
@@ -2135,9 +2135,8 @@ RenderWidgetHostImpl::GetWidgetInputHandler() {
|
@@ -2134,9 +2134,8 @@ RenderWidgetHostImpl::GetWidgetInputHandler() {
|
||||||
void RenderWidgetHostImpl::NotifyScreenInfoChanged() {
|
void RenderWidgetHostImpl::NotifyScreenInfoChanged() {
|
||||||
// The resize message (which may not happen immediately) will carry with it
|
// The resize message (which may not happen immediately) will carry with it
|
||||||
// the screen info as well as the new size (if the screen has changed scale
|
// the screen info as well as the new size (if the screen has changed scale
|
||||||
|
|
|
@ -203,7 +203,7 @@ index fa65331f40b90d812b71a489fd560e9359152d2b..390714d631dc88ef92d59ef9618a5706
|
||||||
const mojom::blink::UserActivationOption user_activation_option_;
|
const mojom::blink::UserActivationOption user_activation_option_;
|
||||||
const mojom::blink::LoadEventBlockingOption blocking_option_;
|
const mojom::blink::LoadEventBlockingOption blocking_option_;
|
||||||
diff --git a/third_party/blink/renderer/core/frame/web_frame_test.cc b/third_party/blink/renderer/core/frame/web_frame_test.cc
|
diff --git a/third_party/blink/renderer/core/frame/web_frame_test.cc b/third_party/blink/renderer/core/frame/web_frame_test.cc
|
||||||
index 5e12b61ba14cd1afb07b71ff15e73e905da0addc..685a2ebb6694c173471d0450149321254da652ec 100644
|
index c9af87ce934e52d530dc30d0969a22e5b1747810..e89b768983e8b6882bf0bdc92d2a9a48714283c9 100644
|
||||||
--- a/third_party/blink/renderer/core/frame/web_frame_test.cc
|
--- a/third_party/blink/renderer/core/frame/web_frame_test.cc
|
||||||
+++ b/third_party/blink/renderer/core/frame/web_frame_test.cc
|
+++ b/third_party/blink/renderer/core/frame/web_frame_test.cc
|
||||||
@@ -298,6 +298,7 @@ void ExecuteScriptsInMainWorld(
|
@@ -298,6 +298,7 @@ void ExecuteScriptsInMainWorld(
|
||||||
|
@ -215,7 +215,7 @@ index 5e12b61ba14cd1afb07b71ff15e73e905da0addc..685a2ebb6694c173471d045014932125
|
||||||
mojom::blink::WantResultOption::kWantResult, wait_for_promise);
|
mojom::blink::WantResultOption::kWantResult, wait_for_promise);
|
||||||
}
|
}
|
||||||
diff --git a/third_party/blink/renderer/core/frame/web_local_frame_impl.cc b/third_party/blink/renderer/core/frame/web_local_frame_impl.cc
|
diff --git a/third_party/blink/renderer/core/frame/web_local_frame_impl.cc b/third_party/blink/renderer/core/frame/web_local_frame_impl.cc
|
||||||
index b9adaba2543608f91815ca5e1aca443da5813d9d..966210be0d0b2d89c0b24ea12686ebe0289087a1 100644
|
index 0c34345a9a6d79f9ef8b8a108842d5b2c6d1434f..f4b05b74303e258738c07f6f1c8320cb5fae5652 100644
|
||||||
--- a/third_party/blink/renderer/core/frame/web_local_frame_impl.cc
|
--- a/third_party/blink/renderer/core/frame/web_local_frame_impl.cc
|
||||||
+++ b/third_party/blink/renderer/core/frame/web_local_frame_impl.cc
|
+++ b/third_party/blink/renderer/core/frame/web_local_frame_impl.cc
|
||||||
@@ -1111,14 +1111,15 @@ void WebLocalFrameImpl::RequestExecuteScript(
|
@@ -1111,14 +1111,15 @@ void WebLocalFrameImpl::RequestExecuteScript(
|
||||||
|
|
|
@ -20,10 +20,10 @@ index 39eae72b5f9f05fc9dda3b6b3a51b4d1d2bf7fcf..cd95bbd34218cb3181b887832a84893c
|
||||||
}
|
}
|
||||||
|
|
||||||
diff --git a/content/public/browser/content_browser_client.h b/content/public/browser/content_browser_client.h
|
diff --git a/content/public/browser/content_browser_client.h b/content/public/browser/content_browser_client.h
|
||||||
index bd3cccc408c61f4c4e408fd5d093d6aa1ef0e201..4f65dbc23f3039a0144745cd3cdefeff657b6b3e 100644
|
index 0a74c5a3bee425c5c1af33ef27791a6d852baa6e..2a657027c39370d7ea839576afe547ad6da6c5a7 100644
|
||||||
--- a/content/public/browser/content_browser_client.h
|
--- a/content/public/browser/content_browser_client.h
|
||||||
+++ b/content/public/browser/content_browser_client.h
|
+++ b/content/public/browser/content_browser_client.h
|
||||||
@@ -342,6 +342,11 @@ class CONTENT_EXPORT ContentBrowserClient {
|
@@ -341,6 +341,11 @@ class CONTENT_EXPORT ContentBrowserClient {
|
||||||
|
|
||||||
virtual ~ContentBrowserClient() = default;
|
virtual ~ContentBrowserClient() = default;
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@ Subject: gritsettings_resource_ids.patch
|
||||||
Add electron resources file to the list of resource ids generation.
|
Add electron resources file to the list of resource ids generation.
|
||||||
|
|
||||||
diff --git a/tools/gritsettings/resource_ids.spec b/tools/gritsettings/resource_ids.spec
|
diff --git a/tools/gritsettings/resource_ids.spec b/tools/gritsettings/resource_ids.spec
|
||||||
index 78d72ec8ed37f4a551ff091038e6741e3f0b9efb..1c9de5cc18ab8656e7a91d5ce3f5a5424b7d8739 100644
|
index 6d02cc4f84fc2de0404f006f6895919f6aa21cb4..92882f52b2ba1898608b2eb38702f37dd8cfb8cd 100644
|
||||||
--- a/tools/gritsettings/resource_ids.spec
|
--- a/tools/gritsettings/resource_ids.spec
|
||||||
+++ b/tools/gritsettings/resource_ids.spec
|
+++ b/tools/gritsettings/resource_ids.spec
|
||||||
@@ -1524,6 +1524,11 @@
|
@@ -1524,6 +1524,11 @@
|
||||||
|
|
|
@ -35,10 +35,10 @@ system font by checking if it's kCTFontPriorityAttribute is set to
|
||||||
system priority.
|
system priority.
|
||||||
|
|
||||||
diff --git a/base/BUILD.gn b/base/BUILD.gn
|
diff --git a/base/BUILD.gn b/base/BUILD.gn
|
||||||
index 01c19144731d186d857dda72c3ac002a9ae2e911..14faff7dd8f32437f849011df222a37744f379d5 100644
|
index 275f4e0ece8c5bd8cee239c61fdb965eef524650..4726c37e6fc70133af5e2152ec4d0774f2ddfcaa 100644
|
||||||
--- a/base/BUILD.gn
|
--- a/base/BUILD.gn
|
||||||
+++ b/base/BUILD.gn
|
+++ b/base/BUILD.gn
|
||||||
@@ -1046,6 +1046,7 @@ component("base") {
|
@@ -1048,6 +1048,7 @@ component("base") {
|
||||||
"//build:ios_buildflags",
|
"//build:ios_buildflags",
|
||||||
"//build/config/compiler:compiler_buildflags",
|
"//build/config/compiler:compiler_buildflags",
|
||||||
"//third_party/modp_b64",
|
"//third_party/modp_b64",
|
||||||
|
@ -208,7 +208,7 @@ index ff1e356ff696d3830d02644969c36a71fdf32ff6..b39c716c52524b95f2d3417a98e60c0c
|
||||||
sources += [ "os_crypt_win.cc" ]
|
sources += [ "os_crypt_win.cc" ]
|
||||||
deps += [ "//components/version_info" ]
|
deps += [ "//components/version_info" ]
|
||||||
diff --git a/components/os_crypt/sync/keychain_password_mac.mm b/components/os_crypt/sync/keychain_password_mac.mm
|
diff --git a/components/os_crypt/sync/keychain_password_mac.mm b/components/os_crypt/sync/keychain_password_mac.mm
|
||||||
index 6b936d228cf71d33025769430afbe6fe322ed186..3d388a85aaf52acdcc2b7aaea56f5a24b2435bff 100644
|
index 6567e6f2d3b1dc859408666dd3c15c4a9e1238b0..77409051c67a5a7bd3826a7063666954a38a86f0 100644
|
||||||
--- a/components/os_crypt/sync/keychain_password_mac.mm
|
--- a/components/os_crypt/sync/keychain_password_mac.mm
|
||||||
+++ b/components/os_crypt/sync/keychain_password_mac.mm
|
+++ b/components/os_crypt/sync/keychain_password_mac.mm
|
||||||
@@ -15,6 +15,7 @@
|
@@ -15,6 +15,7 @@
|
||||||
|
@ -216,9 +216,9 @@ index 6b936d228cf71d33025769430afbe6fe322ed186..3d388a85aaf52acdcc2b7aaea56f5a24
|
||||||
#include "build/branding_buildflags.h"
|
#include "build/branding_buildflags.h"
|
||||||
#include "crypto/apple_keychain.h"
|
#include "crypto/apple_keychain.h"
|
||||||
+#include "electron/mas.h"
|
+#include "electron/mas.h"
|
||||||
|
#include "third_party/abseil-cpp/absl/cleanup/cleanup.h"
|
||||||
|
|
||||||
using crypto::AppleKeychain;
|
using crypto::AppleKeychain;
|
||||||
|
|
||||||
diff --git a/components/remote_cocoa/app_shim/BUILD.gn b/components/remote_cocoa/app_shim/BUILD.gn
|
diff --git a/components/remote_cocoa/app_shim/BUILD.gn b/components/remote_cocoa/app_shim/BUILD.gn
|
||||||
index ad40ddbbcb0fcfa070833ea6c0d01432bbb67768..df632da340c132f469f4f35738514763437e67fc 100644
|
index ad40ddbbcb0fcfa070833ea6c0d01432bbb67768..df632da340c132f469f4f35738514763437e67fc 100644
|
||||||
--- a/components/remote_cocoa/app_shim/BUILD.gn
|
--- a/components/remote_cocoa/app_shim/BUILD.gn
|
||||||
|
@ -582,7 +582,7 @@ index d83f420d25e2c108ad400ebecae02b1ac327c058..77852c5c315ac09dddb7227adf3b840e
|
||||||
return kAttributes;
|
return kAttributes;
|
||||||
}
|
}
|
||||||
diff --git a/content/browser/BUILD.gn b/content/browser/BUILD.gn
|
diff --git a/content/browser/BUILD.gn b/content/browser/BUILD.gn
|
||||||
index 1006244a7ed861fdd58bfb3af926a69af2061322..4074a0429ce78963d4406f957c96382333d760ed 100644
|
index 3f6fb6a8653f1d087cf28396361fc77d98668db9..0603b350939376c6e3499de7f19980b7cd274735 100644
|
||||||
--- a/content/browser/BUILD.gn
|
--- a/content/browser/BUILD.gn
|
||||||
+++ b/content/browser/BUILD.gn
|
+++ b/content/browser/BUILD.gn
|
||||||
@@ -342,6 +342,7 @@ source_set("browser") {
|
@@ -342,6 +342,7 @@ source_set("browser") {
|
||||||
|
@ -715,10 +715,10 @@ index da0e8c7260391805fa6950125c797565a2812521..8e8b093cd142326010445e9b2aae7c20
|
||||||
|
|
||||||
defines = []
|
defines = []
|
||||||
diff --git a/content/renderer/BUILD.gn b/content/renderer/BUILD.gn
|
diff --git a/content/renderer/BUILD.gn b/content/renderer/BUILD.gn
|
||||||
index 7424d33cc34ca44b1949260215b2f0a44a2d393e..80e284ca761069e5d544b5a056b13df32d509d00 100644
|
index b8fd955057ebdbf910c81f5d79d7a7ca47601ac7..aa232a7d02f353d83fd2862416b0c3b8ebbccc52 100644
|
||||||
--- a/content/renderer/BUILD.gn
|
--- a/content/renderer/BUILD.gn
|
||||||
+++ b/content/renderer/BUILD.gn
|
+++ b/content/renderer/BUILD.gn
|
||||||
@@ -327,6 +327,7 @@ target(link_target_type, "renderer") {
|
@@ -321,6 +321,7 @@ target(link_target_type, "renderer") {
|
||||||
"//ui/surface",
|
"//ui/surface",
|
||||||
"//url",
|
"//url",
|
||||||
"//v8",
|
"//v8",
|
||||||
|
@ -797,10 +797,10 @@ index a1068589ad844518038ee7bc15a3de9bc5cba525..1ff781c49f086ec8015c7d3c44567dbe
|
||||||
|
|
||||||
} // namespace content
|
} // namespace content
|
||||||
diff --git a/content/test/BUILD.gn b/content/test/BUILD.gn
|
diff --git a/content/test/BUILD.gn b/content/test/BUILD.gn
|
||||||
index 5544ddc8faae9cc4a75c812227a94df4ad4f5e53..d6fa2a588fec9895101dc4c308eb84b015a908aa 100644
|
index 1403a31f878228d835772bffd9b37eea3b742599..5a013396c0990cb3f49a659d4398e9cbe64e0283 100644
|
||||||
--- a/content/test/BUILD.gn
|
--- a/content/test/BUILD.gn
|
||||||
+++ b/content/test/BUILD.gn
|
+++ b/content/test/BUILD.gn
|
||||||
@@ -664,6 +664,7 @@ static_library("test_support") {
|
@@ -665,6 +665,7 @@ static_library("test_support") {
|
||||||
"//url",
|
"//url",
|
||||||
"//url/mojom:url_mojom_gurl",
|
"//url/mojom:url_mojom_gurl",
|
||||||
"//v8",
|
"//v8",
|
||||||
|
@ -808,7 +808,7 @@ index 5544ddc8faae9cc4a75c812227a94df4ad4f5e53..d6fa2a588fec9895101dc4c308eb84b0
|
||||||
]
|
]
|
||||||
|
|
||||||
data_deps = [
|
data_deps = [
|
||||||
@@ -1120,6 +1121,7 @@ static_library("browsertest_support") {
|
@@ -1121,6 +1122,7 @@ static_library("browsertest_support") {
|
||||||
}
|
}
|
||||||
|
|
||||||
configs += [ "//v8:external_startup_data" ]
|
configs += [ "//v8:external_startup_data" ]
|
||||||
|
@ -816,7 +816,7 @@ index 5544ddc8faae9cc4a75c812227a94df4ad4f5e53..d6fa2a588fec9895101dc4c308eb84b0
|
||||||
}
|
}
|
||||||
|
|
||||||
mojom("content_test_mojo_bindings") {
|
mojom("content_test_mojo_bindings") {
|
||||||
@@ -1963,6 +1965,7 @@ test("content_browsertests") {
|
@@ -1964,6 +1966,7 @@ test("content_browsertests") {
|
||||||
"//ui/shell_dialogs",
|
"//ui/shell_dialogs",
|
||||||
"//ui/snapshot",
|
"//ui/snapshot",
|
||||||
"//ui/webui:test_support",
|
"//ui/webui:test_support",
|
||||||
|
@ -824,7 +824,7 @@ index 5544ddc8faae9cc4a75c812227a94df4ad4f5e53..d6fa2a588fec9895101dc4c308eb84b0
|
||||||
]
|
]
|
||||||
|
|
||||||
if (!(is_chromeos && target_cpu == "arm64" && current_cpu == "arm")) {
|
if (!(is_chromeos && target_cpu == "arm64" && current_cpu == "arm")) {
|
||||||
@@ -3293,6 +3296,7 @@ test("content_unittests") {
|
@@ -3297,6 +3300,7 @@ test("content_unittests") {
|
||||||
"//ui/shell_dialogs:shell_dialogs",
|
"//ui/shell_dialogs:shell_dialogs",
|
||||||
"//ui/webui:test_support",
|
"//ui/webui:test_support",
|
||||||
"//url",
|
"//url",
|
||||||
|
@ -903,7 +903,7 @@ index 6431af67ab634cf23729b9102c189b2181cfd2cf..22040e1bfb96d810a2d8e62e44e4afbc
|
||||||
|
|
||||||
base::WeakPtr<BluetoothLowEnergyAdapterApple>
|
base::WeakPtr<BluetoothLowEnergyAdapterApple>
|
||||||
diff --git a/gpu/ipc/service/BUILD.gn b/gpu/ipc/service/BUILD.gn
|
diff --git a/gpu/ipc/service/BUILD.gn b/gpu/ipc/service/BUILD.gn
|
||||||
index 2ef64102137f543ec8c4d88bd6718264d1c52691..7e2c450a44b4bddf7cb3e2d3482ec04c5b750e02 100644
|
index 237bff815a69c786a9ae31437c6df1c933e4963b..215c9affd67ebddc81415eefc12ee5727ab07aee 100644
|
||||||
--- a/gpu/ipc/service/BUILD.gn
|
--- a/gpu/ipc/service/BUILD.gn
|
||||||
+++ b/gpu/ipc/service/BUILD.gn
|
+++ b/gpu/ipc/service/BUILD.gn
|
||||||
@@ -131,6 +131,7 @@ component("service") {
|
@@ -131,6 +131,7 @@ component("service") {
|
||||||
|
@ -937,10 +937,10 @@ index f89dbdfb0c4e8e31d387d1ce2e5304277ac4df26..7b75bfeba59345d63f4ac81153697941
|
||||||
|
|
||||||
namespace ui {
|
namespace ui {
|
||||||
diff --git a/media/audio/BUILD.gn b/media/audio/BUILD.gn
|
diff --git a/media/audio/BUILD.gn b/media/audio/BUILD.gn
|
||||||
index 4f663e28aa078bd2e692a79d06dbdde055287f3c..8588214d7f30384cc37aaf0062c941a854d4bba5 100644
|
index 6192d8fdc48be430b2d2eac0e1c97c88df11e196..b2aa0735896f58155667546d05937bd96a0dcfca 100644
|
||||||
--- a/media/audio/BUILD.gn
|
--- a/media/audio/BUILD.gn
|
||||||
+++ b/media/audio/BUILD.gn
|
+++ b/media/audio/BUILD.gn
|
||||||
@@ -198,6 +198,7 @@ source_set("audio") {
|
@@ -202,6 +202,7 @@ source_set("audio") {
|
||||||
"CoreMedia.framework",
|
"CoreMedia.framework",
|
||||||
]
|
]
|
||||||
weak_frameworks = [ "ScreenCaptureKit.framework" ] # macOS 13.0
|
weak_frameworks = [ "ScreenCaptureKit.framework" ] # macOS 13.0
|
||||||
|
@ -1436,7 +1436,7 @@ index eb81a70e4d5d5cd3e6ae9b45f8cd1c795ea76c51..9921ccb10d3455600eddd85f77f10228
|
||||||
|
|
||||||
} // namespace sandbox
|
} // namespace sandbox
|
||||||
diff --git a/third_party/blink/renderer/core/BUILD.gn b/third_party/blink/renderer/core/BUILD.gn
|
diff --git a/third_party/blink/renderer/core/BUILD.gn b/third_party/blink/renderer/core/BUILD.gn
|
||||||
index 1b5e616ebd3c610739a9dcf3fd6694f1e442d783..8449d7eb65687fa82db0f23c7627807ef26e34f3 100644
|
index bae0728aa1b2d8416e815862fd5d4aceb165ee44..a1a653bb5ec345f07027d1911071792510c5da6f 100644
|
||||||
--- a/third_party/blink/renderer/core/BUILD.gn
|
--- a/third_party/blink/renderer/core/BUILD.gn
|
||||||
+++ b/third_party/blink/renderer/core/BUILD.gn
|
+++ b/third_party/blink/renderer/core/BUILD.gn
|
||||||
@@ -414,6 +414,7 @@ component("core") {
|
@@ -414,6 +414,7 @@ component("core") {
|
||||||
|
@ -1584,10 +1584,10 @@ index dcf493d62990018040a3f84b6f875af737bd2214..3d1c4dcc9ee0bbfdac15f40d9c74e9f3
|
||||||
|
|
||||||
void DisplayCALayerTree::GotIOSurfaceFrame(
|
void DisplayCALayerTree::GotIOSurfaceFrame(
|
||||||
diff --git a/ui/accessibility/platform/BUILD.gn b/ui/accessibility/platform/BUILD.gn
|
diff --git a/ui/accessibility/platform/BUILD.gn b/ui/accessibility/platform/BUILD.gn
|
||||||
index 349a50ce687d5594296ce3c302938424be2e739b..0c5313b8f31a97747ae28f2c188e0fb591e5cc36 100644
|
index 09b5f1a0165cacb9826cdb1ffb8ab4645cddfdf4..713678ce99b9d3bd46d1ef662a9fe1e7e8fc43ab 100644
|
||||||
--- a/ui/accessibility/platform/BUILD.gn
|
--- a/ui/accessibility/platform/BUILD.gn
|
||||||
+++ b/ui/accessibility/platform/BUILD.gn
|
+++ b/ui/accessibility/platform/BUILD.gn
|
||||||
@@ -296,6 +296,7 @@ component("platform") {
|
@@ -297,6 +297,7 @@ component("platform") {
|
||||||
"AppKit.framework",
|
"AppKit.framework",
|
||||||
"Foundation.framework",
|
"Foundation.framework",
|
||||||
]
|
]
|
||||||
|
@ -1678,7 +1678,7 @@ index 6846060ef9622d8fc8d1d6c8da16e2f1b785e6bd..05c22db87e882b246bd7034e027cf149
|
||||||
// Accessible object
|
// Accessible object
|
||||||
if (AXElementWrapper::IsValidElement(value)) {
|
if (AXElementWrapper::IsValidElement(value)) {
|
||||||
diff --git a/ui/base/BUILD.gn b/ui/base/BUILD.gn
|
diff --git a/ui/base/BUILD.gn b/ui/base/BUILD.gn
|
||||||
index d2bd63f57da9b3ff84ebe36053ec18978d86c9f3..a6261be96e00548af7eba8a5fc7461586b9dbf53 100644
|
index b5456d6483b35efd929aa772be65b68bc03aabc4..2d1bd535d66c2fab0209e5adc957d827d9182737 100644
|
||||||
--- a/ui/base/BUILD.gn
|
--- a/ui/base/BUILD.gn
|
||||||
+++ b/ui/base/BUILD.gn
|
+++ b/ui/base/BUILD.gn
|
||||||
@@ -365,6 +365,13 @@ component("base") {
|
@@ -365,6 +365,13 @@ component("base") {
|
||||||
|
@ -1848,7 +1848,7 @@ index 033ebc0036bcd373b011ca829d255e8c83701a6d..ad06707f31872c58217d2d034f050c55
|
||||||
// Query the display's refresh rate.
|
// Query the display's refresh rate.
|
||||||
if (@available(macos 12.0, *)) {
|
if (@available(macos 12.0, *)) {
|
||||||
diff --git a/ui/gfx/BUILD.gn b/ui/gfx/BUILD.gn
|
diff --git a/ui/gfx/BUILD.gn b/ui/gfx/BUILD.gn
|
||||||
index af66f53bbec8e3cf9b1e2e69e602173725958706..381498a4d51b32a30a206d9ec3878d9ab3109386 100644
|
index 073269d426f55591e2daeff32782d957624d11d4..c6fe49958fd3e0b556352fda5cc35b9455792002 100644
|
||||||
--- a/ui/gfx/BUILD.gn
|
--- a/ui/gfx/BUILD.gn
|
||||||
+++ b/ui/gfx/BUILD.gn
|
+++ b/ui/gfx/BUILD.gn
|
||||||
@@ -337,6 +337,12 @@ component("gfx") {
|
@@ -337,6 +337,12 @@ component("gfx") {
|
||||||
|
|
|
@ -7,10 +7,10 @@ This adds a callback from the network service that's used to implement
|
||||||
session.setCertificateVerifyCallback.
|
session.setCertificateVerifyCallback.
|
||||||
|
|
||||||
diff --git a/services/network/network_context.cc b/services/network/network_context.cc
|
diff --git a/services/network/network_context.cc b/services/network/network_context.cc
|
||||||
index 3c261f50a966bd9d472671c9d9c74cfa843355a6..7d65c373ac4f1f538085a44ca0b11ddce89b1e62 100644
|
index 0339a3733272095428d5717c6df9fce8d16062c3..02853bf6552d49986b782785d3ab5a61ec0d3734 100644
|
||||||
--- a/services/network/network_context.cc
|
--- a/services/network/network_context.cc
|
||||||
+++ b/services/network/network_context.cc
|
+++ b/services/network/network_context.cc
|
||||||
@@ -165,6 +165,11 @@
|
@@ -164,6 +164,11 @@
|
||||||
#include "services/network/web_transport.h"
|
#include "services/network/web_transport.h"
|
||||||
#include "url/gurl.h"
|
#include "url/gurl.h"
|
||||||
|
|
||||||
|
@ -22,7 +22,7 @@ index 3c261f50a966bd9d472671c9d9c74cfa843355a6..7d65c373ac4f1f538085a44ca0b11ddc
|
||||||
#if BUILDFLAG(IS_CT_SUPPORTED)
|
#if BUILDFLAG(IS_CT_SUPPORTED)
|
||||||
// gn check does not account for BUILDFLAG(). So, for iOS builds, it will
|
// gn check does not account for BUILDFLAG(). So, for iOS builds, it will
|
||||||
// complain about a missing dependency on the target exposing this header. Add a
|
// complain about a missing dependency on the target exposing this header. Add a
|
||||||
@@ -604,6 +609,99 @@ void RecordHSTSPreconnectUpgradeReason(HSTSRedirectUpgradeReason reason) {
|
@@ -603,6 +608,99 @@ void RecordHSTSPreconnectUpgradeReason(HSTSRedirectUpgradeReason reason) {
|
||||||
|
|
||||||
} // namespace
|
} // namespace
|
||||||
|
|
||||||
|
@ -122,7 +122,7 @@ index 3c261f50a966bd9d472671c9d9c74cfa843355a6..7d65c373ac4f1f538085a44ca0b11ddc
|
||||||
constexpr uint32_t NetworkContext::kMaxOutstandingRequestsPerProcess;
|
constexpr uint32_t NetworkContext::kMaxOutstandingRequestsPerProcess;
|
||||||
|
|
||||||
NetworkContext::NetworkContextHttpAuthPreferences::
|
NetworkContext::NetworkContextHttpAuthPreferences::
|
||||||
@@ -1007,6 +1105,13 @@ void NetworkContext::SetClient(
|
@@ -1006,6 +1104,13 @@ void NetworkContext::SetClient(
|
||||||
client_.Bind(std::move(client));
|
client_.Bind(std::move(client));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -136,7 +136,7 @@ index 3c261f50a966bd9d472671c9d9c74cfa843355a6..7d65c373ac4f1f538085a44ca0b11ddc
|
||||||
void NetworkContext::CreateURLLoaderFactory(
|
void NetworkContext::CreateURLLoaderFactory(
|
||||||
mojo::PendingReceiver<mojom::URLLoaderFactory> receiver,
|
mojo::PendingReceiver<mojom::URLLoaderFactory> receiver,
|
||||||
mojom::URLLoaderFactoryParamsPtr params) {
|
mojom::URLLoaderFactoryParamsPtr params) {
|
||||||
@@ -2612,6 +2717,10 @@ URLRequestContextOwner NetworkContext::MakeURLRequestContext(
|
@@ -2611,6 +2716,10 @@ URLRequestContextOwner NetworkContext::MakeURLRequestContext(
|
||||||
cert_verifier = std::make_unique<net::CachingCertVerifier>(
|
cert_verifier = std::make_unique<net::CachingCertVerifier>(
|
||||||
std::make_unique<net::CoalescingCertVerifier>(
|
std::make_unique<net::CoalescingCertVerifier>(
|
||||||
std::move(cert_verifier)));
|
std::move(cert_verifier)));
|
||||||
|
|
|
@ -133,10 +133,10 @@ index 5be62a3fb27e37f3c1db6b811172f6dfebe18f61..34349f9832fe4b9a3d48db613a789afb
|
||||||
const GURL& document_url,
|
const GURL& document_url,
|
||||||
const WeakDocumentPtr& weak_document_ptr,
|
const WeakDocumentPtr& weak_document_ptr,
|
||||||
diff --git a/content/browser/renderer_host/render_process_host_impl.cc b/content/browser/renderer_host/render_process_host_impl.cc
|
diff --git a/content/browser/renderer_host/render_process_host_impl.cc b/content/browser/renderer_host/render_process_host_impl.cc
|
||||||
index 2dcb080a4bd9b2cd6a9f8f8ae41305dfd4400066..332f611678e53c0ea56c8baea71ca123d8cc0a95 100644
|
index 9fd362b58903930c3fcb053d561cf8d8c815ce15..c97471d75ab2d11cfe71f34d8d11b27edb5c0fce 100644
|
||||||
--- a/content/browser/renderer_host/render_process_host_impl.cc
|
--- a/content/browser/renderer_host/render_process_host_impl.cc
|
||||||
+++ b/content/browser/renderer_host/render_process_host_impl.cc
|
+++ b/content/browser/renderer_host/render_process_host_impl.cc
|
||||||
@@ -2217,7 +2217,7 @@ void RenderProcessHostImpl::CreateNotificationService(
|
@@ -2225,7 +2225,7 @@ void RenderProcessHostImpl::CreateNotificationService(
|
||||||
case RenderProcessHost::NotificationServiceCreatorType::kSharedWorker:
|
case RenderProcessHost::NotificationServiceCreatorType::kSharedWorker:
|
||||||
case RenderProcessHost::NotificationServiceCreatorType::kDedicatedWorker: {
|
case RenderProcessHost::NotificationServiceCreatorType::kDedicatedWorker: {
|
||||||
storage_partition_impl_->GetPlatformNotificationContext()->CreateService(
|
storage_partition_impl_->GetPlatformNotificationContext()->CreateService(
|
||||||
|
@ -145,7 +145,7 @@ index 2dcb080a4bd9b2cd6a9f8f8ae41305dfd4400066..332f611678e53c0ea56c8baea71ca123
|
||||||
creator_type, std::move(receiver));
|
creator_type, std::move(receiver));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@@ -2225,7 +2225,7 @@ void RenderProcessHostImpl::CreateNotificationService(
|
@@ -2233,7 +2233,7 @@ void RenderProcessHostImpl::CreateNotificationService(
|
||||||
CHECK(rfh);
|
CHECK(rfh);
|
||||||
|
|
||||||
storage_partition_impl_->GetPlatformNotificationContext()->CreateService(
|
storage_partition_impl_->GetPlatformNotificationContext()->CreateService(
|
||||||
|
|
|
@ -8,10 +8,10 @@ needed in chromium but our autofill implementation uses them. This patch can be
|
||||||
our autofill implementation to work like Chromium's.
|
our autofill implementation to work like Chromium's.
|
||||||
|
|
||||||
diff --git a/ui/color/color_id.h b/ui/color/color_id.h
|
diff --git a/ui/color/color_id.h b/ui/color/color_id.h
|
||||||
index 56ac73d6a9b8c00039bbbfc660e423bc14152e19..72a08ab14653136308ace4f4ee6e83773060dae5 100644
|
index 4093391163580e262ef2ab7634e3d5937dbbacee..122f32030f5d07a737c3b76c587098efefe6b48a 100644
|
||||||
--- a/ui/color/color_id.h
|
--- a/ui/color/color_id.h
|
||||||
+++ b/ui/color/color_id.h
|
+++ b/ui/color/color_id.h
|
||||||
@@ -410,6 +410,10 @@
|
@@ -431,6 +431,10 @@
|
||||||
E_CPONLY(kColorRadioButtonForegroundUnchecked) \
|
E_CPONLY(kColorRadioButtonForegroundUnchecked) \
|
||||||
E_CPONLY(kColorRadioButtonForegroundDisabled) \
|
E_CPONLY(kColorRadioButtonForegroundDisabled) \
|
||||||
E_CPONLY(kColorRadioButtonForegroundChecked) \
|
E_CPONLY(kColorRadioButtonForegroundChecked) \
|
||||||
|
@ -22,7 +22,7 @@ index 56ac73d6a9b8c00039bbbfc660e423bc14152e19..72a08ab14653136308ace4f4ee6e8377
|
||||||
E_CPONLY(kColorSegmentedButtonBorder) \
|
E_CPONLY(kColorSegmentedButtonBorder) \
|
||||||
E_CPONLY(kColorSegmentedButtonFocus) \
|
E_CPONLY(kColorSegmentedButtonFocus) \
|
||||||
E_CPONLY(kColorSegmentedButtonForegroundChecked) \
|
E_CPONLY(kColorSegmentedButtonForegroundChecked) \
|
||||||
@@ -518,6 +522,7 @@
|
@@ -539,6 +543,7 @@
|
||||||
E_CPONLY(kColorTreeNodeForeground) \
|
E_CPONLY(kColorTreeNodeForeground) \
|
||||||
E_CPONLY(kColorTreeNodeForegroundSelectedFocused) \
|
E_CPONLY(kColorTreeNodeForegroundSelectedFocused) \
|
||||||
E_CPONLY(kColorTreeNodeForegroundSelectedUnfocused) \
|
E_CPONLY(kColorTreeNodeForegroundSelectedUnfocused) \
|
||||||
|
|
|
@ -881,10 +881,10 @@ index 97cb6458bc9eec767db89b56abfc5f4b4136ff7b..d9a0b343158b8464b5c9aa8e0e655c0b
|
||||||
ScriptingThrottler scripting_throttler_;
|
ScriptingThrottler scripting_throttler_;
|
||||||
|
|
||||||
diff --git a/content/browser/BUILD.gn b/content/browser/BUILD.gn
|
diff --git a/content/browser/BUILD.gn b/content/browser/BUILD.gn
|
||||||
index 4074a0429ce78963d4406f957c96382333d760ed..c8f1114cb5cd892c80500da5ec4828cf5ad77dc9 100644
|
index 0603b350939376c6e3499de7f19980b7cd274735..4adc2b7d4a244d60c9523feb9e4b24f7c0e634a7 100644
|
||||||
--- a/content/browser/BUILD.gn
|
--- a/content/browser/BUILD.gn
|
||||||
+++ b/content/browser/BUILD.gn
|
+++ b/content/browser/BUILD.gn
|
||||||
@@ -3161,8 +3161,9 @@ source_set("browser") {
|
@@ -3167,8 +3167,9 @@ source_set("browser") {
|
||||||
"//ppapi/shared_impl",
|
"//ppapi/shared_impl",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
|
@ -18,10 +18,10 @@ This patch adds a few changes to the Chromium code:
|
||||||
admin permissions.
|
admin permissions.
|
||||||
|
|
||||||
diff --git a/chrome/browser/process_singleton.h b/chrome/browser/process_singleton.h
|
diff --git a/chrome/browser/process_singleton.h b/chrome/browser/process_singleton.h
|
||||||
index 4d446aa9ecfa14ffb1f65a2f45af6aaded122890..085b00fbb3ff95cdcde2a46760ab449808b4c1a9 100644
|
index c19313c0b58baf0597a99d52ed7fcdb7faacc934..2748dd196fe1f56357348a204e24f0b8a28b97dd 100644
|
||||||
--- a/chrome/browser/process_singleton.h
|
--- a/chrome/browser/process_singleton.h
|
||||||
+++ b/chrome/browser/process_singleton.h
|
+++ b/chrome/browser/process_singleton.h
|
||||||
@@ -102,12 +102,19 @@ class ProcessSingleton {
|
@@ -101,12 +101,19 @@ class ProcessSingleton {
|
||||||
base::RepeatingCallback<bool(base::CommandLine command_line,
|
base::RepeatingCallback<bool(base::CommandLine command_line,
|
||||||
const base::FilePath& current_directory)>;
|
const base::FilePath& current_directory)>;
|
||||||
|
|
||||||
|
@ -41,7 +41,7 @@ index 4d446aa9ecfa14ffb1f65a2f45af6aaded122890..085b00fbb3ff95cdcde2a46760ab4498
|
||||||
~ProcessSingleton();
|
~ProcessSingleton();
|
||||||
|
|
||||||
// Notify another process, if available. Otherwise sets ourselves as the
|
// Notify another process, if available. Otherwise sets ourselves as the
|
||||||
@@ -176,6 +183,8 @@ class ProcessSingleton {
|
@@ -175,6 +182,8 @@ class ProcessSingleton {
|
||||||
#if BUILDFLAG(IS_WIN)
|
#if BUILDFLAG(IS_WIN)
|
||||||
bool EscapeVirtualization(const base::FilePath& user_data_dir);
|
bool EscapeVirtualization(const base::FilePath& user_data_dir);
|
||||||
|
|
||||||
|
|
|
@ -30,10 +30,10 @@ index a54a0dedf8ef1cfffa4e80a4707debed0e83d277..e66e71fdbabb40a5307b12cd8965e773
|
||||||
// RenderWidgetHost on the primary main frame, and false otherwise.
|
// RenderWidgetHost on the primary main frame, and false otherwise.
|
||||||
virtual bool IsWidgetForPrimaryMainFrame(RenderWidgetHostImpl*);
|
virtual bool IsWidgetForPrimaryMainFrame(RenderWidgetHostImpl*);
|
||||||
diff --git a/content/browser/renderer_host/render_widget_host_impl.cc b/content/browser/renderer_host/render_widget_host_impl.cc
|
diff --git a/content/browser/renderer_host/render_widget_host_impl.cc b/content/browser/renderer_host/render_widget_host_impl.cc
|
||||||
index a1cec61f882c38efa611401da69de123c99c9e7f..583b7cf8c0e484d53a0b93b86e65f28ba5359906 100644
|
index 6a60a4b0275e1832216b092c29bc867f4727ca22..6a939edf24643207b26c9cc155ccca661b06f937 100644
|
||||||
--- a/content/browser/renderer_host/render_widget_host_impl.cc
|
--- a/content/browser/renderer_host/render_widget_host_impl.cc
|
||||||
+++ b/content/browser/renderer_host/render_widget_host_impl.cc
|
+++ b/content/browser/renderer_host/render_widget_host_impl.cc
|
||||||
@@ -2069,6 +2069,9 @@ void RenderWidgetHostImpl::SetCursor(const ui::Cursor& cursor) {
|
@@ -2068,6 +2068,9 @@ void RenderWidgetHostImpl::SetCursor(const ui::Cursor& cursor) {
|
||||||
if (view_) {
|
if (view_) {
|
||||||
view_->UpdateCursor(cursor);
|
view_->UpdateCursor(cursor);
|
||||||
}
|
}
|
||||||
|
@ -44,10 +44,10 @@ index a1cec61f882c38efa611401da69de123c99c9e7f..583b7cf8c0e484d53a0b93b86e65f28b
|
||||||
|
|
||||||
void RenderWidgetHostImpl::ShowContextMenuAtPoint(
|
void RenderWidgetHostImpl::ShowContextMenuAtPoint(
|
||||||
diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc
|
diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc
|
||||||
index 65a3b57c38419c15b071e67852789b48533fe53a..fcb7a38577a7b597be09b73cea9308b7112fee2a 100644
|
index c0ef22f3872e96be15867428aff1006b8a14a1df..6eaa7d566058fdcc9ebfa10f0420c3a234cb0483 100644
|
||||||
--- a/content/browser/web_contents/web_contents_impl.cc
|
--- a/content/browser/web_contents/web_contents_impl.cc
|
||||||
+++ b/content/browser/web_contents/web_contents_impl.cc
|
+++ b/content/browser/web_contents/web_contents_impl.cc
|
||||||
@@ -5907,6 +5907,11 @@ TextInputManager* WebContentsImpl::GetTextInputManager() {
|
@@ -6060,6 +6060,11 @@ TextInputManager* WebContentsImpl::GetTextInputManager() {
|
||||||
return text_input_manager_.get();
|
return text_input_manager_.get();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -60,10 +60,10 @@ index 65a3b57c38419c15b071e67852789b48533fe53a..fcb7a38577a7b597be09b73cea9308b7
|
||||||
RenderWidgetHostImpl* render_widget_host) {
|
RenderWidgetHostImpl* render_widget_host) {
|
||||||
return render_widget_host == GetPrimaryMainFrame()->GetRenderWidgetHost();
|
return render_widget_host == GetPrimaryMainFrame()->GetRenderWidgetHost();
|
||||||
diff --git a/content/browser/web_contents/web_contents_impl.h b/content/browser/web_contents/web_contents_impl.h
|
diff --git a/content/browser/web_contents/web_contents_impl.h b/content/browser/web_contents/web_contents_impl.h
|
||||||
index de9650b781ccb250fd5f59aaea8dc6e09d7816ef..09ae0904e236336058bbf1fe9c4d211ddbe146a4 100644
|
index bb00cc84d8880911c1b170a0b7084a8d9cd4bbdb..e8db4afa0c4f1061fe1609745cbac815f52b4a28 100644
|
||||||
--- a/content/browser/web_contents/web_contents_impl.h
|
--- a/content/browser/web_contents/web_contents_impl.h
|
||||||
+++ b/content/browser/web_contents/web_contents_impl.h
|
+++ b/content/browser/web_contents/web_contents_impl.h
|
||||||
@@ -1186,6 +1186,7 @@ class CONTENT_EXPORT WebContentsImpl
|
@@ -1189,6 +1189,7 @@ class CONTENT_EXPORT WebContentsImpl
|
||||||
void SendScreenRects() override;
|
void SendScreenRects() override;
|
||||||
void SendActiveState(bool active) override;
|
void SendActiveState(bool active) override;
|
||||||
TextInputManager* GetTextInputManager() override;
|
TextInputManager* GetTextInputManager() override;
|
||||||
|
|
|
@ -269,7 +269,7 @@ index 5b543e82abb17cbb91bf37fa6bac016b6053eb93..117b6b05b3a1c39183a45830b97255ca
|
||||||
|
|
||||||
void ChromeFileSystemAccessPermissionContext::SetOriginExtendedPermissionByUser(
|
void ChromeFileSystemAccessPermissionContext::SetOriginExtendedPermissionByUser(
|
||||||
diff --git a/chrome/browser/file_system_access/chrome_file_system_access_permission_context.h b/chrome/browser/file_system_access/chrome_file_system_access_permission_context.h
|
diff --git a/chrome/browser/file_system_access/chrome_file_system_access_permission_context.h b/chrome/browser/file_system_access/chrome_file_system_access_permission_context.h
|
||||||
index 5e1aa12c6337e8d0dee9f24d7ec233a894763053..e1e6a8163be4c95031a464481f55357af253cfb2 100644
|
index f647100981fd98d8511d07a6d7e100910e38a0f2..14e1b3c8ec78429f5a845f54cc973e7c77ea8bc4 100644
|
||||||
--- a/chrome/browser/file_system_access/chrome_file_system_access_permission_context.h
|
--- a/chrome/browser/file_system_access/chrome_file_system_access_permission_context.h
|
||||||
+++ b/chrome/browser/file_system_access/chrome_file_system_access_permission_context.h
|
+++ b/chrome/browser/file_system_access/chrome_file_system_access_permission_context.h
|
||||||
@@ -9,10 +9,13 @@
|
@@ -9,10 +9,13 @@
|
||||||
|
@ -294,9 +294,9 @@ index 5e1aa12c6337e8d0dee9f24d7ec233a894763053..e1e6a8163be4c95031a464481f55357a
|
||||||
#include "components/enterprise/buildflags/buildflags.h"
|
#include "components/enterprise/buildflags/buildflags.h"
|
||||||
#include "components/permissions/features.h"
|
#include "components/permissions/features.h"
|
||||||
#include "components/permissions/object_permission_context_base.h"
|
#include "components/permissions/object_permission_context_base.h"
|
||||||
@@ -399,6 +403,183 @@ class ChromeFileSystemAccessPermissionContext
|
@@ -403,6 +407,183 @@ class ChromeFileSystemAccessPermissionContext
|
||||||
// This is needed when updating path with ScopedPathOverride.
|
return is_block_path_rules_init_complete_;
|
||||||
void ResetBlockPathsForTesting();
|
}
|
||||||
|
|
||||||
+ // Sentinel used to indicate that no PathService key is specified for a path in
|
+ // Sentinel used to indicate that no PathService key is specified for a path in
|
||||||
+ // the struct below.
|
+ // the struct below.
|
||||||
|
|
|
@ -15,10 +15,10 @@ This CL removes these filters so the unresponsive event can still be
|
||||||
accessed from our JS event. The filtering is moved into Electron's code.
|
accessed from our JS event. The filtering is moved into Electron's code.
|
||||||
|
|
||||||
diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc
|
diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc
|
||||||
index 9269ef00d1c0ce0606a39533b839e061ba448d7e..7c4851fb5f9e28ab77837755993d375e91a0dcac 100644
|
index de2e8163c6ae5a1a01a79413d3d44b7c11ede311..e1692192bfa25f9949dd3f2fa2b61fc5dcef2e26 100644
|
||||||
--- a/content/browser/web_contents/web_contents_impl.cc
|
--- a/content/browser/web_contents/web_contents_impl.cc
|
||||||
+++ b/content/browser/web_contents/web_contents_impl.cc
|
+++ b/content/browser/web_contents/web_contents_impl.cc
|
||||||
@@ -10146,25 +10146,13 @@ void WebContentsImpl::RendererUnresponsive(
|
@@ -10299,25 +10299,13 @@ void WebContentsImpl::RendererUnresponsive(
|
||||||
base::RepeatingClosure hang_monitor_restarter) {
|
base::RepeatingClosure hang_monitor_restarter) {
|
||||||
OPTIONAL_TRACE_EVENT1("content", "WebContentsImpl::RendererUnresponsive",
|
OPTIONAL_TRACE_EVENT1("content", "WebContentsImpl::RendererUnresponsive",
|
||||||
"render_widget_host", render_widget_host);
|
"render_widget_host", render_widget_host);
|
||||||
|
|
|
@ -233,10 +233,10 @@ index 7c99a9512e6f65713fe8483cef7b7c9b494b4491..8fb6cf252961c9773d1a6a09d47bec6a
|
||||||
}
|
}
|
||||||
|
|
||||||
diff --git a/content/common/features.cc b/content/common/features.cc
|
diff --git a/content/common/features.cc b/content/common/features.cc
|
||||||
index 8dcb54b4c48cde0d11e682cc23dacbec9c4814df..c55f4d02691ec3b2255c47e89491fa76d8b996ea 100644
|
index 8c02eee693930e68cc734bbaba9a1fdb403cf8c1..aa3084feb5aa8c6a771016b38f0adcfa39bed9b2 100644
|
||||||
--- a/content/common/features.cc
|
--- a/content/common/features.cc
|
||||||
+++ b/content/common/features.cc
|
+++ b/content/common/features.cc
|
||||||
@@ -308,6 +308,14 @@ BASE_FEATURE(kIOSurfaceCapturer,
|
@@ -315,6 +315,14 @@ BASE_FEATURE(kIOSurfaceCapturer,
|
||||||
base::FEATURE_ENABLED_BY_DEFAULT);
|
base::FEATURE_ENABLED_BY_DEFAULT);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -252,10 +252,10 @@ index 8dcb54b4c48cde0d11e682cc23dacbec9c4814df..c55f4d02691ec3b2255c47e89491fa76
|
||||||
// invalidated upon notifications sent by base::SystemMonitor. If disabled, the
|
// invalidated upon notifications sent by base::SystemMonitor. If disabled, the
|
||||||
// cache is considered invalid on every enumeration request.
|
// cache is considered invalid on every enumeration request.
|
||||||
diff --git a/content/common/features.h b/content/common/features.h
|
diff --git a/content/common/features.h b/content/common/features.h
|
||||||
index 6ffc0e6c10c190b410c9f7269a6146447a38c800..bba9eb2e3291539a4565b306f4c2c687b7d27541 100644
|
index 032df239241bb73a19f1f3e1c0683764c40e96eb..56d00c458e0702de4830d849aa0639336823112a 100644
|
||||||
--- a/content/common/features.h
|
--- a/content/common/features.h
|
||||||
+++ b/content/common/features.h
|
+++ b/content/common/features.h
|
||||||
@@ -101,6 +101,9 @@ CONTENT_EXPORT BASE_DECLARE_FEATURE(kInterestGroupUpdateIfOlderThan);
|
@@ -102,6 +102,9 @@ CONTENT_EXPORT BASE_DECLARE_FEATURE(kInterestGroupUpdateIfOlderThan);
|
||||||
#if BUILDFLAG(IS_MAC)
|
#if BUILDFLAG(IS_MAC)
|
||||||
CONTENT_EXPORT BASE_DECLARE_FEATURE(kIOSurfaceCapturer);
|
CONTENT_EXPORT BASE_DECLARE_FEATURE(kIOSurfaceCapturer);
|
||||||
#endif
|
#endif
|
||||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -6,10 +6,10 @@ Subject: scroll_bounce_flag.patch
|
||||||
Patch to make scrollBounce option work.
|
Patch to make scrollBounce option work.
|
||||||
|
|
||||||
diff --git a/content/renderer/render_thread_impl.cc b/content/renderer/render_thread_impl.cc
|
diff --git a/content/renderer/render_thread_impl.cc b/content/renderer/render_thread_impl.cc
|
||||||
index 4176c771c26f67be6bb378c7b923f848bcf7cd1b..915e6b3098cea99e2ea2fca79cfb87026c1ba758 100644
|
index 790bf3bdfc48936799e690ad644feaa12b3873a3..c86c7bc7790ab4c94d3692e8e70cb9fcdef93eda 100644
|
||||||
--- a/content/renderer/render_thread_impl.cc
|
--- a/content/renderer/render_thread_impl.cc
|
||||||
+++ b/content/renderer/render_thread_impl.cc
|
+++ b/content/renderer/render_thread_impl.cc
|
||||||
@@ -1331,7 +1331,7 @@ bool RenderThreadImpl::IsLcdTextEnabled() {
|
@@ -1309,7 +1309,7 @@ bool RenderThreadImpl::IsLcdTextEnabled() {
|
||||||
}
|
}
|
||||||
|
|
||||||
bool RenderThreadImpl::IsElasticOverscrollEnabled() {
|
bool RenderThreadImpl::IsElasticOverscrollEnabled() {
|
||||||
|
|
|
@ -22,10 +22,10 @@ However, the patch would need to be reviewed by the security team, as it
|
||||||
does touch a security-sensitive class.
|
does touch a security-sensitive class.
|
||||||
|
|
||||||
diff --git a/content/browser/renderer_host/render_process_host_impl.cc b/content/browser/renderer_host/render_process_host_impl.cc
|
diff --git a/content/browser/renderer_host/render_process_host_impl.cc b/content/browser/renderer_host/render_process_host_impl.cc
|
||||||
index 332f611678e53c0ea56c8baea71ca123d8cc0a95..6a1b182868157c91742c6b652cbdfc0f4373a27a 100644
|
index c97471d75ab2d11cfe71f34d8d11b27edb5c0fce..44a8635ba28722b30e34695c130f7b271978391a 100644
|
||||||
--- a/content/browser/renderer_host/render_process_host_impl.cc
|
--- a/content/browser/renderer_host/render_process_host_impl.cc
|
||||||
+++ b/content/browser/renderer_host/render_process_host_impl.cc
|
+++ b/content/browser/renderer_host/render_process_host_impl.cc
|
||||||
@@ -1825,6 +1825,10 @@ bool RenderProcessHostImpl::Init() {
|
@@ -1833,6 +1833,10 @@ bool RenderProcessHostImpl::Init() {
|
||||||
std::unique_ptr<SandboxedProcessLauncherDelegate> sandbox_delegate =
|
std::unique_ptr<SandboxedProcessLauncherDelegate> sandbox_delegate =
|
||||||
std::make_unique<RendererSandboxedProcessLauncherDelegateWin>(
|
std::make_unique<RendererSandboxedProcessLauncherDelegateWin>(
|
||||||
*cmd_line, IsPdf(), IsJitDisabled());
|
*cmd_line, IsPdf(), IsJitDisabled());
|
||||||
|
|
|
@ -9,10 +9,10 @@ is needed for OSR.
|
||||||
Originally landed in https://github.com/electron/libchromiumcontent/pull/226.
|
Originally landed in https://github.com/electron/libchromiumcontent/pull/226.
|
||||||
|
|
||||||
diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc
|
diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc
|
||||||
index 3435a1d0ce5c8025b5a2005ebb4066e306579a69..3d37f389e0d9685119a5776832e0e005f8bcc6ca 100644
|
index bbbc07e36e6de11169f8317c64558b8c4d1699d5..0cf259360950a7063c4f9d6dc71b004706330f37 100644
|
||||||
--- a/content/browser/web_contents/web_contents_impl.cc
|
--- a/content/browser/web_contents/web_contents_impl.cc
|
||||||
+++ b/content/browser/web_contents/web_contents_impl.cc
|
+++ b/content/browser/web_contents/web_contents_impl.cc
|
||||||
@@ -3941,6 +3941,13 @@ void WebContentsImpl::Init(const WebContents::CreateParams& params,
|
@@ -4094,6 +4094,13 @@ void WebContentsImpl::Init(const WebContents::CreateParams& params,
|
||||||
params.main_frame_name, GetOpener(), primary_main_frame_policy,
|
params.main_frame_name, GetOpener(), primary_main_frame_policy,
|
||||||
base::UnguessableToken::Create());
|
base::UnguessableToken::Create());
|
||||||
|
|
||||||
|
@ -26,7 +26,7 @@ index 3435a1d0ce5c8025b5a2005ebb4066e306579a69..3d37f389e0d9685119a5776832e0e005
|
||||||
std::unique_ptr<WebContentsViewDelegate> delegate =
|
std::unique_ptr<WebContentsViewDelegate> delegate =
|
||||||
GetContentClient()->browser()->GetWebContentsViewDelegate(this);
|
GetContentClient()->browser()->GetWebContentsViewDelegate(this);
|
||||||
|
|
||||||
@@ -3951,6 +3958,7 @@ void WebContentsImpl::Init(const WebContents::CreateParams& params,
|
@@ -4104,6 +4111,7 @@ void WebContentsImpl::Init(const WebContents::CreateParams& params,
|
||||||
view_ = CreateWebContentsView(this, std::move(delegate),
|
view_ = CreateWebContentsView(this, std::move(delegate),
|
||||||
&render_view_host_delegate_view_);
|
&render_view_host_delegate_view_);
|
||||||
}
|
}
|
||||||
|
@ -35,7 +35,7 @@ index 3435a1d0ce5c8025b5a2005ebb4066e306579a69..3d37f389e0d9685119a5776832e0e005
|
||||||
CHECK(view_.get());
|
CHECK(view_.get());
|
||||||
|
|
||||||
diff --git a/content/public/browser/web_contents.h b/content/public/browser/web_contents.h
|
diff --git a/content/public/browser/web_contents.h b/content/public/browser/web_contents.h
|
||||||
index 560e0056bb9b0feb7510f81a80a6365cd38676d2..5ff33943a133b45d7a48a48844f5fa9e62a1f413 100644
|
index 37061d761f18ea143a8095393c42c4cf5c9eca0e..e70f25a52dbe66bf1a9bbbcb6bf56f072b23eb34 100644
|
||||||
--- a/content/public/browser/web_contents.h
|
--- a/content/public/browser/web_contents.h
|
||||||
+++ b/content/public/browser/web_contents.h
|
+++ b/content/public/browser/web_contents.h
|
||||||
@@ -121,10 +121,13 @@ class BrowserPluginGuestDelegate;
|
@@ -121,10 +121,13 @@ class BrowserPluginGuestDelegate;
|
||||||
|
|
|
@ -15,10 +15,10 @@ Note that we also need to manually update embedder's
|
||||||
`api::WebContents::IsFullscreenForTabOrPending` value.
|
`api::WebContents::IsFullscreenForTabOrPending` value.
|
||||||
|
|
||||||
diff --git a/content/browser/renderer_host/render_frame_host_impl.cc b/content/browser/renderer_host/render_frame_host_impl.cc
|
diff --git a/content/browser/renderer_host/render_frame_host_impl.cc b/content/browser/renderer_host/render_frame_host_impl.cc
|
||||||
index e87536a31d03d8030b26781b9345fa7478d24afd..6182d198b65fd26e594ff04bbf4dc483299d19ed 100644
|
index be73611db5328c76982ecca3caf5eccc30aac45e..0c4d801b3705fb609a40b8c58d2ee7f9b690461f 100644
|
||||||
--- a/content/browser/renderer_host/render_frame_host_impl.cc
|
--- a/content/browser/renderer_host/render_frame_host_impl.cc
|
||||||
+++ b/content/browser/renderer_host/render_frame_host_impl.cc
|
+++ b/content/browser/renderer_host/render_frame_host_impl.cc
|
||||||
@@ -8817,6 +8817,17 @@ void RenderFrameHostImpl::EnterFullscreen(
|
@@ -8824,6 +8824,17 @@ void RenderFrameHostImpl::EnterFullscreen(
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -37,10 +37,10 @@ index e87536a31d03d8030b26781b9345fa7478d24afd..6182d198b65fd26e594ff04bbf4dc483
|
||||||
if (had_fullscreen_token && !GetView()->HasFocus())
|
if (had_fullscreen_token && !GetView()->HasFocus())
|
||||||
GetView()->Focus();
|
GetView()->Focus();
|
||||||
diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc
|
diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc
|
||||||
index 3d37f389e0d9685119a5776832e0e005f8bcc6ca..fc4af3a293fd807780f39b0cddc7605031620879 100644
|
index 0cf259360950a7063c4f9d6dc71b004706330f37..97df851aa73d1bf8d8c8001646b63cbb43cd9a92 100644
|
||||||
--- a/content/browser/web_contents/web_contents_impl.cc
|
--- a/content/browser/web_contents/web_contents_impl.cc
|
||||||
+++ b/content/browser/web_contents/web_contents_impl.cc
|
+++ b/content/browser/web_contents/web_contents_impl.cc
|
||||||
@@ -4231,21 +4231,25 @@ KeyboardEventProcessingResult WebContentsImpl::PreHandleKeyboardEvent(
|
@@ -4384,21 +4384,25 @@ KeyboardEventProcessingResult WebContentsImpl::PreHandleKeyboardEvent(
|
||||||
const input::NativeWebKeyboardEvent& event) {
|
const input::NativeWebKeyboardEvent& event) {
|
||||||
OPTIONAL_TRACE_EVENT0(TRACE_DISABLED_BY_DEFAULT("content.verbose"),
|
OPTIONAL_TRACE_EVENT0(TRACE_DISABLED_BY_DEFAULT("content.verbose"),
|
||||||
"WebContentsImpl::PreHandleKeyboardEvent");
|
"WebContentsImpl::PreHandleKeyboardEvent");
|
||||||
|
@ -78,7 +78,7 @@ index 3d37f389e0d9685119a5776832e0e005f8bcc6ca..fc4af3a293fd807780f39b0cddc76050
|
||||||
}
|
}
|
||||||
|
|
||||||
bool WebContentsImpl::HandleMouseEvent(const blink::WebMouseEvent& event) {
|
bool WebContentsImpl::HandleMouseEvent(const blink::WebMouseEvent& event) {
|
||||||
@@ -4404,7 +4408,7 @@ void WebContentsImpl::EnterFullscreenMode(
|
@@ -4557,7 +4561,7 @@ void WebContentsImpl::EnterFullscreenMode(
|
||||||
OPTIONAL_TRACE_EVENT0("content", "WebContentsImpl::EnterFullscreenMode");
|
OPTIONAL_TRACE_EVENT0("content", "WebContentsImpl::EnterFullscreenMode");
|
||||||
DCHECK(CanEnterFullscreenMode(requesting_frame));
|
DCHECK(CanEnterFullscreenMode(requesting_frame));
|
||||||
DCHECK(requesting_frame->IsActive());
|
DCHECK(requesting_frame->IsActive());
|
||||||
|
|
|
@ -26,10 +26,10 @@ index 7a2d251ba2d13d0a34df176111e6524a27b87f55..cbbe0fbdd25a0f7859b113fdb3dcd9ce
|
||||||
// An empty URL is returned if the URL is not overriden.
|
// An empty URL is returned if the URL is not overriden.
|
||||||
virtual GURL OverrideFlashEmbedWithHTML(const GURL& url);
|
virtual GURL OverrideFlashEmbedWithHTML(const GURL& url);
|
||||||
diff --git a/content/renderer/renderer_blink_platform_impl.cc b/content/renderer/renderer_blink_platform_impl.cc
|
diff --git a/content/renderer/renderer_blink_platform_impl.cc b/content/renderer/renderer_blink_platform_impl.cc
|
||||||
index 64655ef0370c22eb4adb995b5ca640e9756e800e..d9deae4ffb30dc3b22c2c1bc8fc53ff9c64b1183 100644
|
index 45cbe16e4582ccc832e1bd809c64036b508768d9..dd11bc6ff48f72228158239ad9dda426ede9c6b8 100644
|
||||||
--- a/content/renderer/renderer_blink_platform_impl.cc
|
--- a/content/renderer/renderer_blink_platform_impl.cc
|
||||||
+++ b/content/renderer/renderer_blink_platform_impl.cc
|
+++ b/content/renderer/renderer_blink_platform_impl.cc
|
||||||
@@ -903,6 +903,12 @@ void RendererBlinkPlatformImpl::WillStopWorkerThread() {
|
@@ -902,6 +902,12 @@ void RendererBlinkPlatformImpl::WillStopWorkerThread() {
|
||||||
WorkerThreadRegistry::Instance()->WillStopCurrentWorkerThread();
|
WorkerThreadRegistry::Instance()->WillStopCurrentWorkerThread();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -43,7 +43,7 @@ index 64655ef0370c22eb4adb995b5ca640e9756e800e..d9deae4ffb30dc3b22c2c1bc8fc53ff9
|
||||||
const v8::Local<v8::Context>& worker) {
|
const v8::Local<v8::Context>& worker) {
|
||||||
GetContentClient()->renderer()->DidInitializeWorkerContextOnWorkerThread(
|
GetContentClient()->renderer()->DidInitializeWorkerContextOnWorkerThread(
|
||||||
diff --git a/content/renderer/renderer_blink_platform_impl.h b/content/renderer/renderer_blink_platform_impl.h
|
diff --git a/content/renderer/renderer_blink_platform_impl.h b/content/renderer/renderer_blink_platform_impl.h
|
||||||
index 206b8df48273a041ff7fd18f5d71e7e128f6da7d..549fdfb451ad72c5058cb0bc3be481aaff713769 100644
|
index 2b6f49b635456283daf1b6ccf8919330dcf117c8..c05d4f3c8bc44396cc0415934d12c53e918c527f 100644
|
||||||
--- a/content/renderer/renderer_blink_platform_impl.h
|
--- a/content/renderer/renderer_blink_platform_impl.h
|
||||||
+++ b/content/renderer/renderer_blink_platform_impl.h
|
+++ b/content/renderer/renderer_blink_platform_impl.h
|
||||||
@@ -197,6 +197,7 @@ class CONTENT_EXPORT RendererBlinkPlatformImpl : public BlinkPlatformImpl {
|
@@ -197,6 +197,7 @@ class CONTENT_EXPORT RendererBlinkPlatformImpl : public BlinkPlatformImpl {
|
||||||
|
@ -55,10 +55,10 @@ index 206b8df48273a041ff7fd18f5d71e7e128f6da7d..549fdfb451ad72c5058cb0bc3be481aa
|
||||||
const blink::WebSecurityOrigin& script_origin) override;
|
const blink::WebSecurityOrigin& script_origin) override;
|
||||||
blink::ProtocolHandlerSecurityLevel GetProtocolHandlerSecurityLevel(
|
blink::ProtocolHandlerSecurityLevel GetProtocolHandlerSecurityLevel(
|
||||||
diff --git a/third_party/blink/public/platform/platform.h b/third_party/blink/public/platform/platform.h
|
diff --git a/third_party/blink/public/platform/platform.h b/third_party/blink/public/platform/platform.h
|
||||||
index fa4beef133fd9bec1f1dc5fefdfbb240cec28621..7f3e3d7fa01d3d6cb7142ed1cd168268043052f7 100644
|
index 54e25fb12f680eb4bbe0d51f162e227610065345..3648f1be362dc4c13071e73fed478454af7518ca 100644
|
||||||
--- a/third_party/blink/public/platform/platform.h
|
--- a/third_party/blink/public/platform/platform.h
|
||||||
+++ b/third_party/blink/public/platform/platform.h
|
+++ b/third_party/blink/public/platform/platform.h
|
||||||
@@ -671,6 +671,7 @@ class BLINK_PLATFORM_EXPORT Platform {
|
@@ -670,6 +670,7 @@ class BLINK_PLATFORM_EXPORT Platform {
|
||||||
virtual void DidStartWorkerThread() {}
|
virtual void DidStartWorkerThread() {}
|
||||||
virtual void WillStopWorkerThread() {}
|
virtual void WillStopWorkerThread() {}
|
||||||
virtual void WorkerContextCreated(const v8::Local<v8::Context>& worker) {}
|
virtual void WorkerContextCreated(const v8::Local<v8::Context>& worker) {}
|
||||||
|
|
|
@ -35,10 +35,10 @@ index cbbe0fbdd25a0f7859b113fdb3dcd9ce57e597d6..1345bb5008e1b4fc3a450f7e353d52ec
|
||||||
// from the worker thread.
|
// from the worker thread.
|
||||||
virtual void WillDestroyWorkerContextOnWorkerThread(
|
virtual void WillDestroyWorkerContextOnWorkerThread(
|
||||||
diff --git a/content/renderer/renderer_blink_platform_impl.cc b/content/renderer/renderer_blink_platform_impl.cc
|
diff --git a/content/renderer/renderer_blink_platform_impl.cc b/content/renderer/renderer_blink_platform_impl.cc
|
||||||
index d9deae4ffb30dc3b22c2c1bc8fc53ff9c64b1183..3a0bb8b4d8eba3d67e444541b06326b9a3440eee 100644
|
index dd11bc6ff48f72228158239ad9dda426ede9c6b8..f9438122223fcdf7249eda0a5cbaa65250eb12dc 100644
|
||||||
--- a/content/renderer/renderer_blink_platform_impl.cc
|
--- a/content/renderer/renderer_blink_platform_impl.cc
|
||||||
+++ b/content/renderer/renderer_blink_platform_impl.cc
|
+++ b/content/renderer/renderer_blink_platform_impl.cc
|
||||||
@@ -915,6 +915,12 @@ void RendererBlinkPlatformImpl::WorkerContextCreated(
|
@@ -914,6 +914,12 @@ void RendererBlinkPlatformImpl::WorkerContextCreated(
|
||||||
worker);
|
worker);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -52,7 +52,7 @@ index d9deae4ffb30dc3b22c2c1bc8fc53ff9c64b1183..3a0bb8b4d8eba3d67e444541b06326b9
|
||||||
const blink::WebSecurityOrigin& script_origin) {
|
const blink::WebSecurityOrigin& script_origin) {
|
||||||
return GetContentClient()->renderer()->AllowScriptExtensionForServiceWorker(
|
return GetContentClient()->renderer()->AllowScriptExtensionForServiceWorker(
|
||||||
diff --git a/content/renderer/renderer_blink_platform_impl.h b/content/renderer/renderer_blink_platform_impl.h
|
diff --git a/content/renderer/renderer_blink_platform_impl.h b/content/renderer/renderer_blink_platform_impl.h
|
||||||
index 549fdfb451ad72c5058cb0bc3be481aaff713769..52a575f593ef6f59fb6f0d85f12164f02541a5ab 100644
|
index c05d4f3c8bc44396cc0415934d12c53e918c527f..84fff89368318b525f9e7aad6aeaf061c0cd76a1 100644
|
||||||
--- a/content/renderer/renderer_blink_platform_impl.h
|
--- a/content/renderer/renderer_blink_platform_impl.h
|
||||||
+++ b/content/renderer/renderer_blink_platform_impl.h
|
+++ b/content/renderer/renderer_blink_platform_impl.h
|
||||||
@@ -197,6 +197,8 @@ class CONTENT_EXPORT RendererBlinkPlatformImpl : public BlinkPlatformImpl {
|
@@ -197,6 +197,8 @@ class CONTENT_EXPORT RendererBlinkPlatformImpl : public BlinkPlatformImpl {
|
||||||
|
@ -65,10 +65,10 @@ index 549fdfb451ad72c5058cb0bc3be481aaff713769..52a575f593ef6f59fb6f0d85f12164f0
|
||||||
bool AllowScriptExtensionForServiceWorker(
|
bool AllowScriptExtensionForServiceWorker(
|
||||||
const blink::WebSecurityOrigin& script_origin) override;
|
const blink::WebSecurityOrigin& script_origin) override;
|
||||||
diff --git a/third_party/blink/public/platform/platform.h b/third_party/blink/public/platform/platform.h
|
diff --git a/third_party/blink/public/platform/platform.h b/third_party/blink/public/platform/platform.h
|
||||||
index 7f3e3d7fa01d3d6cb7142ed1cd168268043052f7..00682c4fe82ec77f79a4d9e70c6e7f5788083f25 100644
|
index 3648f1be362dc4c13071e73fed478454af7518ca..4c4e92cc0ec5c132418691a56c13e59c29281718 100644
|
||||||
--- a/third_party/blink/public/platform/platform.h
|
--- a/third_party/blink/public/platform/platform.h
|
||||||
+++ b/third_party/blink/public/platform/platform.h
|
+++ b/third_party/blink/public/platform/platform.h
|
||||||
@@ -671,6 +671,8 @@ class BLINK_PLATFORM_EXPORT Platform {
|
@@ -670,6 +670,8 @@ class BLINK_PLATFORM_EXPORT Platform {
|
||||||
virtual void DidStartWorkerThread() {}
|
virtual void DidStartWorkerThread() {}
|
||||||
virtual void WillStopWorkerThread() {}
|
virtual void WillStopWorkerThread() {}
|
||||||
virtual void WorkerContextCreated(const v8::Local<v8::Context>& worker) {}
|
virtual void WorkerContextCreated(const v8::Local<v8::Context>& worker) {}
|
||||||
|
|
|
@ -10,7 +10,7 @@ to handle this without patching, but this is fairly clean for now and no longer
|
||||||
patching legacy devtools code.
|
patching legacy devtools code.
|
||||||
|
|
||||||
diff --git a/front_end/entrypoints/main/MainImpl.ts b/front_end/entrypoints/main/MainImpl.ts
|
diff --git a/front_end/entrypoints/main/MainImpl.ts b/front_end/entrypoints/main/MainImpl.ts
|
||||||
index 90dfc1abb2f03ccc4b120e16b25434023d8f47a8..d9da92c75c27bc21bc7a165c489a6e04935c41f2 100644
|
index 2be25257dfc26d280733f6b55fa13da5e316ba3c..263bfe5be5becb18c73b0fc27ab1a41d455a5508 100644
|
||||||
--- a/front_end/entrypoints/main/MainImpl.ts
|
--- a/front_end/entrypoints/main/MainImpl.ts
|
||||||
+++ b/front_end/entrypoints/main/MainImpl.ts
|
+++ b/front_end/entrypoints/main/MainImpl.ts
|
||||||
@@ -721,6 +721,8 @@ export class MainImpl {
|
@@ -721,6 +721,8 @@ export class MainImpl {
|
||||||
|
|
|
@ -954,20 +954,19 @@ bool ElectronBrowserClient::HandleExternalProtocol(
|
||||||
|
|
||||||
void ElectronBrowserClient::CreateThrottlesForNavigation(
|
void ElectronBrowserClient::CreateThrottlesForNavigation(
|
||||||
content::NavigationThrottleRegistry& registry) {
|
content::NavigationThrottleRegistry& registry) {
|
||||||
content::NavigationHandle* handle = ®istry.GetNavigationHandle();
|
|
||||||
registry.MaybeAddThrottle(
|
registry.MaybeAddThrottle(
|
||||||
std::make_unique<ElectronNavigationThrottle>(handle));
|
std::make_unique<ElectronNavigationThrottle>(registry));
|
||||||
|
|
||||||
#if BUILDFLAG(ENABLE_ELECTRON_EXTENSIONS)
|
#if BUILDFLAG(ENABLE_ELECTRON_EXTENSIONS)
|
||||||
registry.MaybeAddThrottle(
|
registry.MaybeAddThrottle(
|
||||||
std::make_unique<extensions::ExtensionNavigationThrottle>(handle));
|
std::make_unique<extensions::ExtensionNavigationThrottle>(registry));
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if BUILDFLAG(ENABLE_PDF_VIEWER)
|
#if BUILDFLAG(ENABLE_PDF_VIEWER)
|
||||||
registry.MaybeAddThrottle(
|
registry.MaybeAddThrottle(
|
||||||
std::make_unique<PDFIFrameNavigationThrottle>(handle));
|
std::make_unique<PDFIFrameNavigationThrottle>(registry));
|
||||||
registry.MaybeAddThrottle(std::make_unique<pdf::PdfNavigationThrottle>(
|
registry.MaybeAddThrottle(std::make_unique<pdf::PdfNavigationThrottle>(
|
||||||
handle, std::make_unique<ChromePdfStreamDelegate>()));
|
registry, std::make_unique<ChromePdfStreamDelegate>()));
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -13,8 +13,8 @@
|
||||||
namespace electron {
|
namespace electron {
|
||||||
|
|
||||||
ElectronNavigationThrottle::ElectronNavigationThrottle(
|
ElectronNavigationThrottle::ElectronNavigationThrottle(
|
||||||
content::NavigationHandle* navigation_handle)
|
content::NavigationThrottleRegistry& registry)
|
||||||
: content::NavigationThrottle(navigation_handle) {}
|
: content::NavigationThrottle(registry) {}
|
||||||
|
|
||||||
ElectronNavigationThrottle::~ElectronNavigationThrottle() = default;
|
ElectronNavigationThrottle::~ElectronNavigationThrottle() = default;
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,8 @@ namespace electron {
|
||||||
|
|
||||||
class ElectronNavigationThrottle : public content::NavigationThrottle {
|
class ElectronNavigationThrottle : public content::NavigationThrottle {
|
||||||
public:
|
public:
|
||||||
explicit ElectronNavigationThrottle(content::NavigationHandle* handle);
|
explicit ElectronNavigationThrottle(
|
||||||
|
content::NavigationThrottleRegistry& registry);
|
||||||
~ElectronNavigationThrottle() override;
|
~ElectronNavigationThrottle() override;
|
||||||
|
|
||||||
// disable copy
|
// disable copy
|
||||||
|
|
|
@ -50,7 +50,7 @@ ExtensionFunction::ResponseAction ResourcesPrivateGetStringsFunction::Run() {
|
||||||
#if BUILDFLAG(ENABLE_PDF_VIEWER)
|
#if BUILDFLAG(ENABLE_PDF_VIEWER)
|
||||||
pdf_extension_util::AddStrings(
|
pdf_extension_util::AddStrings(
|
||||||
pdf_extension_util::PdfViewerContext::kPdfViewer, &dict);
|
pdf_extension_util::PdfViewerContext::kPdfViewer, &dict);
|
||||||
pdf_extension_util::AddAdditionalData(true, false, &dict);
|
pdf_extension_util::AddAdditionalData(browser_context(), &dict);
|
||||||
#endif
|
#endif
|
||||||
break;
|
break;
|
||||||
case api::resources_private::Component::kIdentity:
|
case api::resources_private::Component::kIdentity:
|
||||||
|
|
|
@ -31,7 +31,6 @@ ElectronComponentExtensionResourceManager::
|
||||||
base::Value::Dict pdf_strings;
|
base::Value::Dict pdf_strings;
|
||||||
pdf_extension_util::AddStrings(
|
pdf_extension_util::AddStrings(
|
||||||
pdf_extension_util::PdfViewerContext::kPdfViewer, &pdf_strings);
|
pdf_extension_util::PdfViewerContext::kPdfViewer, &pdf_strings);
|
||||||
pdf_extension_util::AddAdditionalData(false, true, &pdf_strings);
|
|
||||||
|
|
||||||
ui::TemplateReplacements pdf_viewer_replacements;
|
ui::TemplateReplacements pdf_viewer_replacements;
|
||||||
ui::TemplateReplacementsFromDictionaryValue(pdf_strings,
|
ui::TemplateReplacementsFromDictionaryValue(pdf_strings,
|
||||||
|
|
|
@ -198,8 +198,8 @@ int WinFrameView::FrameTopBorderThicknessPx(bool restored) const {
|
||||||
// Note that this method assumes an equal resize handle thickness on all
|
// Note that this method assumes an equal resize handle thickness on all
|
||||||
// sides of the window.
|
// sides of the window.
|
||||||
// TODO(dfried): Consider having it return a gfx::Insets object instead.
|
// TODO(dfried): Consider having it return a gfx::Insets object instead.
|
||||||
return ui::GetFrameThickness(
|
return ui::GetFrameThicknessFromWindow(HWNDForView(this),
|
||||||
MonitorFromWindow(HWNDForView(this), MONITOR_DEFAULTTONEAREST));
|
MONITOR_DEFAULTTONEAREST);
|
||||||
}
|
}
|
||||||
|
|
||||||
int WinFrameView::TitlebarMaximizedVisualHeight() const {
|
int WinFrameView::TitlebarMaximizedVisualHeight() const {
|
||||||
|
|
|
@ -36,7 +36,7 @@ NSData* bufferFromNSImage(NSImage* image) {
|
||||||
}
|
}
|
||||||
|
|
||||||
double safeShift(double in, double def) {
|
double safeShift(double in, double def) {
|
||||||
if (in >= 0 || in <= 1 || in == def)
|
if ((in >= 0 && in <= 1) || in == def)
|
||||||
return in;
|
return in;
|
||||||
return def;
|
return def;
|
||||||
}
|
}
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 122 KiB After Width: | Height: | Size: 130 KiB |
Binary file not shown.
Before Width: | Height: | Size: 114 KiB After Width: | Height: | Size: 133 KiB |
Loading…
Add table
Add a link
Reference in a new issue