electron/atom/browser
Nitish Sakhawalkar af4f08e030 fix: notify focus change right away rather not on next tick (#14453)
* fix: Notify focus change right away, not on next tick

* fix: emit the JS blur/focus events on next tick to avoid race condition

* address feedback from review

* fix: bind deferred Emit() calls to a WeakPtr

This is so that the deferred Emit() calls will be canceled
if the TopLevelWindow is destroyed.

* chore: remove wip/test code cruft

* fix: make linter happy

* Enable disabled tests

* refactor: cleaner impl of EmitEventSoon()

* Revert "Merge branch 'fix-win-focus' of github.com:electron/electron into fix-win-focus"

This reverts commit 90576806eb271d059f0a215c67e9b4b04f7396a4, reversing
changes made to 9c13e47779a3af78fe0970c1f3d6cd040a5354e6.

* Restore 704722c1, which was removed in error.

We apologise again for the fault in the subtitles. Those responsible for sacking the people who have just been sacked have been sacked.
2018-09-07 14:30:41 -04:00
..
api fix: notify focus change right away rather not on next tick (#14453) 2018-09-07 14:30:41 -04:00
lib Refactoring: use C++11 class member variable initialization 2018-05-22 00:18:38 +02:00
loader Move resource_response.h to //services/network/public/cpp. 2018-06-19 11:49:41 +10:00
mac Revert "fix: Drop support for OS X Mavericks (version 10.9)" 2018-06-20 12:29:14 +00:00
net feat: add getUploadProgress API to the net API (#14446) 2018-09-04 12:26:50 -05:00
osr fix: enable osr (backport: 3-0-x) (#14219) 2018-08-20 10:45:53 -07:00
resources Bump v3.0.0-beta.9 2018-09-05 17:46:59 -07:00
ui Macos Window Title And Accessibility Focus Fix - Override accessibility method in atom_ns_window - Add title attribute in accessibilityAttributeValue (#14486) 2018-09-06 18:55:46 -07:00
atom_blob_reader.cc Make reading blobs work through Blob mojo interface. 2018-06-19 11:49:42 +10:00
atom_blob_reader.h Make reading blobs work through Blob mojo interface. 2018-06-19 11:49:42 +10:00
atom_browser_client.cc fix: opt into location services once device service has been started (backport: 3-0-x) (#14289) 2018-08-24 08:23:15 -07:00
atom_browser_client.h fix: opt into location services once device service has been started (backport: 3-0-x) (#14289) 2018-08-24 08:23:15 -07:00
atom_browser_context.cc fix: notify request context shutdown on IO before cleanup (#14092) 2018-08-22 08:24:56 -07:00
atom_browser_context.h fix: notify request context shutdown on IO before cleanup (#14092) 2018-08-22 08:24:56 -07:00
atom_browser_main_parts.cc fix: opt into location services once device service has been started (backport: 3-0-x) (#14289) 2018-08-24 08:23:15 -07:00
atom_browser_main_parts.h fix: opt into location services once device service has been started (backport: 3-0-x) (#14289) 2018-08-24 08:23:15 -07:00
atom_browser_main_parts_mac.mm clang-format objc files (#12673) 2018-04-20 11:47:04 -07:00
atom_browser_main_parts_posix.cc also format missing .cc files 2018-04-18 20:48:45 -04:00
atom_download_manager_delegate.cc move DownloadInterruptReasons from content/ to components/download 2018-06-19 11:49:40 +10:00
atom_download_manager_delegate.h Move download_item.h from content/public to components/download 2018-06-19 11:49:40 +10:00
atom_javascript_dialog_manager.cc Give the JS dialog manager the alerting frame. 2018-06-19 11:49:42 +10:00
atom_javascript_dialog_manager.h Give the JS dialog manager the alerting frame. 2018-06-19 11:49:42 +10:00
atom_permission_manager.cc fix: opt into location services once device service has been started (backport: 3-0-x) (#14289) 2018-08-24 08:23:15 -07:00
atom_permission_manager.h Remove CancelRequest for PermissionManager 2018-06-19 11:46:59 +10:00
atom_quota_permission_context.cc Fix includes in AtomQuotaPermissionContext 2018-06-19 11:49:41 +10:00
atom_quota_permission_context.h Fix includes in AtomQuotaPermissionContext 2018-06-19 11:49:41 +10:00
atom_resource_dispatcher_host_delegate.cc NetworkService: Implement URLLoader::OnAuthRequired 2018-06-19 11:49:42 +10:00
atom_resource_dispatcher_host_delegate.h NetworkService: Implement URLLoader::OnAuthRequired 2018-06-19 11:49:42 +10:00
atom_speech_recognition_manager_delegate.cc also format missing .cc files 2018-04-18 20:48:45 -04:00
atom_speech_recognition_manager_delegate.h [chromium-style] override / virtual warnings 2018-04-19 11:12:10 -07:00
atom_web_ui_controller_factory.cc also format missing .cc files 2018-04-18 20:48:45 -04:00
atom_web_ui_controller_factory.h [chromium-style] override / virtual warnings 2018-04-19 11:12:10 -07:00
auto_updater.cc also format missing .cc files 2018-04-18 20:48:45 -04:00
auto_updater.h clang-format atom files 2018-04-18 20:48:45 -04:00
auto_updater_mac.mm clang-format objc files (#12673) 2018-04-20 11:47:04 -07:00
bridge_task_runner.cc [chromium-style] out-of-line default constructors and destructors 2018-04-19 11:12:58 -07:00
bridge_task_runner.h [chromium-style] out-of-line default constructors and destructors 2018-04-19 11:12:58 -07:00
browser.cc fix: add method and referrer properties to app login event (backport: 3-0-x) (#14277) 2018-08-23 20:47:16 +09:00
browser.h fix: add method and referrer properties to app login event (backport: 3-0-x) (#14277) 2018-08-23 20:47:16 +09:00
browser_linux.cc refactor: chromium-style warnings in linux code (#12949) 2018-05-16 14:12:45 -05:00
browser_mac.mm Revert "fix: Drop support for OS X Mavericks (version 10.9)" 2018-06-20 12:29:14 +00:00
browser_observer.h fix: add method and referrer properties to app login event (backport: 3-0-x) (#14277) 2018-08-23 20:47:16 +09:00
browser_win.cc also format missing .cc files 2018-04-18 20:48:45 -04:00
child_web_contents_tracker.cc Fix cpplint errors 2017-04-12 12:25:56 +09:00
child_web_contents_tracker.h Fix cpplint errors 2017-04-12 12:25:56 +09:00
common_web_contents_delegate.cc fix: use OOPIF for webview tag (#13869) (#14156) 2018-08-17 08:21:36 -07:00
common_web_contents_delegate.h fix: use OOPIF for webview tag (#13869) (#14156) 2018-08-17 08:21:36 -07:00
common_web_contents_delegate_mac.mm The Blink Rename 2017-08-15 16:19:20 +03:00
common_web_contents_delegate_views.cc Fix autofill popup position when the popup is spawned from a webview (#13184) 2018-06-18 10:15:37 -05:00
fake_location_provider.cc fix: opt into location services once device service has been started (backport: 3-0-x) (#14289) 2018-08-24 08:23:15 -07:00
fake_location_provider.h fix: opt into location services once device service has been started (backport: 3-0-x) (#14289) 2018-08-24 08:23:15 -07:00
javascript_environment.cc gin: Make gin/ remember external reference table 2018-06-19 11:49:42 +10:00
javascript_environment.h [chromium-style] out-of-line default constructors and destructors 2018-04-19 11:12:58 -07:00
login_handler.cc fix: add method and referrer properties to app login event (backport: 3-0-x) (#14277) 2018-08-23 20:47:16 +09:00
login_handler.h fix: add method and referrer properties to app login event (backport: 3-0-x) (#14277) 2018-08-23 20:47:16 +09:00
native_browser_view.cc Make BrowserView DragRegionViews children of the WebContents view 2018-03-19 20:45:40 +02:00
native_browser_view.h clang-format atom files 2018-04-18 20:48:45 -04:00
native_browser_view_mac.h Store InspectableWebContents instead of InspectableWebContentsView in NativeBrowserView 2018-03-19 20:44:05 +02:00
native_browser_view_mac.mm clang-format objc files (#12673) 2018-04-20 11:47:04 -07:00
native_browser_view_views.cc refactor: chromium-style warnings in linux code (#12949) 2018-05-16 14:12:45 -05:00
native_browser_view_views.h refactor: chromium-style warnings in linux code (#12949) 2018-05-16 14:12:45 -05:00
native_window.cc Refactoring: use C++11 class member variable initialization 2018-05-22 00:18:38 +02:00
native_window.h Refactoring: use C++11 class member variable initialization 2018-05-22 00:18:38 +02:00
native_window_mac.h fix: fallback to FullSizeContentView for frameless window on mac (#13600) 2018-07-10 13:09:46 +09:00
native_window_mac.mm fix: fallback to FullSizeContentView for frameless window on mac (#13600) 2018-07-10 13:09:46 +09:00
native_window_observer.h clang-format atom files 2018-04-18 20:48:45 -04:00
native_window_views.cc fix: notify focus change right away rather not on next tick (#14453) 2018-09-07 14:30:41 -04:00
native_window_views.h Remove obsolete ShouldHandleSystemCommands function. 2018-06-19 11:49:42 +10:00
native_window_views_win.cc remove appcommand media-play_pause option deprecation 2018-05-23 09:24:32 -07:00
node_debugger.cc fix: dont parse arguments after a -- in the inspector (#14333) 2018-08-27 14:44:53 -05:00
node_debugger.h clang-format atom files 2018-04-18 20:48:45 -04:00
relauncher.cc also format missing .cc files 2018-04-18 20:48:45 -04:00
relauncher.h Correctly quotes the argv on Windows 2016-06-02 21:10:39 +09:00
relauncher_linux.cc Improve process launch handle sharing API. 2018-02-23 10:21:24 +09:00
relauncher_mac.cc also format missing .cc files 2018-04-18 20:48:45 -04:00
relauncher_win.cc also format missing .cc files 2018-04-18 20:48:45 -04:00
render_process_preferences.cc Refactoring: use C++11 class member variable initialization 2018-05-22 00:18:38 +02:00
render_process_preferences.h Refactoring: use C++11 class member variable initialization 2018-05-22 00:18:38 +02:00
request_context_delegate.cc fix: notify request context shutdown on IO before cleanup (#14092) 2018-08-22 08:24:56 -07:00
request_context_delegate.h fix: notify request context shutdown on IO before cleanup (#14092) 2018-08-22 08:24:56 -07:00
session_preferences.cc also format missing .cc files 2018-04-18 20:48:45 -04:00
session_preferences.h clang-format atom files 2018-04-18 20:48:45 -04:00
unresponsive_suppressor.cc Replace DialogScope with UnresponsiveSuppressor 2016-07-11 15:29:03 +09:00
unresponsive_suppressor.h Replace DialogScope with UnresponsiveSuppressor 2016-07-11 15:29:03 +09:00
web_contents_permission_helper.cc [chromium-style] auto variable type must not deduce to a raw pointer type 2018-04-19 11:10:52 -07:00
web_contents_permission_helper.h clang-format atom files 2018-04-18 20:48:45 -04:00
web_contents_preferences.cc Don't pass preloadPath via ELECTRON_BROWSER_SANDBOX_LOAD for security reasons (#13031) (#14026) 2018-08-11 12:53:33 -05:00
web_contents_preferences.h Don't pass preloadPath via ELECTRON_BROWSER_SANDBOX_LOAD for security reasons (#13031) (#14026) 2018-08-11 12:53:33 -05:00
web_contents_zoom_controller.cc fix: use OOPIF for webview tag (#13869) (#14156) 2018-08-17 08:21:36 -07:00
web_contents_zoom_controller.h fix: use OOPIF for webview tag (#13869) (#14156) 2018-08-17 08:21:36 -07:00
web_dialog_helper.cc Add FILE_DIALOG_TREAT_PACKAGE_APP_AS_DIRECTORY to web open file dialog (#13220) 2018-06-15 15:51:38 -05:00
web_dialog_helper.h clang-format atom files 2018-04-18 20:48:45 -04:00
web_view_guest_delegate.cc fix: use OOPIF for webview tag (#13869) (#14156) 2018-08-17 08:21:36 -07:00
web_view_guest_delegate.h fix: use OOPIF for webview tag (#13869) (#14156) 2018-08-17 08:21:36 -07:00
web_view_manager.cc [chromium-style] auto variable type must not deduce to a raw pointer type 2018-04-19 11:10:52 -07:00
web_view_manager.h clang-format atom files 2018-04-18 20:48:45 -04:00
window_list.cc [chromium-style] auto variable type must not deduce to a raw pointer type 2018-04-19 11:10:52 -07:00
window_list.h Add IsEmpty helper and remove GetInstance public usage 2017-04-11 09:09:17 -07:00
window_list_observer.h