Shelley Vohr
228a184b48
chore: remove unused FindByID helper ( #26826 )
2020-12-06 09:33:02 -08:00
Milan Burda
b37982987a
chore: remove unused sendToAll + related APIs ( #26771 )
...
* chore: remove unused sendToAll + related APIs
* refactor: no need to args.ShallowClone() anymore
2020-12-03 15:55:50 +09:00
Cheng Zhao
cffb51e141
chore: remove TODO on SetHidden calls ( #26746 )
2020-12-01 21:36:23 -08:00
Shelley Vohr
acfbbe9869
fix: draggable regions calculation in BrowserWindow/BrowserView ( #26690 )
2020-11-30 21:02:04 -08:00
Milan Burda
4e3e3d414d
refactor: simplify child process tracking for app.getAppMetrics() ( #26657 )
2020-12-01 10:47:46 +09:00
Jeremy Rose
770e245de5
fix: uaf in WebContents::DidStopLoading ( #26702 )
2020-11-29 21:03:07 -08:00
Jeremy Rose
9d54fdfd12
fix: crash on exit in Event destructor ( #26537 )
2020-11-24 15:41:06 +09:00
Jeremy Rose
854d2b1574
fix: reject contentTracing.stopRecording on failure ( #26608 )
2020-11-23 10:20:40 -08:00
Jeremy Rose
329494cfeb
fix: segfault on webContents.fromId(xxx) ( #26609 )
2020-11-23 09:21:00 -08:00
Milan Burda
b4196ca486
build: fix build with enable_printing=false ( #26597 )
2020-11-19 10:05:49 -05:00
LuoJinghua
e1cc78f275
feat: allow setting the Origin header and Sec-Fetch-* headers in net.request() ( #26135 )
2020-11-17 14:25:41 -08:00
Jeremy Rose
b8372fdc29
refactor: rename managed_web_contents to inspectable_web_contents ( #26525 )
2020-11-17 14:15:20 -08:00
Jeremy Rose
29211a51df
refactor: inline and rename findInPage request id ( #26524 )
2020-11-17 14:15:07 -08:00
Jeremy Rose
784172b6ca
chore: remove redundant access modifier ( #26523 )
2020-11-17 14:14:57 -08:00
Jeremy Rose
ac6d301015
chore: remove undocumented tabTraverse method ( #26522 )
2020-11-17 14:14:46 -08:00
Jeremy Rose
92643a5a1c
refactor: consolidate WebContents::{Create,New} ( #26521 )
2020-11-17 14:14:33 -08:00
Jeremy Rose
a303813d15
refactor: move GetPrinterList off WebContents ( #26518 )
2020-11-17 14:14:09 -08:00
Jeremy Rose
023c89265f
refactor: move TerminationStatus converter ( #26520 )
2020-11-17 11:13:58 -08:00
Jeremy Rose
ead13791a8
fix: setCertVerifyProc canceling unrelated requests ( #26517 )
2020-11-17 11:12:50 -08:00
Jeremy Rose
a9924e1c32
feat: add powerMonitor.onBatteryPower ( #26494 )
2020-11-16 16:31:46 -08:00
Samuel Attard
358ab79778
fix: do not use crashpad APIs in the MAS build ( #26491 )
2020-11-16 11:47:09 -06:00
Electron Bot
e017d8714e
chore: bump chromium to adc5df74b86afdff676989ced8cd3 (master) ( #26223 )
...
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
Co-authored-by: Jeremy Rose <jeremya@chromium.org>
Co-authored-by: John Kleinschmidt <jkleinsc@github.com>
2020-11-13 16:16:56 -08:00
Samuel Attard
d6019634f9
feat: add app.runningUnderRosettaTranslation to detect running under rosetta ( #26444 )
...
* feat: add app.isRunningUnderRosettaTranslation to detect running under rosetta
* chore: fixup
* chore: make const
* chore: add missing import
2020-11-13 12:53:32 -08:00
Samuel Maddock
83d30c5c2a
feat: add 'resized' event to BrowserWindow ( #26216 )
...
Also adds 'moved' event to BrowserWindow on Windows.
2020-11-11 19:27:24 -05:00
Cheng Zhao
bb3fb548d8
feat: add APIs to enable/disable spell checker ( #26276 )
...
* feat: add APIs to enable/disable bulitin spell checker
* feat: add togglespellchecker menu item role
2020-11-11 10:29:18 -05:00
Jeremy Rose
ff33fa1970
refactor: merge CommonWebContentsDelegate into api::WebContents ( #26189 )
2020-11-10 09:06:56 -08:00
loc
0b85fdf26c
feat: add webContents.setWindowOpenHandler API ( #24517 )
...
Co-authored-by: Jeremy Rose <jeremya@chromium.org>
2020-11-10 09:06:03 -08:00
Cheng Zhao
02a8c0a640
fix: make draggable regions work when devtools is opened on macOS ( #26361 )
...
* fix: make draggable region work when devtools is open
* fix: update draggable regions when resizing
2020-11-09 16:54:04 -05:00
Jeremy Rose
123e8d7038
fix: improve ses.cookies.set error message when url is missing ( #26268 )
2020-11-02 19:00:29 +09:00
Shelley Vohr
e021639472
fix: draggable region edge calculation on resize ( #26233 )
...
* fix: draggable region edge calculation on resize
* Feedback from review
2020-10-29 12:51:56 -07:00
bigben0123
84a42a050e
fix: incorrect Content-Disposition encoding ( #25961 )
...
* Fixed the filename in content-disposition chaos.
* Fixed lint fail.
* Add test code and some comment.
* Fix lint error.
* fix lint error.
* * test: onHeadersReceived doesn't change the filename in "content-disposition" (#25628 )
* fix lint error.
2020-10-28 16:00:49 +09:00
Electron Bot
bf89237f60
chore: bump chromium to 9b2191ea59cba1e2f6da4dbb7dee0 (master) ( #25995 )
2020-10-27 17:33:04 -07:00
Shelley Vohr
7cdc42f43a
fix: draggable regions exclusively on BrowserViews ( #26145 )
2020-10-27 14:28:43 -07:00
Milan Burda
1c99a9b425
refactor: Chromium code style for enum classes ( #26165 )
2020-10-27 10:51:45 -07:00
David Sanders
422190e1ff
chore: change some for loops to range-based ( #26182 )
2020-10-27 10:22:24 -07:00
David Sanders
d8167ce138
chore: use consistent parameter names ( #26162 )
2020-10-27 10:18:36 -05:00
LuoJinghua
201fc11b4b
feat: Added support for all proxy modes ( #24937 )
...
* feat: Added support for all proxy modes
This commit extended setProxy to support all proxy modes including
direct, auto_detect, pac_script, fixed_servers and system.
* feat: New api for reload proxy configurations
2020-10-27 15:50:06 +09:00
Jeremy Rose
ae323565f7
fix: delay emitting powerMonitor events on windows ( #25836 )
...
* fix: delay emitting powerMonitor events
* Update electron_api_power_monitor_win.cc
* Update electron_api_power_monitor_win.cc
* syntax
* Update electron_api_power_monitor_win.cc
* Update electron_api_power_monitor_win.cc
2020-10-27 10:25:23 +09:00
David Sanders
4be10523e8
chore: use auto to avoid repeating type ( #26113 )
2020-10-26 11:56:31 -07:00
LuoJinghua
0fc5f18b63
fix: Don't sort the headers of ClientRequest ( #26134 )
2020-10-26 11:33:36 -07:00
Milan Burda
aa157c3f05
feat: add osProcessId / name properties to webFrameMain ( #26093 )
...
* feat: add osProcessId / name properties to webFrameMain
* Update docs/api/web-frame-main.md
Co-authored-by: Jeremy Rose <jeremya@chromium.org>
Co-authored-by: Jeremy Rose <jeremya@chromium.org>
2020-10-26 06:03:34 +03:00
Samuel Attard
9d18f9d54f
fix: re-enable the spellchecker when new language list set ( #26119 )
...
* fix: re-enable the spellchecker when new language list set
Chromium recently added prefs logic to disable the spellchecker if the list of languages is empty, but the logic to re-enable if the languages are provided again lives in another part of Chromium. This change makes it so our API re-enables the spellchecker correctly when required.
* chore: fix lint
2020-10-23 00:34:19 -07:00
Jeremy Rose
2d49d82072
chore: synchronously destroy WebContents on event prevented ( #26090 )
2020-10-23 15:04:07 +09:00
David Sanders
554ad93d45
chore: prefer empty() check for readability ( #26109 )
2020-10-22 13:24:59 -07:00
David Sanders
d9db9873fd
fix: return early on promise rejection ( #26095 )
2020-10-22 10:53:42 -07:00
Samuel Maddock
10a209ecba
feat: add webPreferences.enablePreferredSizeMode ( #25874 )
...
* feat: add preferredSizeMode preference
* docs: webPreferences.preferredSizeMode and event
* docs: better explain preferred size
* docs: small improvement
* refactor: preferredSizeMode -> enablePreferredSizeMode
2020-10-21 15:44:19 -07:00
Jeremy Rose
22cb3cd18b
feat: add disabledCipherSuites option to setSSLConfig ( #25818 )
2020-10-21 11:03:59 -07:00
Milan Burda
df1432a315
feat: add net.online / net.isOnline() ( #21004 )
2020-10-20 19:55:06 -07:00
Valentin Hăloiu
c4525b4ea6
fix: add Wayland support ( #26022 )
2020-10-20 11:24:52 -07:00
Cheng Zhao
6b6ffbdd10
feat: add support for share menu on macOS ( #25629 )
2020-10-19 18:33:06 -07:00