electron/brightray/browser
Adam Roben 2025b60968 Make devtools work when web security is enabled
These changes bring our copy of devtools_ui.cc in line with
https://chromium.googlesource.com/chromium/src.git/+/43.0.2357.92/chrome/browser/ui/webui/devtools_ui.cc

Without these changes, opening the devtools prints errors like:

    [0602/165604:ERROR:CONSOLE(0)] "Refused to display 'chrome-devtools://devtools/inspector.html?can_dock=true&toolbarColor=rgba(223,223,223,1)&textColor=rgba(0,0,0,1)&experiments=true' in a frame because it set 'X-Frame-Options' to 'DENY'.", source: about:blank (0)
    [0602/165604:ERROR:CONSOLE(1514)] "Uncaught SecurityError: Sandbox access violation: Blocked a frame at "chrome-devtools://devtools" from accessing a frame at "null".  The frame being accessed is sandboxed and lacks the "allow-same-origin" flag.", source: chrome-devtools://devtools/devtools.js (1514)
2015-06-02 16:56:17 -04:00
..
linux Remove parameter |by_user| in NotificationClosed 2015-05-22 14:51:16 +08:00
mac Fix compilation warnings due to API changes 2014-12-09 22:39:44 -08:00
media MEDIA_LOOPBACK_AUDIO_CAPTURE renamed to MEDIA_DESKTOP_AUDIO_CAPTURE 2015-03-08 20:04:25 -07:00
views Fix building on Windows 2015-03-18 12:55:02 +08:00
brightray_paths.h register DIR_CACHE and DIR_USER_CACHE in path service 2015-01-18 21:00:47 -08:00
browser_client.cc linux: Pass v8 snapshot's fd to child process 2015-04-21 21:43:30 +08:00
browser_client.h linux: Pass v8 snapshot's fd to child process 2015-04-21 21:43:30 +08:00
browser_context.cc Implement PermissionManager 2015-05-22 14:50:41 +08:00
browser_context.h Implement PermissionManager 2015-05-22 14:50:41 +08:00
browser_main_parts.cc ProxyResolverV8::EnsureIsolateCreated is removed 2015-05-22 14:54:33 +08:00
browser_main_parts.h ProxyResolverV8::EnsureIsolateCreated is removed 2015-05-22 14:54:33 +08:00
browser_main_parts_mac.mm Make BrowserMainParts's overrides available on all platforms. 2014-07-09 10:26:01 +08:00
default_web_contents_delegate.cc Implement CheckMediaAccessPermission 2015-01-23 15:13:04 -08:00
default_web_contents_delegate.h Implement CheckMediaAccessPermission 2015-01-23 15:13:04 -08:00
default_web_contents_delegate_mac.mm Make keyboard shortcuts work on Mac 2013-03-14 13:50:15 -04:00
devtools_contents_resizing_strategy.cc Use new devtools resizing strategy from Chrome 37. 2014-09-01 19:15:07 +08:00
devtools_contents_resizing_strategy.h Fix ui/gfx/geometry headers 2015-03-08 19:02:38 -07:00
devtools_embedder_message_dispatcher.cc Use new devtools resizing strategy from Chrome 37. 2014-09-01 19:15:07 +08:00
devtools_embedder_message_dispatcher.h Fix ui/gfx/geometry headers 2015-03-08 19:02:38 -07:00
devtools_manager_delegate.cc Fix API changes 2015-04-21 18:54:57 +08:00
devtools_manager_delegate.h Use the new devtools API 2015-02-03 10:57:25 -08:00
devtools_ui.cc Make devtools work when web security is enabled 2015-06-02 16:56:17 -04:00
devtools_ui.h Fix all remaining readability/namespace errors 2013-11-17 18:20:17 -05:00
inspectable_web_contents.cc web_contents_view.h has been hidden from user. 2014-07-27 11:27:04 +00:00
inspectable_web_contents.h method to reset agent_host 2015-05-18 19:26:03 +05:30
inspectable_web_contents_delegate.cc Add a method in InspectableWebContentDelegate to set icon for devtools window. 2014-09-09 15:29:35 +08:00
inspectable_web_contents_delegate.h detecting focus on devtools webcontents 2015-04-01 15:22:53 +05:30
inspectable_web_contents_impl.cc method to reset agent_host 2015-05-18 19:26:03 +05:30
inspectable_web_contents_impl.h Remove trailing space 2015-05-27 15:02:01 +08:00
inspectable_web_contents_view.h Remove GetNativeView() when compiled with views toolkit. 2014-07-11 23:32:00 +08:00
inspectable_web_contents_view_mac.h OVERRIDE => override 2014-10-23 11:10:39 +08:00
inspectable_web_contents_view_mac.mm mac: Close devtools when web contents is destroyed. 2014-08-08 12:45:26 +08:00
network_delegate.cc Implement NetworkDelegate::OnFirstPartyOnlyCookieExperimentEnabled 2015-05-22 14:56:28 +08:00
network_delegate.h Implement NetworkDelegate::OnFirstPartyOnlyCookieExperimentEnabled 2015-05-22 14:56:28 +08:00
notification_presenter.h Add a parameter to ShowNotification for the icon 2015-04-20 13:20:50 -07:00
notification_presenter_mac.h Fix the build on OS X 2015-04-20 13:29:10 -07:00
notification_presenter_mac.mm Remove parameter |by_user| in NotificationClosed 2015-05-22 14:51:16 +08:00
permission_manager.cc Implement PermissionManager 2015-05-22 14:50:41 +08:00
permission_manager.h Implement PermissionManager 2015-05-22 14:50:41 +08:00
platform_notification_service_impl.cc Merge pull request #100 from atom/chrome42 2015-04-22 12:12:47 +08:00
platform_notification_service_impl.h Fix API changes 2015-04-21 18:54:57 +08:00
url_request_context_getter.cc Come Correct with memory management 2015-05-05 22:35:48 -07:00
url_request_context_getter.h Come Correct with memory management 2015-05-05 22:35:48 -07:00
web_ui_controller_factory.cc Fix cpplint errors in web_ui_controller_factory.cc 2013-11-17 18:12:05 -05:00
web_ui_controller_factory.h OVERRIDE => override 2014-10-23 11:10:39 +08:00