mirror of
				https://bitbucket.org/chromiumembedded/cef
				synced 2025-06-05 21:39:12 +02:00 
			
		
		
		
	Update to Chromium version 78.0.3904.63
This commit is contained in:
		@@ -7,5 +7,5 @@
 | 
			
		||||
# https://bitbucket.org/chromiumembedded/cef/wiki/BranchesAndBuilding
 | 
			
		||||
 | 
			
		||||
{
 | 
			
		||||
  'chromium_checkout': 'refs/tags/78.0.3904.34'
 | 
			
		||||
  'chromium_checkout': 'refs/tags/78.0.3904.63'
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -79,10 +79,10 @@ index bfb918a2cba3..a193b5a0fed8 100644
 | 
			
		||||
   // Creates a new View that holds a non-top-level widget and receives messages
 | 
			
		||||
   // for it.
 | 
			
		||||
diff --git content/browser/web_contents/web_contents_view_aura.cc content/browser/web_contents/web_contents_view_aura.cc
 | 
			
		||||
index dda92e4006db..23f86f9f1564 100644
 | 
			
		||||
index 15e5f49d6f48..5a33c34fb3c3 100644
 | 
			
		||||
--- content/browser/web_contents/web_contents_view_aura.cc
 | 
			
		||||
+++ content/browser/web_contents/web_contents_view_aura.cc
 | 
			
		||||
@@ -948,7 +948,8 @@ void WebContentsViewAura::CreateView(const gfx::Size& initial_size,
 | 
			
		||||
@@ -952,7 +952,8 @@ void WebContentsViewAura::CreateView(const gfx::Size& initial_size,
 | 
			
		||||
 }
 | 
			
		||||
 
 | 
			
		||||
 RenderWidgetHostViewBase* WebContentsViewAura::CreateViewForWidget(
 | 
			
		||||
@@ -92,7 +92,7 @@ index dda92e4006db..23f86f9f1564 100644
 | 
			
		||||
   if (render_widget_host->GetView()) {
 | 
			
		||||
     // During testing, the view will already be set up in most cases to the
 | 
			
		||||
     // test view, so we don't want to clobber it with a real one. To verify that
 | 
			
		||||
@@ -960,6 +961,7 @@ RenderWidgetHostViewBase* WebContentsViewAura::CreateViewForWidget(
 | 
			
		||||
@@ -964,6 +965,7 @@ RenderWidgetHostViewBase* WebContentsViewAura::CreateViewForWidget(
 | 
			
		||||
         render_widget_host->GetView());
 | 
			
		||||
   }
 | 
			
		||||
 
 | 
			
		||||
@@ -101,10 +101,10 @@ index dda92e4006db..23f86f9f1564 100644
 | 
			
		||||
       g_create_render_widget_host_view
 | 
			
		||||
           ? g_create_render_widget_host_view(render_widget_host,
 | 
			
		||||
diff --git content/browser/web_contents/web_contents_view_aura.h content/browser/web_contents/web_contents_view_aura.h
 | 
			
		||||
index ed3c8d86cacc..70f869da762f 100644
 | 
			
		||||
index 428c5afe4cd9..46e4a2b43d81 100644
 | 
			
		||||
--- content/browser/web_contents/web_contents_view_aura.h
 | 
			
		||||
+++ content/browser/web_contents/web_contents_view_aura.h
 | 
			
		||||
@@ -122,7 +122,7 @@ class CONTENT_EXPORT WebContentsViewAura
 | 
			
		||||
@@ -123,7 +123,7 @@ class CONTENT_EXPORT WebContentsViewAura
 | 
			
		||||
                   gfx::NativeView context) override;
 | 
			
		||||
   RenderWidgetHostViewBase* CreateViewForWidget(
 | 
			
		||||
       RenderWidgetHost* render_widget_host,
 | 
			
		||||
 
 | 
			
		||||
@@ -1,5 +1,5 @@
 | 
			
		||||
diff --git chrome/browser/BUILD.gn chrome/browser/BUILD.gn
 | 
			
		||||
index 38c89002e6bb..4666d214063f 100644
 | 
			
		||||
index d730660c086f..2cdc16923c2d 100644
 | 
			
		||||
--- chrome/browser/BUILD.gn
 | 
			
		||||
+++ chrome/browser/BUILD.gn
 | 
			
		||||
@@ -10,6 +10,7 @@ import("//build/config/jumbo.gni")
 | 
			
		||||
 
 | 
			
		||||
@@ -197,10 +197,10 @@ index 3ce38cb1ee3a..44e93a0b5035 100644
 | 
			
		||||
   GURL webstore_url(extension_urls::GetWebstoreLaunchURL());
 | 
			
		||||
   if (response_url.SchemeIsHTTPOrHTTPS() &&
 | 
			
		||||
diff --git chrome/renderer/chrome_content_renderer_client.cc chrome/renderer/chrome_content_renderer_client.cc
 | 
			
		||||
index 03781c0b08e0..37dc3e93c7d9 100644
 | 
			
		||||
index 6ad2480f3e26..eff7211f63e4 100644
 | 
			
		||||
--- chrome/renderer/chrome_content_renderer_client.cc
 | 
			
		||||
+++ chrome/renderer/chrome_content_renderer_client.cc
 | 
			
		||||
@@ -794,6 +794,7 @@ WebPlugin* ChromeContentRendererClient::CreatePlugin(
 | 
			
		||||
@@ -796,6 +796,7 @@ WebPlugin* ChromeContentRendererClient::CreatePlugin(
 | 
			
		||||
 
 | 
			
		||||
     if ((status == chrome::mojom::PluginStatus::kUnauthorized ||
 | 
			
		||||
          status == chrome::mojom::PluginStatus::kBlocked) &&
 | 
			
		||||
@@ -208,7 +208,7 @@ index 03781c0b08e0..37dc3e93c7d9 100644
 | 
			
		||||
         observer->IsPluginTemporarilyAllowed(identifier)) {
 | 
			
		||||
       status = chrome::mojom::PluginStatus::kAllowed;
 | 
			
		||||
     }
 | 
			
		||||
@@ -994,7 +995,8 @@ WebPlugin* ChromeContentRendererClient::CreatePlugin(
 | 
			
		||||
@@ -996,7 +997,8 @@ WebPlugin* ChromeContentRendererClient::CreatePlugin(
 | 
			
		||||
         render_frame->GetRemoteAssociatedInterfaces()->GetInterface(
 | 
			
		||||
             &plugin_auth_host);
 | 
			
		||||
         plugin_auth_host->BlockedUnauthorizedPlugin(group_name, identifier);
 | 
			
		||||
@@ -218,7 +218,7 @@ index 03781c0b08e0..37dc3e93c7d9 100644
 | 
			
		||||
         break;
 | 
			
		||||
       }
 | 
			
		||||
       case chrome::mojom::PluginStatus::kBlocked: {
 | 
			
		||||
@@ -1003,7 +1005,8 @@ WebPlugin* ChromeContentRendererClient::CreatePlugin(
 | 
			
		||||
@@ -1005,7 +1007,8 @@ WebPlugin* ChromeContentRendererClient::CreatePlugin(
 | 
			
		||||
             l10n_util::GetStringFUTF16(IDS_PLUGIN_BLOCKED, group_name));
 | 
			
		||||
         placeholder->AllowLoading();
 | 
			
		||||
         RenderThread::Get()->RecordAction(UserMetricsAction("Plugin_Blocked"));
 | 
			
		||||
@@ -228,7 +228,7 @@ index 03781c0b08e0..37dc3e93c7d9 100644
 | 
			
		||||
         break;
 | 
			
		||||
       }
 | 
			
		||||
       case chrome::mojom::PluginStatus::kBlockedByPolicy: {
 | 
			
		||||
@@ -1013,7 +1016,8 @@ WebPlugin* ChromeContentRendererClient::CreatePlugin(
 | 
			
		||||
@@ -1015,7 +1018,8 @@ WebPlugin* ChromeContentRendererClient::CreatePlugin(
 | 
			
		||||
                                        group_name));
 | 
			
		||||
         RenderThread::Get()->RecordAction(
 | 
			
		||||
             UserMetricsAction("Plugin_BlockedByPolicy"));
 | 
			
		||||
@@ -238,7 +238,7 @@ index 03781c0b08e0..37dc3e93c7d9 100644
 | 
			
		||||
         break;
 | 
			
		||||
       }
 | 
			
		||||
       case chrome::mojom::PluginStatus::kBlockedNoLoading: {
 | 
			
		||||
@@ -1021,7 +1025,8 @@ WebPlugin* ChromeContentRendererClient::CreatePlugin(
 | 
			
		||||
@@ -1023,7 +1027,8 @@ WebPlugin* ChromeContentRendererClient::CreatePlugin(
 | 
			
		||||
             IDR_BLOCKED_PLUGIN_HTML,
 | 
			
		||||
             l10n_util::GetStringFUTF16(IDS_PLUGIN_BLOCKED_NO_LOADING,
 | 
			
		||||
                                        group_name));
 | 
			
		||||
 
 | 
			
		||||
@@ -39,10 +39,10 @@ index 07f06ac694f5..831fd9f82dbe 100644
 | 
			
		||||
 
 | 
			
		||||
 void ChromeBrowserMainExtraPartsViewsLinux::ToolkitInitialized() {
 | 
			
		||||
diff --git chrome/test/BUILD.gn chrome/test/BUILD.gn
 | 
			
		||||
index a08aa22bb990..34839174b64d 100644
 | 
			
		||||
index 86ad48852953..7d4cfab7d71f 100644
 | 
			
		||||
--- chrome/test/BUILD.gn
 | 
			
		||||
+++ chrome/test/BUILD.gn
 | 
			
		||||
@@ -4549,7 +4549,7 @@ test("unit_tests") {
 | 
			
		||||
@@ -4550,7 +4550,7 @@ test("unit_tests") {
 | 
			
		||||
   if (use_gio) {
 | 
			
		||||
     configs += [ "//build/linux:gio_config" ]
 | 
			
		||||
   }
 | 
			
		||||
@@ -51,7 +51,7 @@ index a08aa22bb990..34839174b64d 100644
 | 
			
		||||
     deps += [ "//chrome/browser/ui/libgtkui" ]
 | 
			
		||||
   }
 | 
			
		||||
 
 | 
			
		||||
@@ -5603,7 +5603,7 @@ if (!is_android) {
 | 
			
		||||
@@ -5604,7 +5604,7 @@ if (!is_android) {
 | 
			
		||||
           # suites, it seems like one or another starts timing out too.
 | 
			
		||||
           "../browser/ui/views/keyboard_access_browsertest.cc",
 | 
			
		||||
         ]
 | 
			
		||||
 
 | 
			
		||||
@@ -35,7 +35,7 @@ index 7079cc86dca6..6176e50261ea 100644
 | 
			
		||||
   bool record_whole_document;
 | 
			
		||||
 
 | 
			
		||||
diff --git content/renderer/render_view_impl.cc content/renderer/render_view_impl.cc
 | 
			
		||||
index 23d8e4994252..b1a7ecf56e19 100644
 | 
			
		||||
index 64aaf7e69499..a6b713122adf 100644
 | 
			
		||||
--- content/renderer/render_view_impl.cc
 | 
			
		||||
+++ content/renderer/render_view_impl.cc
 | 
			
		||||
@@ -1000,6 +1000,8 @@ void RenderView::ApplyWebPreferences(const WebPreferences& prefs,
 | 
			
		||||
 
 | 
			
		||||
@@ -1,8 +1,8 @@
 | 
			
		||||
diff --git content/browser/renderer_host/render_widget_host_view_aura.cc content/browser/renderer_host/render_widget_host_view_aura.cc
 | 
			
		||||
index 09e58950d351..54bbb72e2a38 100644
 | 
			
		||||
index 5ce941c77bc6..67e5d8b9428b 100644
 | 
			
		||||
--- content/browser/renderer_host/render_widget_host_view_aura.cc
 | 
			
		||||
+++ content/browser/renderer_host/render_widget_host_view_aura.cc
 | 
			
		||||
@@ -711,10 +711,12 @@ gfx::Rect RenderWidgetHostViewAura::GetViewBounds() {
 | 
			
		||||
@@ -713,10 +713,12 @@ gfx::Rect RenderWidgetHostViewAura::GetViewBounds() {
 | 
			
		||||
 void RenderWidgetHostViewAura::UpdateBackgroundColor() {
 | 
			
		||||
   DCHECK(GetBackgroundColor());
 | 
			
		||||
 
 | 
			
		||||
@@ -19,7 +19,7 @@ index 09e58950d351..54bbb72e2a38 100644
 | 
			
		||||
 }
 | 
			
		||||
 
 | 
			
		||||
 void RenderWidgetHostViewAura::WindowTitleChanged() {
 | 
			
		||||
@@ -2037,6 +2039,15 @@ void RenderWidgetHostViewAura::CreateAuraWindow(aura::client::WindowType type) {
 | 
			
		||||
@@ -2040,6 +2042,15 @@ void RenderWidgetHostViewAura::CreateAuraWindow(aura::client::WindowType type) {
 | 
			
		||||
   // Init(), because it needs to have the layer.
 | 
			
		||||
   if (frame_sink_id_.is_valid())
 | 
			
		||||
     window_->SetEmbedFrameSinkId(frame_sink_id_);
 | 
			
		||||
 
 | 
			
		||||
@@ -139,7 +139,7 @@ index c0f105aec142..6afd5f9e25fc 100644
 | 
			
		||||
 
 | 
			
		||||
 void CookieManager::SetForceKeepSessionState() {
 | 
			
		||||
diff --git services/network/network_context.cc services/network/network_context.cc
 | 
			
		||||
index 74cb411eb848..0a5b4ed5e91c 100644
 | 
			
		||||
index 42805ff8756d..6fcd5dae2948 100644
 | 
			
		||||
--- services/network/network_context.cc
 | 
			
		||||
+++ services/network/network_context.cc
 | 
			
		||||
@@ -1765,6 +1765,7 @@ URLRequestContextOwner NetworkContext::MakeURLRequestContext() {
 | 
			
		||||
@@ -182,10 +182,10 @@ index 74cb411eb848..0a5b4ed5e91c 100644
 | 
			
		||||
       std::make_unique<net::StaticHttpUserAgentSettings>(
 | 
			
		||||
           params_->accept_language, params_->user_agent);
 | 
			
		||||
diff --git services/network/public/mojom/network_context.mojom services/network/public/mojom/network_context.mojom
 | 
			
		||||
index 05418052345a..39877a966de9 100644
 | 
			
		||||
index 603173892e23..fcc814f8cdbc 100644
 | 
			
		||||
--- services/network/public/mojom/network_context.mojom
 | 
			
		||||
+++ services/network/public/mojom/network_context.mojom
 | 
			
		||||
@@ -210,6 +210,9 @@ struct NetworkContextParams {
 | 
			
		||||
@@ -219,6 +219,9 @@ struct NetworkContextParams {
 | 
			
		||||
   // cookies. Otherwise it should be false.
 | 
			
		||||
   bool persist_session_cookies = false;
 | 
			
		||||
 
 | 
			
		||||
 
 | 
			
		||||
@@ -73,10 +73,10 @@ index 2bd5d56bc37d..c14d9a858796 100644
 | 
			
		||||
   FRIEND_TEST_ALL_PREFIXES(
 | 
			
		||||
       BrowserSideFlingBrowserTest,
 | 
			
		||||
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 caaec4aabb93..42067642c699 100644
 | 
			
		||||
index 7f5763a4022b..f86a084e6ef3 100644
 | 
			
		||||
--- content/browser/renderer_host/render_widget_host_view_event_handler.cc
 | 
			
		||||
+++ content/browser/renderer_host/render_widget_host_view_event_handler.cc
 | 
			
		||||
@@ -32,6 +32,10 @@
 | 
			
		||||
@@ -33,6 +33,10 @@
 | 
			
		||||
 #include "ui/events/keycodes/dom/dom_code.h"
 | 
			
		||||
 #include "ui/touch_selection/touch_selection_controller.h"
 | 
			
		||||
 
 | 
			
		||||
@@ -87,7 +87,7 @@ index caaec4aabb93..42067642c699 100644
 | 
			
		||||
 #if defined(OS_WIN)
 | 
			
		||||
 #include "content/browser/frame_host/render_frame_host_impl.h"
 | 
			
		||||
 #include "content/public/common/context_menu_params.h"
 | 
			
		||||
@@ -903,6 +907,14 @@ void RenderWidgetHostViewEventHandler::SetKeyboardFocus() {
 | 
			
		||||
@@ -910,6 +914,14 @@ void RenderWidgetHostViewEventHandler::SetKeyboardFocus() {
 | 
			
		||||
         ::SetFocus(hwnd);
 | 
			
		||||
     }
 | 
			
		||||
   }
 | 
			
		||||
@@ -122,10 +122,10 @@ index 78e055820447..9f8a6fd1cd65 100644
 | 
			
		||||
   // Set the view's active state (i.e., tint state of controls).
 | 
			
		||||
   virtual void SetActive(bool active) = 0;
 | 
			
		||||
diff --git ui/base/x/x11_window.cc ui/base/x/x11_window.cc
 | 
			
		||||
index 1bb97da34481..f56a74312d67 100644
 | 
			
		||||
index a328e8ab96f2..cd8a3eac31a0 100644
 | 
			
		||||
--- ui/base/x/x11_window.cc
 | 
			
		||||
+++ ui/base/x/x11_window.cc
 | 
			
		||||
@@ -205,8 +205,12 @@ void XWindow::Init(const Configuration& config) {
 | 
			
		||||
@@ -206,8 +206,12 @@ void XWindow::Init(const Configuration& config) {
 | 
			
		||||
   attribute_mask |= CWBorderPixel;
 | 
			
		||||
   swa.border_pixel = 0;
 | 
			
		||||
 
 | 
			
		||||
@@ -140,7 +140,7 @@ index 1bb97da34481..f56a74312d67 100644
 | 
			
		||||
                            bounds_in_pixels_.height(),
 | 
			
		||||
                            0,  // border width
 | 
			
		||||
diff --git ui/base/x/x11_window.h ui/base/x/x11_window.h
 | 
			
		||||
index 9db97d2f5214..4eb41eaf12aa 100644
 | 
			
		||||
index 1bb7a56d11af..4a5f6e0f6004 100644
 | 
			
		||||
--- ui/base/x/x11_window.h
 | 
			
		||||
+++ ui/base/x/x11_window.h
 | 
			
		||||
@@ -20,6 +20,7 @@
 | 
			
		||||
@@ -156,11 +156,11 @@ index 9db97d2f5214..4eb41eaf12aa 100644
 | 
			
		||||
     std::string wm_class_class;
 | 
			
		||||
     std::string wm_role_name;
 | 
			
		||||
+    gfx::AcceleratedWidget parent_widget = gfx::kNullAcceleratedWidget;
 | 
			
		||||
     base::Optional<int> visual_id;
 | 
			
		||||
   };
 | 
			
		||||
 
 | 
			
		||||
   XWindow();
 | 
			
		||||
diff --git ui/platform_window/x11/x11_window.cc ui/platform_window/x11/x11_window.cc
 | 
			
		||||
index c181b69f49ac..9bb225975488 100644
 | 
			
		||||
index 7a3a6eb2d0bc..54adb7bf20a0 100644
 | 
			
		||||
--- ui/platform_window/x11/x11_window.cc
 | 
			
		||||
+++ ui/platform_window/x11/x11_window.cc
 | 
			
		||||
@@ -66,6 +66,7 @@ ui::XWindow::Configuration ConvertInitPropertiesToXWindowConfig(
 | 
			
		||||
@@ -168,9 +168,9 @@ index c181b69f49ac..9bb225975488 100644
 | 
			
		||||
   config.wm_role_name = properties.wm_role_name;
 | 
			
		||||
   config.activatable = properties.activatable;
 | 
			
		||||
+  config.parent_widget = properties.parent_widget;
 | 
			
		||||
   config.visual_id = properties.x_visual_id;
 | 
			
		||||
   return config;
 | 
			
		||||
 }
 | 
			
		||||
 
 | 
			
		||||
diff --git ui/views/widget/desktop_aura/desktop_screen_win.cc ui/views/widget/desktop_aura/desktop_screen_win.cc
 | 
			
		||||
index 70553b153c44..ecd99bc78373 100644
 | 
			
		||||
--- ui/views/widget/desktop_aura/desktop_screen_win.cc
 | 
			
		||||
@@ -185,22 +185,22 @@ index 70553b153c44..ecd99bc78373 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 da401532ffbe..e878204e71db 100644
 | 
			
		||||
index d81bd10c8dd8..122ab15723e0 100644
 | 
			
		||||
--- ui/views/widget/desktop_aura/desktop_window_tree_host_linux.cc
 | 
			
		||||
+++ ui/views/widget/desktop_aura/desktop_window_tree_host_linux.cc
 | 
			
		||||
@@ -78,6 +78,7 @@ void DesktopWindowTreeHostLinux::AddAdditionalInitProperties(
 | 
			
		||||
@@ -82,6 +82,7 @@ void DesktopWindowTreeHostLinux::AddAdditionalInitProperties(
 | 
			
		||||
   properties->wm_class_name = params.wm_class_name;
 | 
			
		||||
   properties->wm_class_class = params.wm_class_class;
 | 
			
		||||
   properties->wm_role_name = params.wm_role_name;
 | 
			
		||||
+  properties->parent_widget = params.parent_widget;
 | 
			
		||||
 }
 | 
			
		||||
 
 | 
			
		||||
 }  // namespace views
 | 
			
		||||
   properties->x_visual_id = pending_x_visual_id_;
 | 
			
		||||
 }
 | 
			
		||||
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 dc6acb1c1600..be0ad74e3fa6 100644
 | 
			
		||||
index cd47d499eead..d52e090eb711 100644
 | 
			
		||||
--- ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc
 | 
			
		||||
+++ ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc
 | 
			
		||||
@@ -128,8 +128,12 @@ void DesktopWindowTreeHostWin::Init(const Widget::InitParams& params) {
 | 
			
		||||
@@ -129,8 +129,12 @@ void DesktopWindowTreeHostWin::Init(const Widget::InitParams& params) {
 | 
			
		||||
                         native_widget_delegate_);
 | 
			
		||||
 
 | 
			
		||||
   HWND parent_hwnd = nullptr;
 | 
			
		||||
@@ -214,7 +214,7 @@ index dc6acb1c1600..be0ad74e3fa6 100644
 | 
			
		||||
 
 | 
			
		||||
   remove_standard_frame_ = params.remove_standard_frame;
 | 
			
		||||
   has_non_client_view_ = Widget::RequiresNonClientView(params.type);
 | 
			
		||||
@@ -900,11 +904,15 @@ void DesktopWindowTreeHostWin::HandleFrameChanged() {
 | 
			
		||||
@@ -909,11 +913,15 @@ void DesktopWindowTreeHostWin::HandleFrameChanged() {
 | 
			
		||||
 }
 | 
			
		||||
 
 | 
			
		||||
 void DesktopWindowTreeHostWin::HandleNativeFocus(HWND last_focused_window) {
 | 
			
		||||
@@ -233,10 +233,10 @@ index dc6acb1c1600..be0ad74e3fa6 100644
 | 
			
		||||
 
 | 
			
		||||
 bool DesktopWindowTreeHostWin::HandleMouseEvent(ui::MouseEvent* event) {
 | 
			
		||||
diff --git ui/views/widget/desktop_aura/desktop_window_tree_host_win.h ui/views/widget/desktop_aura/desktop_window_tree_host_win.h
 | 
			
		||||
index 335db0db49bb..35c30789741a 100644
 | 
			
		||||
index 12482e2b158d..c6579eef8245 100644
 | 
			
		||||
--- ui/views/widget/desktop_aura/desktop_window_tree_host_win.h
 | 
			
		||||
+++ ui/views/widget/desktop_aura/desktop_window_tree_host_win.h
 | 
			
		||||
@@ -288,6 +288,10 @@ class VIEWS_EXPORT DesktopWindowTreeHostWin
 | 
			
		||||
@@ -290,6 +290,10 @@ class VIEWS_EXPORT DesktopWindowTreeHostWin
 | 
			
		||||
   // True if the window should have the frame removed.
 | 
			
		||||
   bool remove_standard_frame_;
 | 
			
		||||
 
 | 
			
		||||
@@ -248,7 +248,7 @@ index 335db0db49bb..35c30789741a 100644
 | 
			
		||||
   // a reference.
 | 
			
		||||
   corewm::TooltipWin* tooltip_;
 | 
			
		||||
diff --git ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc
 | 
			
		||||
index 2b6a9d013039..023e12b3a2bb 100644
 | 
			
		||||
index 04ddfe73be4f..1cb711f2ee3d 100644
 | 
			
		||||
--- ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc
 | 
			
		||||
+++ ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc
 | 
			
		||||
@@ -247,6 +247,9 @@ void DesktopWindowTreeHostX11::Init(const Widget::InitParams& params) {
 | 
			
		||||
@@ -281,12 +281,12 @@ index 2b6a9d013039..023e12b3a2bb 100644
 | 
			
		||||
     gfx::Rect* bounds,
 | 
			
		||||
     ui::WindowShowState* show_state) const {
 | 
			
		||||
diff --git ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h
 | 
			
		||||
index 09baef384772..8895a31c611b 100644
 | 
			
		||||
index 5990a3978021..de5f2c712aa9 100644
 | 
			
		||||
--- ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h
 | 
			
		||||
+++ ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h
 | 
			
		||||
@@ -98,6 +98,12 @@ class VIEWS_EXPORT DesktopWindowTreeHostX11 : public DesktopWindowTreeHostLinux,
 | 
			
		||||
   // be changed after.
 | 
			
		||||
   void SetVisualId(VisualID visual_id);
 | 
			
		||||
@@ -94,6 +94,12 @@ class VIEWS_EXPORT DesktopWindowTreeHostX11 : public DesktopWindowTreeHostLinux,
 | 
			
		||||
   // Returns a map of KeyboardEvent code to KeyboardEvent key values.
 | 
			
		||||
   base::flat_map<std::string, std::string> GetKeyboardLayoutMap() override;
 | 
			
		||||
 
 | 
			
		||||
+  void set_screen_bounds(const gfx::Rect& bounds) { screen_bounds_ = bounds; }
 | 
			
		||||
+
 | 
			
		||||
@@ -297,7 +297,7 @@ index 09baef384772..8895a31c611b 100644
 | 
			
		||||
  protected:
 | 
			
		||||
   // Overridden from DesktopWindowTreeHost:
 | 
			
		||||
   void Init(const Widget::InitParams& params) override;
 | 
			
		||||
@@ -112,6 +118,8 @@ class VIEWS_EXPORT DesktopWindowTreeHostX11 : public DesktopWindowTreeHostLinux,
 | 
			
		||||
@@ -108,6 +114,8 @@ class VIEWS_EXPORT DesktopWindowTreeHostX11 : public DesktopWindowTreeHostLinux,
 | 
			
		||||
   void SetSize(const gfx::Size& requested_size) override;
 | 
			
		||||
   void StackAbove(aura::Window* window) override;
 | 
			
		||||
   void StackAtTop() override;
 | 
			
		||||
@@ -306,7 +306,7 @@ index 09baef384772..8895a31c611b 100644
 | 
			
		||||
   void GetWindowPlacement(gfx::Rect* bounds,
 | 
			
		||||
                           ui::WindowShowState* show_state) const override;
 | 
			
		||||
   gfx::Rect GetRestoredBounds() const override;
 | 
			
		||||
@@ -255,6 +263,13 @@ class VIEWS_EXPORT DesktopWindowTreeHostX11 : public DesktopWindowTreeHostLinux,
 | 
			
		||||
@@ -251,6 +259,13 @@ class VIEWS_EXPORT DesktopWindowTreeHostX11 : public DesktopWindowTreeHostLinux,
 | 
			
		||||
   // behavior if > 0.
 | 
			
		||||
   ui::ZOrderLevel z_order_ = ui::ZOrderLevel::kNormal;
 | 
			
		||||
 
 | 
			
		||||
@@ -320,7 +320,7 @@ index 09baef384772..8895a31c611b 100644
 | 
			
		||||
   DesktopDragDropClientAuraX11* drag_drop_client_ = nullptr;
 | 
			
		||||
 
 | 
			
		||||
   std::unique_ptr<WindowEventFilter> non_client_event_filter_;
 | 
			
		||||
@@ -285,6 +300,9 @@ class VIEWS_EXPORT DesktopWindowTreeHostX11 : public DesktopWindowTreeHostLinux,
 | 
			
		||||
@@ -281,6 +296,9 @@ class VIEWS_EXPORT DesktopWindowTreeHostX11 : public DesktopWindowTreeHostLinux,
 | 
			
		||||
 
 | 
			
		||||
   std::unique_ptr<CompositorObserver> compositor_observer_;
 | 
			
		||||
 
 | 
			
		||||
@@ -417,10 +417,10 @@ index 9edfa2c00c4b..8a9217578609 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 67202004ea3a..50e240bdb6c8 100644
 | 
			
		||||
index 3fd5bd3d395f..283b77faffa1 100644
 | 
			
		||||
--- ui/views/win/hwnd_message_handler.cc
 | 
			
		||||
+++ ui/views/win/hwnd_message_handler.cc
 | 
			
		||||
@@ -2972,10 +2972,13 @@ LRESULT HWNDMessageHandler::HandleMouseEventInternal(UINT message,
 | 
			
		||||
@@ -3055,10 +3055,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.
 | 
			
		||||
@@ -437,4 +437,4 @@ index 67202004ea3a..50e240bdb6c8 100644
 | 
			
		||||
+    }
 | 
			
		||||
   }
 | 
			
		||||
 
 | 
			
		||||
   // There are cases where the code handling the message destroys the window,
 | 
			
		||||
   // Suppress |ET_MOUSE_MOVED| and |ET_MOUSE_DRAGGED| events from WM_MOUSE*
 | 
			
		||||
 
 | 
			
		||||
@@ -1,5 +1,5 @@
 | 
			
		||||
diff --git content/browser/web_contents/web_contents_impl.cc content/browser/web_contents/web_contents_impl.cc
 | 
			
		||||
index a4e4a612d82c..3bf880312d5e 100644
 | 
			
		||||
index fbc1dc348385..b275cf9dfafb 100644
 | 
			
		||||
--- content/browser/web_contents/web_contents_impl.cc
 | 
			
		||||
+++ content/browser/web_contents/web_contents_impl.cc
 | 
			
		||||
@@ -2137,21 +2137,30 @@ void WebContentsImpl::Init(const WebContents::CreateParams& params) {
 | 
			
		||||
@@ -70,7 +70,7 @@ index a4e4a612d82c..3bf880312d5e 100644
 | 
			
		||||
       if (!renderer_started_hidden) {
 | 
			
		||||
         // RenderWidgets for frames always initialize as hidden. If the renderer
 | 
			
		||||
         // created this window as visible, then we show it here.
 | 
			
		||||
@@ -6544,7 +6562,7 @@ InterstitialPageImpl* WebContentsImpl::GetInterstitialForRenderManager() {
 | 
			
		||||
@@ -6547,7 +6565,7 @@ InterstitialPageImpl* WebContentsImpl::GetInterstitialForRenderManager() {
 | 
			
		||||
 void WebContentsImpl::CreateRenderWidgetHostViewForRenderManager(
 | 
			
		||||
     RenderViewHost* render_view_host) {
 | 
			
		||||
   RenderWidgetHostViewBase* rwh_view =
 | 
			
		||||
 
 | 
			
		||||
@@ -85,7 +85,7 @@ index 3f0763384089..6919c6f0b2b8 100644
 | 
			
		||||
 
 | 
			
		||||
 void DevToolsSession::FlushProtocolNotifications() {
 | 
			
		||||
diff --git third_party/blink/renderer/core/page/page.cc third_party/blink/renderer/core/page/page.cc
 | 
			
		||||
index 5b2c09a61111..858725e57438 100644
 | 
			
		||||
index 57e3a515bcc5..92e58dd76a32 100644
 | 
			
		||||
--- third_party/blink/renderer/core/page/page.cc
 | 
			
		||||
+++ third_party/blink/renderer/core/page/page.cc
 | 
			
		||||
@@ -183,7 +183,8 @@ Page::Page(PageClients& page_clients)
 | 
			
		||||
@@ -148,7 +148,7 @@ index 5b2c09a61111..858725e57438 100644
 | 
			
		||||
       page->NotifyPluginsChanged();
 | 
			
		||||
     }
 | 
			
		||||
   }
 | 
			
		||||
@@ -830,7 +850,8 @@ void Page::Trace(blink::Visitor* visitor) {
 | 
			
		||||
@@ -846,7 +866,8 @@ void Page::Trace(blink::Visitor* visitor) {
 | 
			
		||||
   visitor->Trace(link_highlights_);
 | 
			
		||||
   visitor->Trace(spatial_navigation_controller_);
 | 
			
		||||
   visitor->Trace(main_frame_);
 | 
			
		||||
 
 | 
			
		||||
@@ -62,10 +62,10 @@ index 61d54c30b50c..d08ad65454ac 100644
 | 
			
		||||
   TransformationMatrix device_emulation_transform_;
 | 
			
		||||
 
 | 
			
		||||
diff --git third_party/blink/renderer/core/page/chrome_client_impl.cc third_party/blink/renderer/core/page/chrome_client_impl.cc
 | 
			
		||||
index 6d90e9c8e0be..b9e56a2f48e5 100644
 | 
			
		||||
index 00037d0439e4..4eab5945a38c 100644
 | 
			
		||||
--- third_party/blink/renderer/core/page/chrome_client_impl.cc
 | 
			
		||||
+++ third_party/blink/renderer/core/page/chrome_client_impl.cc
 | 
			
		||||
@@ -856,7 +856,7 @@ bool ChromeClientImpl::HasOpenedPopup() const {
 | 
			
		||||
@@ -864,7 +864,7 @@ bool ChromeClientImpl::HasOpenedPopup() const {
 | 
			
		||||
 PopupMenu* ChromeClientImpl::OpenPopupMenu(LocalFrame& frame,
 | 
			
		||||
                                            HTMLSelectElement& select) {
 | 
			
		||||
   NotifyPopupOpeningObservers();
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user