Milan Burda
7e7abc28f5
feat: promisify netLog.stopLogging ( #16862 )
2019-02-19 10:48:27 +00:00
Milan Burda
975a035d34
chore: re-enable devtools renderer sandbox ( #16864 )
...
* chore: re-enable devtools renderer sandbox
* chore: enable sandbox for chrome extension background script host renderers
2019-02-15 15:10:32 +05:30
Samuel Attard
5790869a3f
chore: refactor browser IPC into TS and app API into TS ( #16921 )
...
* chore: refactor browser IPC into typescript
* chore: refactor app.ts into Typescript
* Refactors app.dock into cpp
* Removes app.launcher which has not existed for 3 years
* Removes 2 deprecated APIs (that have been deprecated for more than one
major)
* Refactors deprecate.ts as well
2019-02-14 14:29:20 -08:00
deepak1556
d7fea1b484
REVIEW: fix possible -Wdeprecated-declarations warnings
2019-02-14 23:59:26 +05:30
Heilig Benedek
d7557cb66a
chore: use c++ manifests instead of json
2019-02-14 23:59:26 +05:30
Heilig Benedek
cece8bce0b
chore: make OSR compile on Windows
2019-02-14 23:59:26 +05:30
deepak1556
66db627913
Remove "layouttest" or "layout test" in //content
...
https://chromium-review.googlesource.com/c/chromium/src/+/1367391
2019-02-14 23:59:26 +05:30
deepak1556
76fde58e27
REVIEW: ui::Compositor: Simplify how ExternalBeginFrameClient is used.
...
https://chromium-review.googlesource.com/c/chromium/src/+/1388384
2019-02-14 23:59:26 +05:30
deepak1556
8a51c9c2f6
REVIEW: Have MouseWheelPhaseHandler agree on whether to route its wheel event
...
https://chromium-review.googlesource.com/c/chromium/src/+/1401664
2019-02-14 23:59:26 +05:30
deepak1556
3727982217
Delete tab pulsing feature.
...
https://chromium-review.googlesource.com/c/chromium/src/+/1407958
2019-02-14 23:59:25 +05:30
deepak1556
70bbbb84bb
Rename BlendTowardOppositeLuma() to BlendTowardContrastingEndpoint().
...
https://chromium-review.googlesource.com/c/chromium/src/+/1400060
2019-02-14 23:59:25 +05:30
Jeremy Apthorp
34d7e019ce
gfx::Path -> SkPath
...
https://chromium-review.googlesource.com/c/1392181
2019-02-14 23:59:25 +05:30
deepak1556
510ca79ddd
Enable DCHECK for renderer-initiated navigations requiring initiator.
...
https://chromium-review.googlesource.com/c/chromium/src/+/1385495
2019-02-14 23:59:24 +05:30
deepak1556
86a94126fb
Convert ProxyResolutionServiceProvider to use Network Service.
...
https://chromium-review.googlesource.com/c/chromium/src/+/1419264
2019-02-14 23:59:24 +05:30
deepak1556
1b982e200a
Autoplay: remove cross-origin autoplay policy from //chrome and //content.
...
https://chromium-review.googlesource.com/c/chromium/src/+/1362225
2019-02-14 23:59:24 +05:30
deepak1556
1d21e9c35d
Move client hints to content
...
https://chromium-review.googlesource.com/c/chromium/src/+/1376709
2019-02-14 23:59:23 +05:30
deepak1556
315f8c0cc7
DevToolsFrontendHost::Create to return unique_ptr instead of raw pointer
...
https://chromium-review.googlesource.com/c/chromium/src/+/1396614
2019-02-14 23:59:23 +05:30
deepak1556
9b82e7d27b
Change DevToolsEmbedderMessageDispatcher to use unique_ptr instead of raw pointers.
...
https://chromium-review.googlesource.com/c/chromium/src/+/1382701
2019-02-14 23:59:23 +05:30
deepak1556
61c46c6313
Replace SiteInstance::IsSameWebSite() with a new non-static method.
...
https://chromium-review.googlesource.com/c/chromium/src/+/1352856
2019-02-14 23:59:23 +05:30
deepak1556
e4cfc52c29
Remove const interfaces from content::RenderProcessHost.
...
https://chromium-review.googlesource.com/c/chromium/src/+/1356004
2019-02-14 23:59:23 +05:30
deepak1556
3898a44e88
Increase scope of URLLoader::FollowRedirect() API implementation.
...
https://chromium-review.googlesource.com/c/chromium/src/+/1369856
2019-02-14 23:59:23 +05:30
deepak1556
547add94d0
Make //ui/base/idle API synchronous
...
https://chromium-review.googlesource.com/c/chromium/src/+/1379183
2019-02-14 23:59:23 +05:30
deepak1556
dd4a31633f
split out color chooser browser dialog header
...
https://chromium-review.googlesource.com/c/chromium/src/+/1395146
2019-02-14 23:59:23 +05:30
deepak1556
52ef6d9ae4
[Printing] Stop using GetUserAgent from non-browser process
...
https://chromium-review.googlesource.com/c/chromium/src/+/1353052
2019-02-14 23:59:23 +05:30
deepak1556
2c282203b5
v8: Remove obsolete V8 extras flag
...
https://chromium-review.googlesource.com/c/chromium/src/+/1404554
2019-02-14 23:59:22 +05:30
deepak1556
1c4241bff5
Move BackgroundColor from widgets and child frames to the WebView.
...
https://chromium-review.googlesource.com/c/chromium/src/+/1382861
2019-02-14 23:59:22 +05:30
deepak1556
b2bd9ffd70
Downloads : Adding metered network info and retry count to download item
...
https://chromium-review.googlesource.com/c/chromium/src/+/1352628
2019-02-14 23:59:22 +05:30
deepak1556
e1502f6953
Move GetUserAgent from ContentClient to ContentBrowserClient
...
https://chromium-review.googlesource.com/c/chromium/src/+/1352086
2019-02-14 23:59:22 +05:30
deepak1556
abec938b0a
Use base::size rather than arraysize
...
https://bugs.chromium.org/p/chromium/issues/detail?id=837308
2019-02-14 23:59:22 +05:30
deepak1556
a913e396d5
[SM] Use C++ Manifests for SM embedders
...
https://chromium-review.googlesource.com/c/chromium/src/+/1383530
2019-02-14 23:59:21 +05:30
deepak1556
79040e348a
Change the source origin parameter type for CanCreateWindow from GURL to url::Origin.
...
https://chromium-review.googlesource.com/c/chromium/src/+/1395066
2019-02-14 23:59:21 +05:30
deepak1556
9439ac108d
content: Fix WebContentsUserData for usage across components.
...
https://chromium-review.googlesource.com/c/chromium/src/+/1354402
2019-02-14 23:59:21 +05:30
deepak1556
a864167d46
Move MediaStream Mojo and public interfaces to Blink.
...
https://chromium-review.googlesource.com/c/chromium/src/+/1389998
2019-02-14 23:59:21 +05:30
deepak1556
92cfc4a62d
fix: update deprecated v8 api usage
2019-02-14 23:59:21 +05:30
Shelley Vohr
de27911661
feat: promisify webContents.savePage() ( #16742 )
...
* feat: promisify webContents.savePage()
* no need to make compatible w callbacks, we're breaking it
* fix promise resolve type
* address feedback from review
* fix promise return text
* update smoke test
2019-02-14 09:03:28 -08:00
Milan Burda
2492f0bcac
refactor: promisify prototype methods ( #16935 )
2019-02-14 03:40:24 -10:00
Shelley Vohr
46a24c82ff
feat: add Touch ID authentication support for macOS ( #16707 )
...
This PR adds Touch ID authentication support for macOS with two new `SystemPreferences` methods.
1. `systemPreferences.promptForTouchID()` returns a Promise that resolves with `true` if successful and rejects with an error message if authentication could not be completed.
2. `systemPreferences.isTouchIDAvailable()` returns a Boolean that's `true` if this device is a Mac running a supported OS that has the necessary hardware for Touch ID and `false` otherwise.
2019-02-13 18:36:28 -08:00
Electron Bot
95214fcd4b
Bump v6.0.0-nightly.20190213
2019-02-13 13:44:57 -08:00
Shelley Vohr
fed5b99a9f
feat: promisify contentTracing.getTraceBufferUsage() ( #16600 )
...
* feat: promsify contentTracing.getTraceBufferUsage()
* deprecate getTraceBufferUsage
* address feedback from review
* properly deprecate
2019-02-13 13:24:57 -08:00
Milan Burda
1f458eb177
feat: promisify debugger.sendCommand() ( #16861 )
...
* remove duplicate entry for desktopCapturer.getSources
* feat: promisify debugger.sendCommand
2019-02-13 07:23:53 -10:00
John Kleinschmidt
46f818b0c3
feat: add file preview for GTK file picker ( #16447 )
2019-02-13 06:52:14 -10:00
Shelley Vohr
ca83d36426
feat: promisify app.dock.show() ( #16904 )
...
* feat: promisify app.dock.show
* add a spec
2019-02-12 21:06:33 -08:00
Electron Bot
98b05b8428
Bump v6.0.0-nightly.20190212
2019-02-12 10:09:30 -08:00
Electron Bot
8141a26ba9
Bump v6.0.0-nightly.20190211
2019-02-11 17:40:41 -08:00
Samuel Attard
9deaacb454
Revert "Bump v6.0.0-nightly.20190211"
...
This reverts commit c92233cbc8
.
2019-02-11 14:23:46 -08:00
Electron Bot
c92233cbc8
Bump v6.0.0-nightly.20190211
2019-02-11 14:08:24 -08:00
Samuel Attard
20d9f4b2b5
Revert "Bump v6.0.0-nightly.20190211"
...
This reverts commit dc0be294dd
.
2019-02-11 14:05:22 -08:00
Electron Bot
dc0be294dd
Bump v6.0.0-nightly.20190211
2019-02-11 13:32:01 -08:00
Shelley Vohr
9dd3338ede
chore: revert "Bump v6.0.0-nightly.20190208"
...
This reverts commit 70042d2597
.
2019-02-11 13:22:44 -08:00
Milan Burda
d8ba1278d1
chore: disable the remote module in devtools / chrome extension background scripts ( #16866 )
...
* cache isRemoteModuleEnabled
* chore: disable the remote module in devtools / chrome extension background scripts
2019-02-11 10:42:37 -10:00
Heilig Benedek
ccc60a1f33
fix: enable autofill popups on mac ( #16308 )
...
* feat: enable autofill popups on mac
* fix: make popup positioning better
* fix: don't try to show popup when widget is closing or not visible
* fix: unify conditions
* refactor: use PopupViewCommon from chrome directly
* lint: mark constructor explicit
* fix: use a patch instead of dummy functions to make things compile on Windows
* chore: address review suggestions
* Update atom/browser/ui/cocoa/views_delegate_mac.mm
Co-Authored-By: brenca <benecene@gmail.com>
2019-02-11 09:38:58 -10:00
Milan Burda
36ce3e9546
feat: promisify webContents.printToPDF() ( #16795 )
2019-02-11 09:20:04 -10:00
Shelley Vohr
1898f91620
fix: enable property having no effect on submenus ( #16835 )
2019-02-08 18:07:08 -08:00
Electron Bot
70042d2597
Bump v6.0.0-nightly.20190208
2019-02-08 13:28:42 -08:00
Shelley Vohr
c80c3c18dc
Revert "Bump v6.0.0-nightly.20190207"
...
This reverts commit c8282efb75
.
2019-02-08 13:26:18 -08:00
Shelley Vohr
ccf46a57bc
fix: display empty menu item for non-visible submenus ( #16832 )
...
* fix: display empty menu item for nonvisible submenus
* use Chromium UI string ID
2019-02-08 13:19:01 -08:00
Shelley Vohr
062778c031
fix: don't construct submenu if it's invisible ( #16834 )
2019-02-08 12:54:39 -08:00
Electron Bot
c8282efb75
Bump v6.0.0-nightly.20190207
2019-02-07 14:13:50 -08:00
Julien Isorce
27bd47a333
feat: implement BrowserWindow.moveTop on X11 ( #16629 )
...
It was implemented on Mac and Win but not on X11.
Tested on Ubuntu 16.04 and 18.04.
Also added a unit test in spec/api-browser-window-spec.js.
This test BrowserWindow.moveTop verifies that calling moveTop
on a window does not give the focus to this window.
notes: BrowserWindow.moveTop is now available on Linux/x11
https://github.com/electron/electron/issues/12516
2019-02-07 12:48:19 -08:00
Shelley Vohr
29501dbd01
Revert "Bump v6.0.0-nightly.20190206"
...
This reverts commit e8608c2dbd
.
2019-02-06 18:23:14 -08:00
Electron Bot
e8608c2dbd
Bump v6.0.0-nightly.20190206
2019-02-06 14:43:32 -08:00
Cheng Zhao
d53b51607c
fix: do not increase ref-counting in wrong thread ( #16738 )
2019-02-06 18:22:02 +09:00
Heilig Benedek
ff461d9d26
fix: make getUserMedia APIs work again on C72+ ( #16763 )
...
* fix: resolve macos check for video and audio capture devices
* fix: resolve a minor compilation error
2019-02-05 21:25:42 -08:00
Shelley Vohr
f303caa87c
refactor: remove ServiceWorker APIs from WebContents ( #16717 )
2019-02-04 22:22:46 -08:00
Cheng Zhao
758d709c7a
fix: crash when calling setProgressBar on macOS ( #16374 )
...
* fix: correctly check whether dock has progress bar
* fix: do not leak memory when setting dockTile
2019-02-04 15:59:06 -08:00
Shelley Vohr
f142aae9eb
chore: remove unused variable in removeWindow ( #16715 )
2019-02-04 15:00:39 -08:00
michtsu
392458b252
Add devtools API to inspect shared worker. ( #16615 )
2019-02-01 10:44:24 -08:00
Cheng Zhao
31c7ed9b8c
fix: shutdown after message loop is ready ( #16671 )
2019-02-01 10:21:49 -05:00
Shelley Vohr
c8c1be7ae5
feat: add window removeMenu() method ( #16570 )
...
* feat: add window removeMenu() method
* chore: remove original method from docs and code
* retain backwards compatibility
2019-01-31 10:58:23 -08:00
Birunthan Mohanathas
6c77c220f7
chore: Fix typo in AtomDownloadManagerDelegate::OnDownloadSaveDialogDone ( #16646 )
...
I believe the existing code was fine, but better be safe than sorry.
This typo was introduced in #16612 .
2019-01-31 20:18:20 +09:00
Shelley Vohr
ba57e1d991
feat: promisify contentTracing recording APIs ( #16584 )
...
* feat: promisify contentTracing.startRecording()
* feat: promisify contentTracing.stopRecording()
* test: convert specs for new promisified apis
* chore: deprecate and ensure legacy tests work
2019-01-30 18:53:55 -08:00
Heilig Benedek
cbb5164cc8
fix: improve the way frameless windows are handled on Windows ( #16596 )
...
* fix: improve the way frameless windows are handled on Windows
* tidy up code
* fix: return nullAcceleratedWidget instead of nullptr
* fix: format, use reinterpret cast
2019-01-31 11:19:47 +09:00
Vladimir
49ec7e1582
feat: flexible autoresize for BrowserViews ( #16184 )
...
* feat: flexible autoresize for BrowserViews
* fix: change to static_cast
* Slight format code
2019-01-31 11:07:19 +09:00
Birunthan Mohanathas
927aac306f
fix: use async save dialog for anchor download attribute ( #16612 )
2019-01-31 11:06:55 +09:00
Nitish Sakhawalkar
bd4e14dcee
fix: update docs for protocol API ( #16601 )
...
* fix: update docs for protocol API
* upddate source for new attribute name
* update electron-typescript-definitions package
2019-01-30 12:54:18 -08:00
Shelley Vohr
641b47f384
feat: promisify contentTracing.getCategories() ( #16583 )
...
* feat: promisify contentTracing.getCategories()
* deprecate contentTracing/getCategories
2019-01-30 12:39:55 -08:00
Shelley Vohr
c7677b23e6
fix: enable and update osr ( #16517 )
...
* fix: enable OSR
* fix some macos errors
* fix client reset not in guard
* fix things not rendering on mac
2019-01-30 09:33:32 -08:00
Cheng Zhao
323b688ab8
fix: check the root window in MenuBar::SetPanelFocus ( #16581 )
2019-01-29 13:21:32 -08:00
Nitish Sakhawalkar
940c4c0787
feat: move webFrame scheme privilege methods to main process ( #16416 )
...
* chore: deprecate webFrame.registerURLSchemeAsPrivileged
* Add register schemes protocol api
* update branch to enable browser process API
* Revert deprecation changes
* Fetch API support
* Updated api to take an array, still working on tests
* Update tests
* Remove web frame API
* Minor changes
* update scheme registrations on browser and renderer process
* fix: enable ses.getBlobData spec
* Update breaking changes doc
2019-01-29 16:11:01 +09:00
Shelley Vohr
a25f82c91f
fix: reject with error when url not loaded ( #16571 )
...
* fix: reject with error when url not loaded
* improve descriptive spec naming
2019-01-28 14:42:36 -08:00
Shelley Vohr
d105dcc0d3
feat: promisify webContents.hasServiceWorker() ( #16535 )
...
* feat: promisify contents.hasServiceWorker()
* spec: add initial test for hasServiceWorker()
2019-01-26 10:23:16 -08:00
Jeremy Apthorp
63bf370cc0
fix: registerStreamProtocol callback with large chunks ( #16532 )
2019-01-25 10:57:26 -08:00
Charles Kerr
8396a2d504
feat: promisify cookies api ( #16464 )
...
* feat: promisify the Cookie API
* chore: update specs to test promisified cookies
* chore: add deprecate wrapper for cookie callback API
* docs: update docs to cookie promise changes
* chore: remove redundant namespace use
* docs: improve cookie example
* docs: restore docs for cookie callback API
* chore: restore cookie callback tests
* fix: syntax of cookie promise return types
2019-01-25 12:11:35 -06:00
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
Electron Bot
90151879cc
Bump v6.0.0-nightly.20190123
2019-01-23 11:49:22 -08:00
Milan Burda
cc90919384
refactor: pass internal flag via IPC message struct for consistency ( #16490 )
2019-01-23 08:24:57 -08:00
Samuel Attard
f3e30c7ae3
Merge remote-tracking branch 'origin/chromium-upgrade/72'
2019-01-22 12:01:18 -08:00
Samuel Attard
0b85fb7ea2
Revert "feat: upgrade to Chromium 72.0.3626.52 ( #16334 )"
...
This reverts commit 1918e76913
.
2019-01-22 12:01:04 -08:00
Samuel Attard
58a6fe13d6
feat: preloads and nodeIntegration in iframes ( #16425 )
...
* feat: add support for node / preloads in subframes
This feature has delibrately been built / implemented in such a way
that it has minimum impact on existing apps / code-paths.
Without enabling the new "nodeSupportInSubFrames" option basically none of this
new code will be hit.
The things that I believe need extra scrutiny are:
* Introduction of `event.reply` for IPC events and usage of `event.reply` instead of `event.sender.send()`
* Usage of `node::FreeEnvironment(env)` when the new option is enabled in order to avoid memory leaks. I have tested this quite a bit and haven't managed to cause a crash but it is still feature flagged behind the "nodeSupportInSubFrames" flag to avoid potential impact.
Closes #10569
Closes #10401
Closes #11868
Closes #12505
Closes #14035
* feat: add support preloads in subframes for sandboxed renderers
* spec: add tests for new nodeSupportInSubFrames option
* spec: fix specs for .reply and ._replyInternal for internal messages
* chore: revert change to use flag instead of environment set size
* chore: clean up subframe impl
* chore: apply suggestions from code review
Co-Authored-By: MarshallOfSound <samuel.r.attard@gmail.com>
* chore: clean up reply usage
* chore: fix TS docs generation
* chore: cleanup after rebase
* chore: rename wrap to add in event fns
2019-01-22 11:24:46 -08:00
Jeremy Apthorp
92b9525cfd
feat: enable mixed-sandbox mode by default ( #15894 )
2019-01-22 10:44:28 -08:00
Jeremy Apthorp
1918e76913
feat: upgrade to Chromium 72.0.3626.52 ( #16334 )
2019-01-22 10:39:32 -08:00
Jeremy Apthorp
6d4480ea6b
feat: allow setting autoplayPolicy in webPreferences ( #16396 )
2019-01-22 10:32:06 -08:00
Jeremy Apthorp
f115376595
fix: remove pretarget handler before window destruction
2019-01-22 10:32:06 -08:00
Cheng Zhao
03d499bf34
fix: detach webview instead of destroying it
...
Chromium no longer cleans up everything when a guest webcontents is
destroyed, we have to force detaching it and let Chromium destroy everything.
2019-01-22 10:32:06 -08:00
Jeremy Apthorp
5e043812ef
fix HandleKeyboardEvent merge failure
2019-01-22 10:32:06 -08:00
Jeremy Apthorp
7764ca7209
add missing include for l10n_util.h on win
2019-01-22 10:32:06 -08:00
Jeremy Apthorp
212d858bf4
set autoplay policy to no-user-gesture-required by default
2019-01-22 10:32:06 -08:00
deepak1556
ed5a865efb
Update GetAccessibleName() in view::ImageView and view::Button
...
https://chromium-review.googlesource.com/c/chromium/src/+/1256308
2019-01-22 10:32:05 -08:00
deepak1556
90b6d13714
Remove menu_marker from MenuButton.
...
https://chromium-review.googlesource.com/c/chromium/src/+/1324375
2019-01-22 10:32:05 -08:00
deepak1556
85333a5974
Move ViewsDelegate::NotifyAccessibilityEvent to an observer pattern
...
https://chromium-review.googlesource.com/c/chromium/src/+/1352265
2019-01-22 10:32:05 -08:00