chore: bump chromium to 131.0.6744.0 (main) (#43948)
* chore: bump chromium in DEPS to 131.0.6738.0 * chore: bump chromium in DEPS to 131.0.6740.0 * 5889025: [LaCrOS] Remove LaCrOS screen capturer. |5889025
* https://boringssl.googlesource.com/boringssl.git/+/40dd94116ba03678226443ba20c5887459c9bf16/crypto/fipsmodule/digest/digests.c.inc * chore: update patches * 5878695: Add IsolationInfo for embedders handling external protocols |5878695
* 5854304: [UI] Remove alias of mojom |5854304
* chore: bump chromium in DEPS to 131.0.6742.0 * chore: update patches * chore: bump chromium in DEPS to 131.0.6744.0 * fixup! 5889025: [LaCrOS] Remove LaCrOS screen capturer. |5889025
* chore: e patches all * chore: update chore_provide_iswebcontentscreationoverridden_with_full_params.patch Xref:5894233
* [UI] Remove alias of mojom 'WindowShowState' Xref:5854304
* chore: gen-libc++-filenames.js * chore: partially revert5894233
see patch commit message for description * Clean up stale base::Feature "kFileSystemAccessLocalUNCPathBlock" This feature is always on by default and doesn't have active finch experiments. Xref:5881253
* fix: asar integrity test recognizes SIGABRT as a crash5882758
ValidateIntegrityOrDie() exits via LOG(FATAL)'s call to base::ImmediateCrash(). There's been churn there upstream between 5332940 and 5882758 on whether to use SIGTRAP or SIGABRT. For now, let's accept both until the churn is done. --------- Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com> Co-authored-by: alice <alice@makenotion.com> Co-authored-by: Charles Kerr <charles@charleskerr.com>
This commit is contained in:
parent
eb40d2cbfa
commit
af58931efa
59 changed files with 302 additions and 236 deletions
|
@ -213,8 +213,8 @@ void NativeWindowViews::Maximize() {
|
|||
if (IsVisible()) {
|
||||
widget()->Maximize();
|
||||
} else {
|
||||
widget()->native_widget_private()->Show(ui::SHOW_STATE_MAXIMIZED,
|
||||
gfx::Rect());
|
||||
widget()->native_widget_private()->Show(
|
||||
ui::mojom::WindowShowState::kMaximized, gfx::Rect());
|
||||
NotifyWindowShow();
|
||||
}
|
||||
} else {
|
||||
|
@ -458,31 +458,31 @@ void NativeWindowViews::HandleSizeEvent(WPARAM w_param, LPARAM l_param) {
|
|||
// Note that SIZE_MAXIMIZED and SIZE_MINIMIZED might be emitted for
|
||||
// multiple times for one resize because of the SetWindowPlacement call.
|
||||
if (w_param == SIZE_MAXIMIZED &&
|
||||
last_window_state_ != ui::SHOW_STATE_MAXIMIZED) {
|
||||
if (last_window_state_ == ui::SHOW_STATE_MINIMIZED)
|
||||
last_window_state_ != ui::mojom::WindowShowState::kMaximized) {
|
||||
if (last_window_state_ == ui::mojom::WindowShowState::kMinimized)
|
||||
NotifyWindowRestore();
|
||||
last_window_state_ = ui::SHOW_STATE_MAXIMIZED;
|
||||
last_window_state_ = ui::mojom::WindowShowState::kMaximized;
|
||||
NotifyWindowMaximize();
|
||||
ResetWindowControls();
|
||||
} else if (w_param == SIZE_MINIMIZED &&
|
||||
last_window_state_ != ui::SHOW_STATE_MINIMIZED) {
|
||||
last_window_state_ = ui::SHOW_STATE_MINIMIZED;
|
||||
last_window_state_ != ui::mojom::WindowShowState::kMinimized) {
|
||||
last_window_state_ = ui::mojom::WindowShowState::kMinimized;
|
||||
NotifyWindowMinimize();
|
||||
}
|
||||
break;
|
||||
}
|
||||
case SIZE_RESTORED: {
|
||||
switch (last_window_state_) {
|
||||
case ui::SHOW_STATE_MAXIMIZED:
|
||||
last_window_state_ = ui::SHOW_STATE_NORMAL;
|
||||
case ui::mojom::WindowShowState::kMaximized:
|
||||
last_window_state_ = ui::mojom::WindowShowState::kNormal;
|
||||
NotifyWindowUnmaximize();
|
||||
break;
|
||||
case ui::SHOW_STATE_MINIMIZED:
|
||||
case ui::mojom::WindowShowState::kMinimized:
|
||||
if (IsFullscreen()) {
|
||||
last_window_state_ = ui::SHOW_STATE_FULLSCREEN;
|
||||
last_window_state_ = ui::mojom::WindowShowState::kFullscreen;
|
||||
NotifyWindowEnterFullScreen();
|
||||
} else {
|
||||
last_window_state_ = ui::SHOW_STATE_NORMAL;
|
||||
last_window_state_ = ui::mojom::WindowShowState::kNormal;
|
||||
NotifyWindowRestore();
|
||||
}
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue