electron/atom/browser/api
Shahzad Lone 74c29fb610 perf: and refactor: Code Scope + Minor Performance Improvement. (#16467)
* We know result's size will be same as app_metrics_'s size so optimize the vector.

Reserving a vector to save on reallocation cost.

* Narrow scopes of variables to avoid error and optimize them.

Made two vectors scope narrower and reserved them because we know the size in advance. This helps save on allocation costs.

* fix spacing
2019-01-25 09:39:32 -05:00
..
views view: add ResizeArea class (#15752) 2018-11-21 22:39:59 +09:00
atom_api_app.cc perf: and refactor: Code Scope + Minor Performance Improvement. (#16467) 2019-01-25 09:39:32 -05:00
atom_api_app.h feat: enable mixed-sandbox mode by default (#15894) 2019-01-22 10:44:28 -08:00
atom_api_app_mas.mm
atom_api_auto_updater.cc Revert "feat: upgrade to Chromium 72.0.3626.52 (#16334)" 2019-01-22 12:01:04 -08:00
atom_api_auto_updater.h
atom_api_browser_view.cc Revert "feat: upgrade to Chromium 72.0.3626.52 (#16334)" 2019-01-22 12:01:04 -08:00
atom_api_browser_view.h fix: destroy WebContents synchronously on shutdown (#15541) 2018-11-08 07:57:28 -08:00
atom_api_browser_window.cc fix: prevent double-destroy of window (#16472) 2019-01-21 14:56:30 -08:00
atom_api_browser_window.h feat: add multi BrowserView support to BrowserWindow (#16148) 2018-12-22 10:49:26 +09:00
atom_api_browser_window_mac.mm Revert "feat: upgrade to Chromium 72.0.3626.52 (#16334)" 2019-01-22 12:01:04 -08:00
atom_api_browser_window_views.cc
atom_api_content_tracing.cc feat: Upgrade to Chromium 71.0.3578.98 (#15966) 2019-01-11 17:00:43 -08:00
atom_api_cookies.cc feat: Upgrade to Chromium 71.0.3578.98 (#15966) 2019-01-11 17:00:43 -08:00
atom_api_cookies.h refactor: create request context from network context (#14656) 2018-10-04 13:08:56 -05:00
atom_api_debugger.cc Revert "feat: upgrade to Chromium 72.0.3626.52 (#16334)" 2019-01-22 12:01:04 -08:00
atom_api_debugger.h chore: enable debugger api specs (#14475) 2018-09-07 00:44:22 +10:00
atom_api_desktop_capturer.cc perf: and refactor: Code Scope + Minor Performance Improvement. (#16467) 2019-01-25 09:39:32 -05:00
atom_api_desktop_capturer.h security: allow to block desktopCapturer.getSources() calls (#15964) 2018-12-20 11:44:30 +09:00
atom_api_dialog.cc feat: add methods to allow customization of save dialog during will-download event (#15497) 2018-11-08 10:51:06 -04:00
atom_api_download_item.cc Revert "feat: upgrade to Chromium 72.0.3626.52 (#16334)" 2019-01-22 12:01:04 -08:00
atom_api_download_item.h feat: add methods to allow customization of save dialog during will-download event (#15497) 2018-11-08 10:51:06 -04:00
atom_api_event.cc feat: add remote.require() / remote.getGlobal() filtering (#15014) 2018-10-18 14:36:45 +11:00
atom_api_global_shortcut.cc fix: don't register some shortcuts without accessibility (#16125) 2019-01-03 20:40:17 -08:00
atom_api_global_shortcut.h feat: allow registering multiple shortcuts (#15542) 2018-11-07 09:40:38 -08:00
atom_api_in_app_purchase.cc Revert "feat: upgrade to Chromium 72.0.3626.52 (#16334)" 2019-01-22 12:01:04 -08:00
atom_api_in_app_purchase.h
atom_api_menu.cc Revert "feat: upgrade to Chromium 72.0.3626.52 (#16334)" 2019-01-22 12:01:04 -08:00
atom_api_menu.h fix: [UI] Resolve method conflict between MenuModel, SimpleMenuModel::Delegate 2018-12-03 20:07:39 +05:30
atom_api_menu_mac.h
atom_api_menu_mac.mm Revert "feat: upgrade to Chromium 72.0.3626.52 (#16334)" 2019-01-22 12:01:04 -08:00
atom_api_menu_views.cc fix: fix gn cpplint warnings (#14583) 2018-09-12 19:25:56 -05:00
atom_api_menu_views.h fix: fix gn cpplint warnings (#14583) 2018-09-12 19:25:56 -05:00
atom_api_net.cc Revert "feat: upgrade to Chromium 72.0.3626.52 (#16334)" 2019-01-22 12:01:04 -08:00
atom_api_net.h
atom_api_net_log.cc feat: Upgrade to Chromium 71.0.3578.98 (#15966) 2019-01-11 17:00:43 -08:00
atom_api_net_log.h refactor: create request context from network context (#14656) 2018-10-04 13:08:56 -05:00
atom_api_notification.cc Revert "feat: upgrade to Chromium 72.0.3626.52 (#16334)" 2019-01-22 12:01:04 -08:00
atom_api_notification.h refactor: move notifications from brightray to atom (#15209) 2018-10-17 20:01:11 +02:00
atom_api_power_monitor.cc Revert "feat: upgrade to Chromium 72.0.3626.52 (#16334)" 2019-01-22 12:01:04 -08:00
atom_api_power_monitor.h
atom_api_power_monitor_mac.mm chore: run clang-format 2018-09-19 17:18:10 +02:00
atom_api_power_monitor_win.cc chore: run clang-format 2018-09-19 17:18:10 +02:00
atom_api_power_save_blocker.cc chore: post_task and friends now live under base/task 2018-12-03 20:07:38 +05:30
atom_api_power_save_blocker.h refactor: use public WakeLock interface (#15351) 2018-10-23 22:12:58 -07:00
atom_api_protocol.cc feat: promisify protocol.isProtocolHandled() (#16423) 2019-01-17 09:05:10 -08:00
atom_api_protocol.h feat: promisify protocol.isProtocolHandled() (#16423) 2019-01-17 09:05:10 -08:00
atom_api_render_process_preferences.cc refactor: remove WebContents::CreateFrom (#15241) 2018-10-19 17:52:07 +09:00
atom_api_render_process_preferences.h
atom_api_screen.cc Revert "feat: upgrade to Chromium 72.0.3626.52 (#16334)" 2019-01-22 12:01:04 -08:00
atom_api_screen.h
atom_api_session.cc Revert "feat: upgrade to Chromium 72.0.3626.52 (#16334)" 2019-01-22 12:01:04 -08:00
atom_api_session.h stop using x-devtools-emulate-network-conditions-client-id header 2018-10-09 14:38:00 -07:00
atom_api_system_preferences.cc Revert "feat: upgrade to Chromium 72.0.3626.52 (#16334)" 2019-01-22 12:01:04 -08:00
atom_api_system_preferences.h fix: don't register some shortcuts without accessibility (#16125) 2019-01-03 20:40:17 -08:00
atom_api_system_preferences_mac.mm feat: Upgrade to Chromium 71.0.3578.98 (#15966) 2019-01-11 17:00:43 -08:00
atom_api_system_preferences_win.cc feat: detect high contrast color mode (#15493) 2018-10-31 10:22:18 -04:00
atom_api_top_level_window.cc Revert "feat: upgrade to Chromium 72.0.3626.52 (#16334)" 2019-01-22 12:01:04 -08:00
atom_api_top_level_window.h feat: Upgrade to Chromium 71.0.3578.98 (#15966) 2019-01-11 17:00:43 -08:00
atom_api_tray.cc Revert "feat: upgrade to Chromium 72.0.3626.52 (#16334)" 2019-01-22 12:01:04 -08:00
atom_api_tray.h
atom_api_url_request.cc
atom_api_url_request.h
atom_api_view.cc Revert "feat: upgrade to Chromium 72.0.3626.52 (#16334)" 2019-01-22 12:01:04 -08:00
atom_api_view.h build: define compile time features with buildflag header (#14840) 2018-10-01 16:00:53 -04:00
atom_api_web_contents.cc refactor: pass internal flag via IPC message struct for consistency (#16490) 2019-01-23 08:24:57 -08:00
atom_api_web_contents.h refactor: pass internal flag via IPC message struct for consistency (#16490) 2019-01-23 08:24:57 -08:00
atom_api_web_contents_impl.cc Revert "feat: upgrade to Chromium 72.0.3626.52 (#16334)" 2019-01-22 12:01:04 -08:00
atom_api_web_contents_mac.mm Revert "feat: upgrade to Chromium 72.0.3626.52 (#16334)" 2019-01-22 12:01:04 -08:00
atom_api_web_contents_view.cc fix: Remove DEFINE_WEB_CONTENTS_USER_DATA_KEY in //electron. 2018-12-03 20:07:39 +05:30
atom_api_web_contents_view.h refactor: move devtools from brightray to atom (#15234) 2018-10-19 15:50:30 +02:00
atom_api_web_request.cc feat: Upgrade to Chromium 71.0.3578.98 (#15966) 2019-01-11 17:00:43 -08:00
atom_api_web_request.h
atom_api_web_view_manager.cc fix: use OOPIF for webview tag (#13869) 2018-08-16 15:57:40 -07:00
event.cc
event.h
event_emitter.cc Merge remote-tracking branch 'origin/chromium-upgrade/72' 2019-01-22 12:01:18 -08:00
event_emitter.h chore: fix v8 deprecation warnings 2018-12-03 20:07:43 +05:30
frame_subscriber.cc feat: Upgrade to Chromium 71.0.3578.98 (#15966) 2019-01-11 17:00:43 -08:00
frame_subscriber.h fix: reimplement FrameSubscriber with mojo, re-enable tests 2018-12-03 20:07:43 +05:30
gpu_info_enumerator.cc feat: Upgrade to Chromium 71.0.3578.98 (#15966) 2019-01-11 17:00:43 -08:00
gpu_info_enumerator.h feat: Upgrade to Chromium 71.0.3578.98 (#15966) 2019-01-11 17:00:43 -08:00
gpuinfo_manager.cc fix: add microtask runner and fix promise test (#15071) 2018-10-16 02:26:47 +11:00
gpuinfo_manager.h fix: add microtask runner and fix promise test (#15071) 2018-10-16 02:26:47 +11:00
save_page_handler.cc
save_page_handler.h
stream_subscriber.cc feat: Upgrade to Chromium 71.0.3578.98 (#15966) 2019-01-11 17:00:43 -08:00
stream_subscriber.h chore: run clang-format to clear linter for #14977 (#14990) 2018-10-05 10:38:27 -05:00
trackable_object.cc fix: fix gn cpplint warnings (#14583) 2018-09-12 19:25:56 -05:00
trackable_object.h