electron/shell/browser
Iván Montes b3909f5600
fix: moveAbove not working on Windows (#23161)
* fix moveAbove on Windows systems

The documentation for [setWindowPos](https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-setwindowpos) second argument `hWndInsertAfter` is a bit confusing...

> A handle to the window to precede the positioned window in the Z order. This parameter must be a window handle or one of the following values.

Since Windows refers to the Z order from low to high it means that the window provided as reference will always _precede_ the electron window, which is the opposite of what we want in this function, since the electron window is displayed behind the referenced window.

The change is simply to ask `SetWindowPos` to position our window *behind* the window that's *above* the reference window, effectively making our window sit just above the reference one.

* lint
2020-04-21 15:58:38 -04:00
..
api fix: allow blocking IO for setAppLogsPath to avoid DCHECK (#23111) 2020-04-21 12:28:01 -07:00
extensions chore: bump chromium to 98ebf6c3f0b7bd96bdb1a4b42208f (master) (#22999) 2020-04-13 16:39:26 -07:00
lib refactor: ginify powerMonitor (#22751) 2020-03-24 09:03:29 -07:00
linux chore: bump chromium to f5b345dd470f14eef6e44732ccf23 (master) (#20649) 2019-10-28 15:12:35 -07:00
mac fix: revert {Atom => Electron}Application rename (#22206) 2020-02-21 11:05:03 -08:00
media refactor: run clang-tidy (#20231) 2019-09-16 18:12:00 -04:00
net fix: explicitly mark unlimited requests as max priority (#23118) 2020-04-20 12:16:34 -07:00
notifications chore: bump chromium to 98ebf6c3f0b7bd96bdb1a4b42208f (master) (#22999) 2020-04-13 16:39:26 -07:00
osr chore: bump chromium to 98ebf6c3f0b7bd96bdb1a4b42208f (master) (#22999) 2020-04-13 16:39:26 -07:00
plugins feat: enable pdf viewer (#21794) 2020-02-12 16:39:12 -08:00
printing chore: wrap cb with default invocation (#22013) 2020-02-04 19:06:03 +00:00
resources Bump v10.0.0-nightly.20200420 2020-04-20 08:31:48 -07:00
ui fix: add missing handle scope in file_dialog_gtk (#23109) 2020-04-15 10:45:32 -07:00
win
auto_updater.cc chore: remove native_mate (Part 8) (#20598) 2019-10-18 09:31:29 +09:00
auto_updater.h chore: remove native_mate (Part 8) (#20598) 2019-10-18 09:31:29 +09:00
auto_updater_mac.mm chore: remove native_mate (Part 12) (#20869) 2019-10-31 16:56:00 +09:00
browser.cc chore: bump chromium to 98ebf6c3f0b7bd96bdb1a4b42208f (master) (#22999) 2020-04-13 16:39:26 -07:00
browser.h chore: bump chromium to 98ebf6c3f0b7bd96bdb1a4b42208f (master) (#22999) 2020-04-13 16:39:26 -07:00
browser_linux.cc chore: bump chromium to 98ebf6c3f0b7bd96bdb1a4b42208f (master) (#22999) 2020-04-13 16:39:26 -07:00
browser_mac.mm feat: add force option to app.focus() (#22612) 2020-03-11 09:07:01 -07:00
browser_observer.h chore: bump chromium to 98ebf6c3f0b7bd96bdb1a4b42208f (master) (#22999) 2020-04-13 16:39:26 -07:00
browser_process_impl.cc chore: bump chromium to 5b340c815ce15ab2efcf277ed19e9 (master) (#22064) 2020-03-03 13:35:05 -08:00
browser_process_impl.h chore: bump chromium to 28254008f9e7a2aea5d4426906bfd (master) (#22025) 2020-02-06 07:05:30 +00:00
browser_win.cc feat: add force option to app.focus() (#22612) 2020-03-11 09:07:01 -07:00
child_web_contents_tracker.cc feat: enhance native window.open to match the custom implementation's behavior (#19703) 2020-03-26 11:05:45 -07:00
child_web_contents_tracker.h feat: enhance native window.open to match the custom implementation's behavior (#19703) 2020-03-26 11:05:45 -07:00
common_web_contents_delegate.cc refactor: migrate base::ThreadPool() as trait to base::ThreadPool:: API (#22555) 2020-03-09 09:13:59 -07:00
common_web_contents_delegate.h chore: rename atom -> electron (#21986) 2020-02-04 12:19:40 -08:00
common_web_contents_delegate_mac.mm
common_web_contents_delegate_views.cc chore: rename atom -> electron (#21986) 2020-02-04 12:19:40 -08:00
cookie_change_notifier.cc chore: rename atom -> electron (#21986) 2020-02-04 12:19:40 -08:00
cookie_change_notifier.h chore: rename atom -> electron (#21986) 2020-02-04 12:19:40 -08:00
electron_autofill_driver.cc fix: remove catch-all HandleScope (#22531) 2020-03-10 18:16:58 -07:00
electron_autofill_driver.h chore: rename atom -> electron (#21986) 2020-02-04 12:19:40 -08:00
electron_autofill_driver_factory.cc chore: rename atom -> electron (#21986) 2020-02-04 12:19:40 -08:00
electron_autofill_driver_factory.h chore: rename atom -> electron (#21986) 2020-02-04 12:19:40 -08:00
electron_browser_client.cc fix: webRequest module should work with file:// protocol (#22903) 2020-04-01 16:38:40 +09:00
electron_browser_client.h feat: enhance native window.open to match the custom implementation's behavior (#19703) 2020-03-26 11:05:45 -07:00
electron_browser_context.cc chore: bump chromium to 8f405dc5d5e416ffaf640aa3d088a (master) (#23107) 2020-04-14 17:14:38 -07:00
electron_browser_context.h refactor: ginify protocol (#22812) 2020-03-26 10:34:32 -07:00
electron_browser_main_parts.cc chore: bump chromium to 2600291d041c530698616a4716cdf (master) (#23122) 2020-04-20 20:25:38 -04:00
electron_browser_main_parts.h chore: bump chromium to 98ebf6c3f0b7bd96bdb1a4b42208f (master) (#22999) 2020-04-13 16:39:26 -07:00
electron_browser_main_parts_mac.mm fix: revert {Atom => Electron}Application rename (#22206) 2020-02-21 11:05:03 -08:00
electron_browser_main_parts_posix.cc chore: rename atom -> electron (#21986) 2020-02-04 12:19:40 -08:00
electron_download_manager_delegate.cc fix: missing HandleScope in OnDownloadPathGenerated (#23005) 2020-04-08 12:47:43 -07:00
electron_download_manager_delegate.h chore: rename atom -> electron (#21986) 2020-02-04 12:19:40 -08:00
electron_gpu_client.cc chore: rename atom -> electron (#21986) 2020-02-04 12:19:40 -08:00
electron_gpu_client.h chore: rename atom -> electron (#21986) 2020-02-04 12:19:40 -08:00
electron_javascript_dialog_manager.cc chore: remove discouraged base::Passed (#22871) 2020-04-13 13:52:07 -07:00
electron_javascript_dialog_manager.h chore: rename atom -> electron (#21986) 2020-02-04 12:19:40 -08:00
electron_navigation_throttle.cc fix: remove catch-all HandleScope (#22531) 2020-03-10 18:16:58 -07:00
electron_navigation_throttle.h chore: rename atom -> electron (#21986) 2020-02-04 12:19:40 -08:00
electron_paths.h chore: rename atom -> electron (#21986) 2020-02-04 12:19:40 -08:00
electron_pdf_web_contents_helper_client.cc refactor: remove references to non-existent webui (#20867) 2019-11-04 09:50:31 -08:00
electron_pdf_web_contents_helper_client.h refactor: remove references to non-existent webui (#20867) 2019-11-04 09:50:31 -08:00
electron_permission_manager.cc chore: rename atom -> electron (#21986) 2020-02-04 12:19:40 -08:00
electron_permission_manager.h chore: rename atom -> electron (#21986) 2020-02-04 12:19:40 -08:00
electron_quota_permission_context.cc chore: rename atom -> electron (#21986) 2020-02-04 12:19:40 -08:00
electron_quota_permission_context.h chore: rename atom -> electron (#21986) 2020-02-04 12:19:40 -08:00
electron_speech_recognition_manager_delegate.cc chore: rename atom -> electron (#21986) 2020-02-04 12:19:40 -08:00
electron_speech_recognition_manager_delegate.h chore: rename atom -> electron (#21986) 2020-02-04 12:19:40 -08:00
electron_web_ui_controller_factory.cc chore: rename atom -> electron (#21986) 2020-02-04 12:19:40 -08:00
electron_web_ui_controller_factory.h chore: rename atom -> electron (#21986) 2020-02-04 12:19:40 -08:00
event_emitter_mixin.cc refactor: EventEmitters without gin_helper (#22726) 2020-03-18 12:57:08 -07:00
event_emitter_mixin.h refactor: ginify Tray (#22822) 2020-03-30 10:32:02 +09:00
fake_location_provider.cc
fake_location_provider.h
feature_list.cc fix: some websites using WebComponents V0 not loading (#21858) 2020-01-22 22:03:17 +09:00
feature_list.h
font_defaults.cc
font_defaults.h
javascript_environment.cc refactor: ginify Tray (#22822) 2020-03-30 10:32:02 +09:00
javascript_environment.h fix: remove catch-all HandleScope (#22531) 2020-03-10 18:16:58 -07:00
login_handler.cc fix: remove catch-all HandleScope (#22531) 2020-03-10 18:16:58 -07:00
login_handler.h fix: implement 'login' event for net.ClientRequest (#21096) 2019-11-14 10:01:18 -08:00
microtasks_runner.cc chore: bump chromium to f755b70e34659441e72c1a928a406 (master) (#21000) 2019-12-10 16:22:35 -08:00
microtasks_runner.h chore: bump chromium to f755b70e34659441e72c1a928a406 (master) (#21000) 2019-12-10 16:22:35 -08:00
native_browser_view.cc chore: rename atom -> electron (#21986) 2020-02-04 12:19:40 -08:00
native_browser_view.h feat: add getBounds() method for BrowserView (#19370) 2019-07-29 19:43:05 -07:00
native_browser_view_mac.h feat: add getBounds() method for BrowserView (#19370) 2019-07-29 19:43:05 -07:00
native_browser_view_mac.mm feat: add getBounds() method for BrowserView (#19370) 2019-07-29 19:43:05 -07:00
native_browser_view_views.cc refactor: run clang-tidy (#20231) 2019-09-16 18:12:00 -04:00
native_browser_view_views.h feat: add getBounds() method for BrowserView (#19370) 2019-07-29 19:43:05 -07:00
native_window.cc chore: bump chromium to 5b340c815ce15ab2efcf277ed19e9 (master) (#22064) 2020-03-03 13:35:05 -08:00
native_window.h fix: propagate preferred color scheme to the renderer (#22896) 2020-03-30 15:39:50 -07:00
native_window_mac.h fix: propagate preferred color scheme to the renderer (#22896) 2020-03-30 15:39:50 -07:00
native_window_mac.mm fix: propagate preferred color scheme to the renderer (#22896) 2020-03-30 15:39:50 -07:00
native_window_observer.h feat: add rotate gesture for macOS (#19294) 2019-07-23 14:42:26 -05:00
native_window_views.cc fix: moveAbove not working on Windows (#23161) 2020-04-21 15:58:38 -04:00
native_window_views.h feat: default gtk darkTheme option to nativeTheme.shouldUseDarkColors for better platform support (#20138) 2020-03-30 15:02:16 +09:00
native_window_views_win.cc chore: rename atom -> electron (#21986) 2020-02-04 12:19:40 -08:00
network_hints_handler_impl.cc chore: rename atom -> electron (#21986) 2020-02-04 12:19:40 -08:00
network_hints_handler_impl.h chore: bump chromium to f755b70e34659441e72c1a928a406 (master) (#21000) 2019-12-10 16:22:35 -08:00
node_debugger.cc chore: bump node to v12.16.2 (master) (#23057) 2020-04-14 09:59:03 -07:00
node_debugger.h
pref_store_delegate.cc chore: rename atom -> electron (#21986) 2020-02-04 12:19:40 -08:00
pref_store_delegate.h chore: rename atom -> electron (#21986) 2020-02-04 12:19:40 -08:00
protocol_registry.cc fix: webRequest module should work with file:// protocol (#22903) 2020-04-01 16:38:40 +09:00
protocol_registry.h fix: webRequest module should work with file:// protocol (#22903) 2020-04-01 16:38:40 +09:00
relauncher.cc chore: rename atom -> electron (#21986) 2020-02-04 12:19:40 -08:00
relauncher.h
relauncher_linux.cc refactor: apply some 'clang-tidy -fix' changes (#20172) 2019-09-13 10:26:59 -04:00
relauncher_mac.cc
relauncher_win.cc
session_preferences.cc chore: bump chromium to 63be48daea281d4f8c834c2e707a7 (master) (#19923) 2019-09-18 15:58:00 -04:00
session_preferences.h
special_storage_policy.cc refactor: run clang-tidy (#20231) 2019-09-16 18:12:00 -04:00
special_storage_policy.h
unresponsive_suppressor.cc
unresponsive_suppressor.h
web_contents_permission_helper.cc chore: bump chromium to bc8f70ed4cfe2262ea833750eaddb (master) (#22649) 2020-03-14 16:54:14 -04:00
web_contents_permission_helper.h
web_contents_preferences.cc feat: disable the remote module by default (#22091) 2020-02-10 10:49:09 -08:00
web_contents_preferences.h chore: rename atom -> electron (#21986) 2020-02-04 12:19:40 -08:00
web_contents_zoom_controller.cc chore: bump chromium to e049d599a8332b9b2785b0178be74 (master) (#20314) 2019-10-18 12:57:34 -07:00
web_contents_zoom_controller.h chore: bump chromium to e049d599a8332b9b2785b0178be74 (master) (#20314) 2019-10-18 12:57:34 -07:00
web_dialog_helper.cc fix: missing HandleScope in WebDialogHelper (#22843) 2020-03-26 20:37:28 -07:00
web_dialog_helper.h
web_view_guest_delegate.cc chore: rename atom -> electron (#21986) 2020-02-04 12:19:40 -08:00
web_view_guest_delegate.h
web_view_manager.cc chore: rename atom -> electron (#21986) 2020-02-04 12:19:40 -08:00
web_view_manager.h
window_list.cc fix: nullptr check when closing windows (#22948) 2020-04-07 20:41:14 -07:00
window_list.h
window_list_observer.h
zoom_level_delegate.cc chore: bump chromium to e049d599a8332b9b2785b0178be74 (master) (#20314) 2019-10-18 12:57:34 -07:00
zoom_level_delegate.h