electron/atom/browser/api
Samuel Attard 92588be2bd refactor: add promise helper and change whenReady to be native impl (#13115)
* Add promise helper and change whenReady to be native impl

* remove commented code

* add GetInner helper to dedupe promise code

* add Promise.reject helper to be consistent with JS

* fix linting

* update promise impl per feedback

* remove param name from unused isolate

* Use non-depreceated resolvers for promises

* Add thread dchecks for promise helper, intiialize promise pointer to nullptr
2018-06-27 16:06:08 -05:00
..
atom_api_app.cc refactor: add promise helper and change whenReady to be native impl (#13115) 2018-06-27 16:06:08 -05:00
atom_api_app.h refactor: add promise helper and change whenReady to be native impl (#13115) 2018-06-27 16:06:08 -05:00
atom_api_app_mas.mm clang-format objc files (#12673) 2018-04-20 11:47:04 -07:00
atom_api_auto_updater.cc also format missing .cc files 2018-04-18 20:48:45 -04:00
atom_api_auto_updater.h [chromium-style] override / virtual warnings 2018-04-19 11:12:10 -07:00
atom_api_box_layout.cc Add View.addChildView API 2018-05-24 15:36:29 +09:00
atom_api_box_layout.h Add View.addChildView API 2018-05-24 15:36:29 +09:00
atom_api_browser_view.cc Refactoring: use C++11 class member variable initialization 2018-05-22 00:18:38 +02:00
atom_api_browser_view.h Refactoring: use C++11 class member variable initialization 2018-05-22 00:18:38 +02:00
atom_api_browser_window.cc OOPIF-ize hung renderers 2018-06-19 11:49:41 +10:00
atom_api_browser_window.h OOPIF-ize hung renderers 2018-06-19 11:49:41 +10:00
atom_api_browser_window_mac.mm refactoring: use std::make_unique<T> (#13245) 2018-06-18 16:32:55 +09:00
atom_api_browser_window_views.cc also format missing .cc files 2018-04-18 20:48:45 -04:00
atom_api_button.cc feat: add LabelButton API 2018-06-18 16:51:36 +09:00
atom_api_button.h feat: add LabelButton API 2018-06-18 16:51:36 +09:00
atom_api_content_tracing.cc also format missing .cc files 2018-04-18 20:48:45 -04:00
atom_api_cookies.cc Re-enable cookie specs and add custom cookie name/url validation 2018-06-19 11:49:46 +10:00
atom_api_cookies.h clang-format atom files 2018-04-18 20:48:45 -04:00
atom_api_debugger.cc DevTools: remove the 'forced' attribute from the AgentHostClosed in DevToolsAgentHost. 2018-06-19 11:49:41 +10:00
atom_api_debugger.h DevTools: remove the 'forced' attribute from the AgentHostClosed in DevToolsAgentHost. 2018-06-19 11:49:41 +10:00
atom_api_desktop_capturer.cc Fix windows desktop_capturer build 2018-06-19 15:29:16 +10:00
atom_api_desktop_capturer.h post all desktop capturer apis to worker threads 2018-06-19 11:49:46 +10:00
atom_api_dialog.cc also format missing .cc files 2018-04-18 20:48:45 -04:00
atom_api_download_item.cc Move download_item.h from content/public to components/download 2018-06-19 11:49:40 +10:00
atom_api_download_item.h Move download_item.h from content/public to components/download 2018-06-19 11:49:40 +10:00
atom_api_global_shortcut.cc also format missing .cc files 2018-04-18 20:48:45 -04:00
atom_api_global_shortcut.h
atom_api_in_app_purchase.cc also format missing .cc files 2018-04-18 20:48:45 -04:00
atom_api_in_app_purchase.h Improve in-app purchase for MacOS (#12464) 2018-04-05 15:33:13 +09:00
atom_api_label_button.cc feat: add LabelButton API 2018-06-18 16:51:36 +09:00
atom_api_label_button.h feat: add LabelButton API 2018-06-18 16:51:36 +09:00
atom_api_layout_manager.cc Add LayoutManager/BoxLayout APIs 2018-05-24 15:36:29 +09:00
atom_api_layout_manager.h Add LayoutManager/BoxLayout APIs 2018-05-24 15:36:29 +09:00
atom_api_menu.cc Refactoring: use C++11 class member variable initialization 2018-05-22 00:18:38 +02:00
atom_api_menu.h Refactoring: use C++11 class member variable initialization 2018-05-22 00:18:38 +02:00
atom_api_menu_mac.h [chromium-style] out-of-line default constructors and destructors 2018-04-19 11:12:58 -07:00
atom_api_menu_mac.mm Fix: Prevent menu update while it's open (#12809) 2018-05-17 11:19:28 +10:00
atom_api_menu_views.cc refactoring: use std::make_unique<T> (#13245) 2018-06-18 16:32:55 +09:00
atom_api_menu_views.h [chromium-style] out-of-line default constructors and destructors 2018-04-19 11:12:58 -07:00
atom_api_net.cc Upgrade to node v9.3.0 (#11507) 2018-02-23 10:22:00 +09:00
atom_api_net.h
atom_api_net_log.cc feat: netLog API for dynamic logging control (#13068) 2018-06-19 11:45:58 +10:00
atom_api_net_log.h feat: netLog API for dynamic logging control (#13068) 2018-06-19 11:45:58 +10:00
atom_api_notification.cc REVIEW: Remove the notification close-closure in favour of an explicit method 2018-06-19 11:49:40 +10:00
atom_api_notification.h Organize code 2018-02-10 03:19:47 -08:00
atom_api_power_monitor.cc Screen Lock / Unlock events (#12714) 2018-05-01 02:04:27 +10:00
atom_api_power_monitor.h Screen Lock / Unlock events (#12714) 2018-05-01 02:04:27 +10:00
atom_api_power_monitor_mac.mm Fix chromium-style errors (#12802) 2018-05-03 09:04:22 -05:00
atom_api_power_monitor_win.cc Screen Lock / Unlock events (#12714) 2018-05-01 02:04:27 +10:00
atom_api_power_save_blocker.cc Remove redundant device::PowerSaveBlocker enums. 2018-06-19 11:49:41 +10:00
atom_api_power_save_blocker.h Remove redundant device::PowerSaveBlocker enums. 2018-06-19 11:49:41 +10:00
atom_api_protocol.cc [chromium-style] auto variable type must not deduce to a raw pointer type 2018-04-19 11:10:52 -07:00
atom_api_protocol.h refactoring: use std::make_unique<T> (#13245) 2018-06-18 16:32:55 +09:00
atom_api_render_process_preferences.cc also format missing .cc files 2018-04-18 20:48:45 -04:00
atom_api_render_process_preferences.h clang-format atom files 2018-04-18 20:48:45 -04:00
atom_api_screen.cc remove screen.getMenuBarHeight() deprecation 2018-05-23 09:11:48 -07:00
atom_api_screen.h remove screen.getMenuBarHeight() deprecation 2018-05-23 09:11:48 -07:00
atom_api_session.cc move DownloadInterruptReasons from content/ to components/download 2018-06-19 11:49:40 +10:00
atom_api_session.h Move download_item.h from content/public to components/download 2018-06-19 11:49:40 +10:00
atom_api_system_preferences.cc also format missing .cc files 2018-04-18 20:48:45 -04:00
atom_api_system_preferences.h clang-format atom files 2018-04-18 20:48:45 -04:00
atom_api_system_preferences_mac.mm clang-format objc files (#12673) 2018-04-20 11:47:04 -07:00
atom_api_system_preferences_win.cc also format missing .cc files 2018-04-18 20:48:45 -04:00
atom_api_text_field.cc feat: add SetText for TextField 2018-06-18 16:51:36 +09:00
atom_api_text_field.h feat: add SetText for TextField 2018-06-18 16:51:36 +09:00
atom_api_top_level_window.cc chore: fix various chromium-style errors in windows (#13394) 2018-06-25 22:30:00 +02:00
atom_api_top_level_window.h feat: add TopLevelWindow.setContentView API 2018-05-15 14:12:47 +09:00
atom_api_tray.cc remove tray.setHighlightMode() deprecation 2018-05-23 09:20:39 -07:00
atom_api_tray.h add getter for ignoreDoubleClickEvents field 2018-05-03 13:49:33 -07:00
atom_api_url_request.cc feat: add View API 2018-05-15 14:03:21 +09:00
atom_api_url_request.h feat: add View API 2018-05-15 14:03:21 +09:00
atom_api_view.cc Put View APIs under a build flag 2018-05-24 15:44:07 +09:00
atom_api_view.h Put View APIs under a build flag 2018-05-24 15:44:07 +09:00
atom_api_web_contents.cc chore: fix various chromium-style errors in windows (#13394) 2018-06-25 22:30:00 +02:00
atom_api_web_contents.h Update OSR code 2018-06-19 11:49:44 +10:00
atom_api_web_contents_mac.mm Include missing header 2018-06-19 11:49:41 +10:00
atom_api_web_contents_osr.cc Update OSR code 2018-06-19 11:49:44 +10:00
atom_api_web_contents_view.cc Add LayoutManager/BoxLayout APIs 2018-05-24 15:36:29 +09:00
atom_api_web_contents_view.h WebContents may be managed by multiple owners 2018-05-21 10:53:09 +09:00
atom_api_web_request.cc Part I: Move from base::Bind to base::BindOnce and remove unneeded base::Passed (#12661) 2018-04-20 19:55:05 +09:00
atom_api_web_request.h clang-format atom files 2018-04-18 20:48:45 -04:00
atom_api_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
event.cc perf: don't use JSON to send the result of ipcRenderer.sendSync. (#8953) 2018-06-13 17:38:31 +10:00
event.h perf: don't use JSON to send the result of ipcRenderer.sendSync. (#8953) 2018-06-13 17:38:31 +10:00
event_emitter.cc update native-mate ref 2018-06-19 11:49:41 +10:00
event_emitter.h clang-format atom files 2018-04-18 20:48:45 -04:00
event_subscriber.cc [chromium-style] auto variable type must not deduce to a raw pointer type 2018-04-19 11:10:52 -07:00
event_subscriber.h Fix up #includes to work with both GYP and GN 2018-05-10 13:38:40 -07:00
frame_subscriber.cc chore: fix chromium-style errors in frame_subscriber 2018-06-20 14:14:11 -07:00
frame_subscriber.h chore: fix chromium-style errors in frame_subscriber 2018-06-20 14:14:11 -07:00
save_page_handler.cc Move download_item.h from content/public to components/download 2018-06-19 11:49:40 +10:00
save_page_handler.h Move download_item.h from content/public to components/download 2018-06-19 11:49:40 +10:00
trackable_object.cc Refactoring: use C++11 class member variable initialization 2018-05-22 00:18:38 +02:00
trackable_object.h Refactoring: use C++11 class member variable initialization 2018-05-22 00:18:38 +02:00