mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Update to Chromium version 126.0.6478.0 (#1300313)
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
diff --git chrome/browser/extensions/api/sessions/sessions_api.cc chrome/browser/extensions/api/sessions/sessions_api.cc
|
||||
index cbecf407dfce8..35c2bf2687283 100644
|
||||
index 23722ce395352..e7e7d70dd312c 100644
|
||||
--- chrome/browser/extensions/api/sessions/sessions_api.cc
|
||||
+++ chrome/browser/extensions/api/sessions/sessions_api.cc
|
||||
@@ -333,6 +333,7 @@ SessionsGetDevicesFunction::CreateWindowModel(
|
||||
@ -23,7 +23,7 @@ index cef40af382b1e..a2cf4691edc37 100644
|
||||
case ui::SHOW_STATE_END:
|
||||
return ui::SHOW_STATE_NORMAL;
|
||||
diff --git components/sessions/core/session_service_commands.cc components/sessions/core/session_service_commands.cc
|
||||
index da0cb1677c9be..707831bdeec2e 100644
|
||||
index 124bf0bf470e5..30845be4a6a88 100644
|
||||
--- components/sessions/core/session_service_commands.cc
|
||||
+++ components/sessions/core/session_service_commands.cc
|
||||
@@ -165,9 +165,10 @@ enum PersistedWindowShowState {
|
||||
@ -39,7 +39,7 @@ index da0cb1677c9be..707831bdeec2e 100644
|
||||
+ PERSISTED_SHOW_STATE_END = 9,
|
||||
};
|
||||
|
||||
// TODO(crbug.com/1506068): Remove this around December 2024. This is part of a
|
||||
// TODO(crbug.com/40946710): Remove this around December 2024. This is part of a
|
||||
@@ -191,6 +192,7 @@ PersistedWindowShowState ShowStateToPersistedShowState(
|
||||
case ui::SHOW_STATE_NORMAL:
|
||||
return PERSISTED_SHOW_STATE_NORMAL;
|
||||
@ -49,10 +49,10 @@ index da0cb1677c9be..707831bdeec2e 100644
|
||||
case ui::SHOW_STATE_MAXIMIZED:
|
||||
return PERSISTED_SHOW_STATE_MAXIMIZED;
|
||||
diff --git components/sessions/core/tab_restore_service_impl.cc components/sessions/core/tab_restore_service_impl.cc
|
||||
index 1a49cf67e0b17..edf5896d3594e 100644
|
||||
index 552bf87379e34..b37e04b676de7 100644
|
||||
--- components/sessions/core/tab_restore_service_impl.cc
|
||||
+++ components/sessions/core/tab_restore_service_impl.cc
|
||||
@@ -192,6 +192,7 @@ int SerializeWindowShowState(ui::WindowShowState show_state) {
|
||||
@@ -197,6 +197,7 @@ int SerializeWindowShowState(ui::WindowShowState show_state) {
|
||||
case ui::SHOW_STATE_NORMAL:
|
||||
return kSerializedShowStateNormal;
|
||||
case ui::SHOW_STATE_MINIMIZED:
|
||||
@ -61,10 +61,10 @@ index 1a49cf67e0b17..edf5896d3594e 100644
|
||||
case ui::SHOW_STATE_MAXIMIZED:
|
||||
return kSerializedShowStateMaximized;
|
||||
diff --git content/browser/renderer_host/render_widget_host_view_base.cc content/browser/renderer_host/render_widget_host_view_base.cc
|
||||
index b1fd8fe22daa6..290912f76fb02 100644
|
||||
index 60d2748ffebf8..cb16f27ee8d5f 100644
|
||||
--- content/browser/renderer_host/render_widget_host_view_base.cc
|
||||
+++ content/browser/renderer_host/render_widget_host_view_base.cc
|
||||
@@ -669,6 +669,14 @@ float RenderWidgetHostViewBase::GetScaleOverrideForCapture() const {
|
||||
@@ -674,6 +674,14 @@ float RenderWidgetHostViewBase::GetScaleOverrideForCapture() const {
|
||||
return scale_override_for_capture_;
|
||||
}
|
||||
|
||||
@ -80,18 +80,18 @@ index b1fd8fe22daa6..290912f76fb02 100644
|
||||
if (!GetMouseWheelPhaseHandler())
|
||||
return;
|
||||
diff --git content/browser/renderer_host/render_widget_host_view_base.h content/browser/renderer_host/render_widget_host_view_base.h
|
||||
index 307dd3befb375..bf6bdd7ed4cbe 100644
|
||||
index 36ed537b555aa..2cf5fe3b03f0d 100644
|
||||
--- content/browser/renderer_host/render_widget_host_view_base.h
|
||||
+++ content/browser/renderer_host/render_widget_host_view_base.h
|
||||
@@ -73,6 +73,7 @@ class DevicePosturePlatformProvider;
|
||||
@@ -72,6 +72,7 @@ class CursorManager;
|
||||
class DevicePosturePlatformProvider;
|
||||
class MouseWheelPhaseHandler;
|
||||
class RenderWidgetHostImpl;
|
||||
class RenderWidgetHostViewBaseObserver;
|
||||
+class RenderWidgetHostViewGuest;
|
||||
class RenderWidgetHostViewInputObserver;
|
||||
class ScopedViewTransitionResources;
|
||||
class TextInputManager;
|
||||
class TouchSelectionControllerClientManager;
|
||||
@@ -192,6 +193,9 @@ class CONTENT_EXPORT RenderWidgetHostViewBase
|
||||
@@ -194,6 +195,9 @@ class CONTENT_EXPORT RenderWidgetHostViewBase
|
||||
float GetDeviceScaleFactor() const final;
|
||||
bool IsPointerLocked() override;
|
||||
|
||||
@ -101,7 +101,7 @@ index 307dd3befb375..bf6bdd7ed4cbe 100644
|
||||
// Identical to `CopyFromSurface()`, except that this method issues the
|
||||
// `viz::CopyOutputRequest` against the exact `viz::Surface` currently
|
||||
// embedded by this View, while `CopyFromSurface()` may return a copy of any
|
||||
@@ -253,6 +257,10 @@ class CONTENT_EXPORT RenderWidgetHostViewBase
|
||||
@@ -255,6 +259,10 @@ class CONTENT_EXPORT RenderWidgetHostViewBase
|
||||
// Called when screen information or native widget bounds change.
|
||||
virtual void UpdateScreenInfo();
|
||||
|
||||
@ -112,7 +112,7 @@ index 307dd3befb375..bf6bdd7ed4cbe 100644
|
||||
// Called by the TextInputManager to notify the view about being removed from
|
||||
// the list of registered views, i.e., TextInputManager is no longer tracking
|
||||
// TextInputState from this view. The RWHV should reset |text_input_manager_|
|
||||
@@ -374,6 +382,12 @@ class CONTENT_EXPORT RenderWidgetHostViewBase
|
||||
@@ -383,6 +391,12 @@ class CONTENT_EXPORT RenderWidgetHostViewBase
|
||||
const gfx::Rect& bounds,
|
||||
const gfx::Rect& anchor_rect) = 0;
|
||||
|
||||
@ -125,7 +125,7 @@ index 307dd3befb375..bf6bdd7ed4cbe 100644
|
||||
// Indicates whether the page has finished loading.
|
||||
virtual void SetIsLoading(bool is_loading) = 0;
|
||||
|
||||
@@ -638,6 +652,10 @@ class CONTENT_EXPORT RenderWidgetHostViewBase
|
||||
@@ -645,6 +659,10 @@ class CONTENT_EXPORT RenderWidgetHostViewBase
|
||||
// to all displays.
|
||||
gfx::Size system_cursor_size_;
|
||||
|
||||
@ -136,7 +136,7 @@ index 307dd3befb375..bf6bdd7ed4cbe 100644
|
||||
private:
|
||||
FRIEND_TEST_ALL_PREFIXES(
|
||||
BrowserSideFlingBrowserTest,
|
||||
@@ -659,10 +677,6 @@ class CONTENT_EXPORT RenderWidgetHostViewBase
|
||||
@@ -666,10 +684,6 @@ class CONTENT_EXPORT RenderWidgetHostViewBase
|
||||
|
||||
void SynchronizeVisualProperties();
|
||||
|
||||
@ -148,7 +148,7 @@ index 307dd3befb375..bf6bdd7ed4cbe 100644
|
||||
// renderer process changes. This method is called before notifying
|
||||
// RenderWidgetHostImpl in order to allow the view to allocate a new
|
||||
diff --git content/browser/renderer_host/render_widget_host_view_event_handler.cc content/browser/renderer_host/render_widget_host_view_event_handler.cc
|
||||
index 82bf8b2dba80d..7ac79b46da2b4 100644
|
||||
index d1df19bfcb6c9..c55b89a119046 100644
|
||||
--- content/browser/renderer_host/render_widget_host_view_event_handler.cc
|
||||
+++ content/browser/renderer_host/render_widget_host_view_event_handler.cc
|
||||
@@ -52,6 +52,10 @@ namespace {
|
||||
@ -162,7 +162,7 @@ index 82bf8b2dba80d..7ac79b46da2b4 100644
|
||||
#if BUILDFLAG(IS_WIN)
|
||||
// A callback function for EnumThreadWindows to enumerate and dismiss
|
||||
// any owned popup windows.
|
||||
@@ -870,6 +874,14 @@ void RenderWidgetHostViewEventHandler::MoveCursorToCenter(
|
||||
@@ -821,6 +825,14 @@ void RenderWidgetHostViewEventHandler::MoveCursorToCenter(
|
||||
}
|
||||
return;
|
||||
}
|
||||
@ -177,7 +177,7 @@ index 82bf8b2dba80d..7ac79b46da2b4 100644
|
||||
#endif
|
||||
synthetic_move_position_ = center_in_screen;
|
||||
}
|
||||
@@ -899,6 +911,17 @@ bool RenderWidgetHostViewEventHandler::MatchesSynthesizedMovePosition(
|
||||
@@ -851,6 +863,17 @@ bool RenderWidgetHostViewEventHandler::MatchesSynthesizedMovePosition(
|
||||
}
|
||||
|
||||
void RenderWidgetHostViewEventHandler::SetKeyboardFocus() {
|
||||
@ -215,7 +215,7 @@ index b4ff7c11d8e3c..b21417f89e6e1 100644
|
||||
// Set the view's active state (i.e., tint state of controls).
|
||||
virtual void SetActive(bool active) = 0;
|
||||
diff --git ui/aura/native_window_occlusion_tracker_win.cc ui/aura/native_window_occlusion_tracker_win.cc
|
||||
index a4a87a8347680..71a1e0d76d35f 100644
|
||||
index 0893f87550cc9..2a52012e5059d 100644
|
||||
--- ui/aura/native_window_occlusion_tracker_win.cc
|
||||
+++ ui/aura/native_window_occlusion_tracker_win.cc
|
||||
@@ -101,6 +101,13 @@ void NativeWindowOcclusionTrackerWin::Enable(Window* window) {
|
||||
@ -245,7 +245,7 @@ index 1d79fc2dc34cc..ce5bf0ebf531f 100644
|
||||
case ui::SHOW_STATE_MAXIMIZED:
|
||||
return ui::mojom::WindowShowState::SHOW_STATE_MAXIMIZED;
|
||||
diff --git ui/base/ui_base_types.h ui/base/ui_base_types.h
|
||||
index 6076597470af9..871147e3e3a84 100644
|
||||
index 2cf9330a4e24b..4bf0890ae000b 100644
|
||||
--- ui/base/ui_base_types.h
|
||||
+++ ui/base/ui_base_types.h
|
||||
@@ -26,7 +26,8 @@ enum WindowShowState {
|
||||
@ -259,10 +259,10 @@ index 6076597470af9..871147e3e3a84 100644
|
||||
|
||||
// Specifies which edges of the window are tiled.
|
||||
diff --git ui/ozone/platform/x11/x11_window.cc ui/ozone/platform/x11/x11_window.cc
|
||||
index 55c1e9f0ccc1b..8b5fbb29fcd68 100644
|
||||
index f1c5f06fb2966..649a206664a00 100644
|
||||
--- ui/ozone/platform/x11/x11_window.cc
|
||||
+++ ui/ozone/platform/x11/x11_window.cc
|
||||
@@ -1864,7 +1864,8 @@ void X11Window::CreateXWindow(const PlatformWindowInitProperties& properties) {
|
||||
@@ -1862,7 +1862,8 @@ void X11Window::CreateXWindow(const PlatformWindowInitProperties& properties) {
|
||||
req.border_pixel = 0;
|
||||
|
||||
bounds_in_pixels_ = SanitizeBounds(bounds);
|
||||
@ -286,10 +286,10 @@ index e31c5b4cb6726..1b724948c2868 100644
|
||||
return host ? host->GetAcceleratedWidget() : nullptr;
|
||||
}
|
||||
diff --git ui/views/widget/desktop_aura/desktop_window_tree_host_linux.cc ui/views/widget/desktop_aura/desktop_window_tree_host_linux.cc
|
||||
index 946fce84291d4..558867c71737e 100644
|
||||
index 87179d2dfc301..92d31c96bb0b1 100644
|
||||
--- ui/views/widget/desktop_aura/desktop_window_tree_host_linux.cc
|
||||
+++ ui/views/widget/desktop_aura/desktop_window_tree_host_linux.cc
|
||||
@@ -175,6 +175,18 @@ Widget::MoveLoopResult DesktopWindowTreeHostLinux::RunMoveLoop(
|
||||
@@ -194,6 +194,18 @@ Widget::MoveLoopResult DesktopWindowTreeHostLinux::RunMoveLoop(
|
||||
return result;
|
||||
}
|
||||
|
||||
@ -308,7 +308,7 @@ index 946fce84291d4..558867c71737e 100644
|
||||
void DesktopWindowTreeHostLinux::DispatchEvent(ui::Event* event) {
|
||||
// In Windows, the native events sent to chrome are separated into client
|
||||
// and non-client versions of events, which we record on our LocatedEvent
|
||||
@@ -298,6 +310,8 @@ void DesktopWindowTreeHostLinux::AddAdditionalInitProperties(
|
||||
@@ -329,6 +341,8 @@ void DesktopWindowTreeHostLinux::AddAdditionalInitProperties(
|
||||
|
||||
properties->wayland_app_id = params.wayland_app_id;
|
||||
|
||||
@ -318,19 +318,19 @@ index 946fce84291d4..558867c71737e 100644
|
||||
properties->x11_extension_delegate = this;
|
||||
}
|
||||
diff --git ui/views/widget/desktop_aura/desktop_window_tree_host_linux.h ui/views/widget/desktop_aura/desktop_window_tree_host_linux.h
|
||||
index 3151a2c872f4e..e14caeb1e6645 100644
|
||||
index e698f71577c51..8a6e28128564d 100644
|
||||
--- ui/views/widget/desktop_aura/desktop_window_tree_host_linux.h
|
||||
+++ ui/views/widget/desktop_aura/desktop_window_tree_host_linux.h
|
||||
@@ -58,6 +58,8 @@ class VIEWS_EXPORT DesktopWindowTreeHostLinux
|
||||
// Disables event listening to make |dialog| modal.
|
||||
base::OnceClosure DisableEventListening();
|
||||
@@ -62,6 +62,8 @@ class VIEWS_EXPORT DesktopWindowTreeHostLinux
|
||||
// client-drawn shadow.
|
||||
virtual void UpdateFrameHints();
|
||||
|
||||
+ void set_screen_bounds(const gfx::Rect& bounds) { screen_bounds_ = bounds; }
|
||||
+
|
||||
protected:
|
||||
// Overridden from DesktopWindowTreeHost:
|
||||
void Init(const Widget::InitParams& params) override;
|
||||
@@ -67,6 +69,8 @@ class VIEWS_EXPORT DesktopWindowTreeHostLinux
|
||||
@@ -71,6 +73,8 @@ class VIEWS_EXPORT DesktopWindowTreeHostLinux
|
||||
const gfx::Vector2d& drag_offset,
|
||||
Widget::MoveLoopSource source,
|
||||
Widget::MoveLoopEscapeBehavior escape_behavior) override;
|
||||
@ -339,7 +339,7 @@ index 3151a2c872f4e..e14caeb1e6645 100644
|
||||
|
||||
// PlatformWindowDelegate:
|
||||
void DispatchEvent(ui::Event* event) override;
|
||||
@@ -115,6 +119,9 @@ class VIEWS_EXPORT DesktopWindowTreeHostLinux
|
||||
@@ -120,6 +124,9 @@ class VIEWS_EXPORT DesktopWindowTreeHostLinux
|
||||
|
||||
uint32_t modal_dialog_counter_ = 0;
|
||||
|
||||
@ -350,10 +350,10 @@ index 3151a2c872f4e..e14caeb1e6645 100644
|
||||
base::WeakPtrFactory<DesktopWindowTreeHostLinux> weak_factory_{this};
|
||||
};
|
||||
diff --git ui/views/widget/desktop_aura/desktop_window_tree_host_platform.cc ui/views/widget/desktop_aura/desktop_window_tree_host_platform.cc
|
||||
index b305f5c2238c2..e2bd0c430cea0 100644
|
||||
index 389e7186c3429..38f7c34326ef9 100644
|
||||
--- ui/views/widget/desktop_aura/desktop_window_tree_host_platform.cc
|
||||
+++ ui/views/widget/desktop_aura/desktop_window_tree_host_platform.cc
|
||||
@@ -285,8 +285,8 @@ void DesktopWindowTreeHostPlatform::Init(const Widget::InitParams& params) {
|
||||
@@ -281,8 +281,8 @@ void DesktopWindowTreeHostPlatform::Init(const Widget::InitParams& params) {
|
||||
if (properties.parent_widget) {
|
||||
window_parent_ = DesktopWindowTreeHostPlatform::GetHostForWidget(
|
||||
properties.parent_widget);
|
||||
@ -365,7 +365,7 @@ index b305f5c2238c2..e2bd0c430cea0 100644
|
||||
|
||||
// Calculate initial bounds.
|
||||
diff --git ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc
|
||||
index 99e20655e847e..6c3b3028e67fd 100644
|
||||
index 288a76d86ed87..1fd024d1645c3 100644
|
||||
--- ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc
|
||||
+++ ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc
|
||||
@@ -20,6 +20,7 @@
|
||||
@ -423,7 +423,7 @@ index 99e20655e847e..6c3b3028e67fd 100644
|
||||
// Stack immediately above its parent so that it does not cover other
|
||||
// root-level windows, with the exception of menus, to allow them to be
|
||||
// displayed on top of other windows.
|
||||
@@ -1020,10 +1041,23 @@ void DesktopWindowTreeHostWin::HandleWindowMinimizedOrRestored(bool restored) {
|
||||
@@ -1025,10 +1046,23 @@ void DesktopWindowTreeHostWin::HandleWindowMinimizedOrRestored(bool restored) {
|
||||
if (!native_widget_delegate_->IsNativeWidgetInitialized())
|
||||
return;
|
||||
|
||||
@ -449,7 +449,7 @@ index 99e20655e847e..6c3b3028e67fd 100644
|
||||
}
|
||||
|
||||
void DesktopWindowTreeHostWin::HandleClientSizeChanged(
|
||||
@@ -1040,11 +1074,15 @@ void DesktopWindowTreeHostWin::HandleFrameChanged() {
|
||||
@@ -1045,11 +1079,15 @@ void DesktopWindowTreeHostWin::HandleFrameChanged() {
|
||||
}
|
||||
|
||||
void DesktopWindowTreeHostWin::HandleNativeFocus(HWND last_focused_window) {
|
||||
@ -467,7 +467,7 @@ index 99e20655e847e..6c3b3028e67fd 100644
|
||||
}
|
||||
|
||||
bool DesktopWindowTreeHostWin::HandleMouseEvent(ui::MouseEvent* event) {
|
||||
@@ -1052,6 +1090,12 @@ bool DesktopWindowTreeHostWin::HandleMouseEvent(ui::MouseEvent* event) {
|
||||
@@ -1057,6 +1095,12 @@ bool DesktopWindowTreeHostWin::HandleMouseEvent(ui::MouseEvent* event) {
|
||||
if (ui::PlatformEventSource::ShouldIgnoreNativePlatformEvents())
|
||||
return true;
|
||||
|
||||
@ -480,7 +480,7 @@ index 99e20655e847e..6c3b3028e67fd 100644
|
||||
SendEventToSink(event);
|
||||
return event->handled();
|
||||
}
|
||||
@@ -1230,8 +1274,16 @@ void DesktopWindowTreeHostWin::SetBoundsInDIP(const gfx::Rect& bounds) {
|
||||
@@ -1235,8 +1279,16 @@ void DesktopWindowTreeHostWin::SetBoundsInDIP(const gfx::Rect& bounds) {
|
||||
// positions in variable-DPI situations. See https://crbug.com/1224715 for
|
||||
// details.
|
||||
aura::Window* root = nullptr;
|
||||
@ -530,10 +530,10 @@ index 6383110804d44..e5bc85f63fab9 100644
|
||||
break;
|
||||
case ui::SHOW_STATE_END:
|
||||
diff --git ui/views/widget/widget.cc ui/views/widget/widget.cc
|
||||
index d958581dc14d0..c06a5b18b4835 100644
|
||||
index f2f1f54c474cf..2feb6a47c04e1 100644
|
||||
--- ui/views/widget/widget.cc
|
||||
+++ ui/views/widget/widget.cc
|
||||
@@ -405,7 +405,8 @@ void Widget::Init(InitParams params) {
|
||||
@@ -409,7 +409,8 @@ void Widget::Init(InitParams params) {
|
||||
}
|
||||
|
||||
params.child |= (params.type == InitParams::TYPE_CONTROL);
|
||||
@ -543,7 +543,7 @@ index d958581dc14d0..c06a5b18b4835 100644
|
||||
is_headless_ = params.ShouldInitAsHeadless();
|
||||
is_autosized_ = params.autosize;
|
||||
|
||||
@@ -497,9 +498,14 @@ void Widget::Init(InitParams params) {
|
||||
@@ -501,9 +502,14 @@ void Widget::Init(InitParams params) {
|
||||
|
||||
if (show_state == ui::SHOW_STATE_MAXIMIZED) {
|
||||
Maximize();
|
||||
@ -558,7 +558,7 @@ index d958581dc14d0..c06a5b18b4835 100644
|
||||
}
|
||||
|
||||
#if BUILDFLAG(IS_CHROMEOS_ASH)
|
||||
@@ -513,7 +519,12 @@ void Widget::Init(InitParams params) {
|
||||
@@ -517,7 +523,12 @@ void Widget::Init(InitParams params) {
|
||||
} else if (delegate) {
|
||||
SetContentsView(delegate->TransferOwnershipOfContentsView());
|
||||
if (should_set_initial_bounds) {
|
||||
@ -572,7 +572,7 @@ index d958581dc14d0..c06a5b18b4835 100644
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1692,10 +1703,16 @@ void Widget::OnNativeWidgetParentChanged(gfx::NativeView parent) {
|
||||
@@ -1696,10 +1707,16 @@ void Widget::OnNativeWidgetParentChanged(gfx::NativeView parent) {
|
||||
}
|
||||
|
||||
gfx::Size Widget::GetMinimumSize() const {
|
||||
@ -589,7 +589,7 @@ index d958581dc14d0..c06a5b18b4835 100644
|
||||
return non_client_view_ ? non_client_view_->GetMaximumSize() : gfx::Size();
|
||||
}
|
||||
|
||||
@@ -1946,7 +1963,8 @@ bool Widget::SetInitialFocus(ui::WindowShowState show_state) {
|
||||
@@ -1950,7 +1967,8 @@ bool Widget::SetInitialFocus(ui::WindowShowState show_state) {
|
||||
return false;
|
||||
View* v = widget_delegate_->GetInitiallyFocusedView();
|
||||
if (!focus_on_creation_ || show_state == ui::SHOW_STATE_INACTIVE ||
|
||||
@ -600,7 +600,7 @@ index d958581dc14d0..c06a5b18b4835 100644
|
||||
// focus when the window is restored.
|
||||
if (v)
|
||||
diff --git ui/views/widget/widget.h ui/views/widget/widget.h
|
||||
index 0d373af86c18a..33bdd6caa9f35 100644
|
||||
index 68c2ac9da74ac..94f75266c6917 100644
|
||||
--- ui/views/widget/widget.h
|
||||
+++ ui/views/widget/widget.h
|
||||
@@ -358,6 +358,8 @@ class VIEWS_EXPORT Widget : public internal::NativeWidgetDelegate,
|
||||
@ -622,10 +622,10 @@ index 0d373af86c18a..33bdd6caa9f35 100644
|
||||
// Deactivates the widget, making the next window in the Z order the active
|
||||
// window.
|
||||
diff --git ui/views/widget/widget_delegate.h ui/views/widget/widget_delegate.h
|
||||
index 6a8bb8ad5969a..32b7e90152be6 100644
|
||||
index d1f6be37fcf45..ca2fd8ce00561 100644
|
||||
--- ui/views/widget/widget_delegate.h
|
||||
+++ ui/views/widget/widget_delegate.h
|
||||
@@ -380,6 +380,10 @@ class VIEWS_EXPORT WidgetDelegate
|
||||
@@ -402,6 +402,10 @@ class VIEWS_EXPORT WidgetDelegate
|
||||
// Returns true if the title text should be centered.
|
||||
bool ShouldCenterWindowTitleText() const;
|
||||
|
||||
@ -651,7 +651,7 @@ index 3b9b00b7d79ae..e759e3c1a9f34 100644
|
||||
if (native_widget_delegate->IsDialogBox()) {
|
||||
*style |= DS_MODALFRAME;
|
||||
diff --git ui/views/win/hwnd_message_handler.cc ui/views/win/hwnd_message_handler.cc
|
||||
index 6d4dd467fa533..fdb970e627d81 100644
|
||||
index 3bfc5b2257908..0d4437e091daa 100644
|
||||
--- ui/views/win/hwnd_message_handler.cc
|
||||
+++ ui/views/win/hwnd_message_handler.cc
|
||||
@@ -772,7 +772,11 @@ bool HWNDMessageHandler::IsVisible() const {
|
||||
@ -667,7 +667,7 @@ index 6d4dd467fa533..fdb970e627d81 100644
|
||||
}
|
||||
|
||||
bool HWNDMessageHandler::IsMinimized() const {
|
||||
@@ -3215,10 +3219,13 @@ LRESULT HWNDMessageHandler::HandleMouseEventInternal(UINT message,
|
||||
@@ -3225,10 +3229,13 @@ LRESULT HWNDMessageHandler::HandleMouseEventInternal(UINT message,
|
||||
} else if (event.type() == ui::ET_MOUSEWHEEL) {
|
||||
ui::MouseWheelEvent mouse_wheel_event(msg);
|
||||
// Reroute the mouse wheel to the window under the pointer if applicable.
|
||||
|
Reference in New Issue
Block a user