trop[bot]
074cedd561
feat: Focus DevTools when breakpoint is triggered ( #48701 )
...
`bringToFront` DevTools message is sent when breakpoint is triggered
or inspect is called and Chromium upon this message activates DevTools
via `DevToolsUIBindings::Delegate::ActivateWindow`:
```
void DevToolsWindow::ActivateWindow() {
if (life_stage_ != kLoadCompleted)
return;
\#if BUILDFLAG(IS_ANDROID)
NOTIMPLEMENTED();
\#else
if (is_docked_ && GetInspectedBrowserWindow())
main_web_contents_->Focus();
else if (!is_docked_ && browser_ && !browser_->window()->IsActive())
browser_->window()->Activate();
\#endif
}
```
which implements: `DevToolsUIBindings::Delegate::ActivateWindow`.
Electron also implements this interface in:
`electron::InspectableWebContents`. However it was only setting
a zoom level, therefore this commit extends it with activation
of the DevTools.
Only supported for DevTools manged by `electron::InspectableWebContents`.
Closes : #37388
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Michał Pichliński <michal.pichlinski@here.io >
2025-11-10 16:41:46 -05:00
..
2025-10-27 11:24:23 +01:00
2025-01-10 10:52:34 -06:00
2025-06-30 12:29:54 -04:00
2025-10-03 10:59:30 -05:00
2025-09-24 13:10:33 -04:00
2025-06-26 11:41:48 -05:00
2025-04-25 10:26:19 -05:00
2025-05-14 13:38:35 +09:00
2025-05-20 11:06:57 -04:00
2024-09-17 12:58:56 -07:00
2025-10-13 21:39:39 -07:00
2025-10-22 13:55:41 +02:00
2025-08-11 16:01:08 -04:00
2025-08-07 16:49:37 -04:00
2025-08-07 16:49:37 -04:00
2025-01-28 14:58:48 +01:00
2025-06-16 12:46:06 -05:00
2025-11-10 16:41:46 -05:00
2025-05-02 11:10:52 +02:00
2025-02-06 15:30:54 -05:00
2024-07-22 11:31:32 +02:00
2023-12-13 13:01:03 -08:00
2023-12-13 13:01:03 -08:00
2023-11-01 10:02:12 -04:00
2024-09-17 01:38:56 -07:00
2024-12-03 16:25:48 -06:00
2023-09-26 16:00:46 -04:00
2025-08-06 19:35:04 +02:00
2025-08-19 12:45:49 +02:00
2024-12-03 16:25:48 -06:00
2025-06-30 12:29:54 -04:00
2025-02-11 17:26:39 -06:00
2025-08-06 19:35:04 +02:00
2025-05-02 11:10:52 +02:00
2025-08-06 19:35:04 +02:00
2024-02-05 18:12:34 -06:00
2024-07-29 12:42:57 -05:00
2022-01-10 17:31:39 -05:00
2021-11-22 16:34:31 +09:00
2024-07-29 12:42:57 -05:00
2024-07-29 12:42:57 -05:00
2022-11-07 10:15:57 -08:00
2025-08-10 21:46:37 +02:00
2025-08-10 21:46:37 +02:00
2025-08-10 21:46:37 +02:00
2025-08-10 21:46:37 +02:00
2025-04-25 13:11:53 -05:00
2025-03-24 10:09:14 +01:00
2023-12-13 13:01:03 -08:00
2024-07-29 12:42:57 -05:00
2025-06-30 12:29:54 -04:00
2025-05-13 14:51:20 -04:00
2025-08-11 16:01:08 -04:00
2025-08-11 16:01:08 -04:00
2024-07-25 11:25:45 +02:00
2025-04-22 15:53:29 -04:00
2025-09-25 15:22:16 -04:00
2025-08-19 21:04:49 -04:00
2025-08-10 21:46:37 +02:00
2024-07-17 09:48:03 -04:00
2025-05-08 14:17:22 -05:00
2025-02-19 16:49:34 -06:00
2022-02-09 18:58:52 -08:00
2021-11-22 16:34:31 +09:00
2025-07-15 12:05:29 -04:00
2025-06-03 11:19:20 -04:00
2025-07-29 11:00:54 -04:00
2025-07-29 11:00:54 -04:00
2025-09-24 13:10:33 -04:00
2025-09-24 13:10:33 -04:00
2024-08-12 10:28:33 +02:00
2024-08-12 10:28:33 +02:00
2025-07-29 11:00:54 -04:00
2025-08-11 16:01:08 -04:00
2025-08-11 16:01:08 -04:00
2025-08-11 16:01:08 -04:00
2025-04-22 15:53:29 -04:00
2025-03-14 10:59:15 -05:00
2025-04-08 12:58:28 -05:00
2021-11-22 16:34:31 +09:00
2025-08-10 21:46:37 +02:00
2024-12-03 16:25:48 -06:00
2024-09-12 16:05:37 +02:00
2023-06-22 10:51:15 +02:00
2024-09-10 16:05:57 -07:00
2025-06-30 12:29:54 -04:00
2024-09-10 16:05:57 -07:00
2023-10-03 12:26:35 -07:00
2024-11-29 11:44:33 -06:00
2024-07-25 11:25:45 +02:00
2025-03-07 18:22:03 +09:00
2025-03-07 18:22:03 +09:00
2025-04-03 19:02:49 -05:00
2025-04-03 19:02:49 -05:00
2025-02-21 14:46:51 -08:00
2025-02-21 14:46:51 -08:00
2024-10-29 23:25:40 -05:00
2023-05-11 16:07:39 -04:00
2024-06-07 17:18:35 -04:00
2022-01-26 13:59:09 -08:00
2025-07-08 15:21:13 +02:00
2025-09-27 16:16:33 -07:00
2025-05-06 11:57:53 -05:00
2025-10-04 04:12:07 +02:00
2025-10-10 11:35:48 +02:00
2025-10-10 11:35:48 +02:00
2025-07-08 15:21:44 +02:00
2025-08-06 19:39:18 +02:00
2025-01-10 10:52:34 -06:00
2023-05-11 16:07:39 -04:00
2025-06-13 10:15:32 +02:00
2025-06-13 10:15:32 +02:00
2024-08-23 17:15:45 -05:00
2024-08-23 17:15:45 -05:00
2025-04-22 15:53:29 -04:00
2024-07-22 11:31:32 +02:00
2024-11-30 06:54:40 -06:00
2025-03-14 10:59:15 -05:00
2024-11-30 06:54:40 -06:00
2025-01-31 09:32:45 -05:00
2025-01-31 09:32:45 -05:00
2024-09-12 16:05:37 +02:00
2022-08-17 11:35:53 -07:00
2025-04-22 15:53:29 -04:00
2025-04-22 15:53:29 -04:00
2025-07-16 12:15:53 -07:00
2025-07-16 12:15:53 -07:00
2025-05-02 11:10:52 +02:00
2024-07-29 12:42:57 -05:00
2024-07-29 12:42:57 -05:00
2025-07-15 12:05:29 -04:00
2025-07-15 12:05:29 -04:00
2023-11-28 13:40:12 -08:00
2024-01-05 12:18:31 +01:00
2024-12-03 16:25:48 -06:00
2025-06-30 10:59:53 +02:00
2024-01-10 14:01:49 -06:00
2025-06-30 17:07:00 -04:00
2024-07-29 12:42:57 -05:00