Rename native_widget_types.h -> native_ui_types.h
Minor
Commit Hash:
956ccf28f3417a05ed2abc81f600cd055bd2325e
Commit Time: 2025-09-09 22:47:02+00:00
Impact Level: Minor
Generated By: webview2-upstream-sentry
Upstream Review:
View Upstream Review ๐
๐ Summary
This submission primarily renames the header file "ui/gfx/native_widget_types.h" to "ui/gfx/native_ui_types.h", and updates the corresponding #include references in 54 files. This is a purely header file renaming operation with no logical changes. The new "native_ui_types.h" file is currently a transitional placeholder that simply includes the old "native_widget_types.h" file. The changes involve multiple files under the content module, including the render_widget_host_view_cocoa.mm file related to remote_cocoa.
๐ฏ Impact Analysis
This change has no functional impact on WebView2Mac. As this is purely a header file renaming operation, and the new "native_ui_types.h" file maintains full backward compatibility through #include "ui/gfx/native_widget_types.h", all original type definitions (such as NativeView, NativeWindow, NativeViewId, etc.) remain unchanged. Although the render_widget_host_view_cocoa.mm file in the remote_cocoa component, which WebView2Mac depends on, is affected, the change is limited to the header file reference path, and actual functionality remains completely consistent. The inheritance relationships, Mojo interfaces, utility class usage, and other core dependencies of WebView2Mac are not affected.
Impacted Classes:
render_widget_host_view_cocoa.mm (ไป
ๅคดๆไปถๅผ็จๅๆด)