Birunthan Mohanathas
cd407d1c3f
Stop overwriting prevent_default if default wasn't prevented
...
This didn't actually cause any issues because there is only one listener
for the affected methods right now. Should we have added more, the last
called observer would have overwritten `prevent_default`. Lets only set
it when necessary to avoid this footgun in the future.
2018-04-19 12:45:21 +02:00
Cheng Zhao
6c9f3066fd
Merge pull request #12637 from electron/expose-toplevel-window
...
Refactor NativeWindow (Part 7): Expose TopLevelWindow in JavaScript
2018-04-19 14:52:04 +09:00
Cheng Zhao
7473b612c5
Make Menu API accept TopLevelWindow
2018-04-19 13:08:37 +09:00
Cheng Zhao
1340b17424
Do not return TopLevelWindow in BrowserWindow.getAllWindows
2018-04-19 13:08:37 +09:00
Cheng Zhao
e38f511737
Make BrowserWindow inheirt TopLevelWindow in JS
2018-04-19 13:08:37 +09:00
Cheng Zhao
71ebd99dfa
Expose TopLevelWindow to JavaScript
2018-04-19 13:08:36 +09:00
Cheng Zhao
cfed9fa4b9
Make sure we append parent->child_windows after InitWith
2018-04-19 12:45:48 +09:00
Shelley Vohr
c090dd2f81
Merge pull request #12649 from electron/clang-format-brightray
...
clang-format brightray
2018-04-18 22:59:04 -04:00
Cheng Zhao
47826a1262
Merge pull request #12648 from electron/clang-format-atom
...
clang-format atom files
2018-04-19 11:49:35 +09:00
Cheng Zhao
89d909ab43
Only include UIAutomationCoreApi.h where necessary
2018-04-19 11:14:55 +09:00
Shelley Vohr
35a4a07320
fix include definition errors
2018-04-18 20:48:46 -04:00
Shelley Vohr
ec35966715
remove unused macro
2018-04-18 20:48:45 -04:00
Shelley Vohr
9f7a8832a1
remove include ordering filter
2018-04-18 20:48:45 -04:00
Shelley Vohr
c6f4bbd143
also format missing .cc files
2018-04-18 20:48:45 -04:00
Shelley Vohr
53bdf22c85
clang-format atom files
2018-04-18 20:48:45 -04:00
John Kleinschmidt
717f55b012
Merge pull request #11328 from electron/add-env-to-release-docs
...
expanded release docs
2018-04-18 11:28:16 -04:00
Shelley Vohr
f8e523b277
Merge pull request #12646 from electron/new-base-bind-converters
...
add converters for base::BindOnce and base::BindRepeating
2018-04-17 22:18:54 -04:00
Shelley Vohr
49c8c31220
format previously misses .cc files
2018-04-17 21:56:12 -04:00
Shelley Vohr
284aca68c0
clang-format brightray
2018-04-17 21:46:27 -04:00
Shelley Vohr
ca406637af
add converters for base::BindOnce and base::BindRepeating
2018-04-17 18:47:12 -04:00
Alexey Kuzmin
a254f3d02c
Update trop whitelist ( #12642 )
...
* Sort authorizedUsers alphabetically
* Add alexeykuzmin to the authorizedUsers list
* Add deepak1556 to the authorizedUsers list
* Add nornagon to the authorizedUsers list
* Add nitsakh to the authorizedUsers list
* Add zcbenz to the authorizedUsers list
* Add jkleinsc to the authorizedUsers list
2018-04-18 01:23:03 +10:00
Shelley Vohr
7a8a0f6b4b
Merge pull request #12616 from electron/fix-copy-to
...
switch to sk_tool_utils::copy_to()
2018-04-16 22:18:23 -04:00
Zeke Sikelianos
40ff17c9f9
Merge pull request #12619 from electron/add-before-update-event
...
add new event to auto-updater
2018-04-16 12:43:15 -07:00
Shelley Vohr
354f872919
run clang-format
2018-04-16 15:08:17 -04:00
Shelley Vohr
a19ddfc578
fix copy_to conditional
2018-04-16 12:14:35 -04:00
Samuel Attard
d06c79f5d3
Correct the default of allowRunningInsecureContent as per docs ( #12556 )
...
* Correct the default of allowRunningInsecureContent as per docs
* fix linting
* Update calls to match native_mate API change
2018-04-16 08:28:54 -05:00
Shelley Vohr
90a7b5ebce
switch to simplified version of copy_to
2018-04-16 08:47:34 -04:00
Shelley Vohr
4cb41ac425
clarify usage around before-quit-for-update event
2018-04-16 08:13:04 -04:00
Samuel Attard
7cc3b877dc
Fix event leak on reuse of touchbar item ( #12527 )
...
* fix event leak on reuse of touchbar item
* Clean up child touch bar item event listeners and escape item listeners
2018-04-15 10:24:47 -05:00
Birunthan Mohanathas
cd8278dceb
Add missing event parameter to console-message ( #12617 )
2018-04-15 10:13:02 -05:00
Shelley Vohr
06892775d4
add new event to auto-updater
2018-04-14 21:29:36 -04:00
Shelley Vohr
43a9092c16
remove accidental file change
2018-04-14 21:24:19 -04:00
Shelley Vohr
1727a9eca9
pull up definition and remove include
2018-04-14 21:23:05 -04:00
Shelley Vohr
8b4a89c445
.deepCopyTo() => sk_tool_utils::copy_to()
2018-04-14 12:50:55 -04:00
Zeke Sikelianos
e606a74de3
Merge pull request #12595 from Zhangdroid/fix-broken-url
...
[doc] Fix broken url
2018-04-13 19:08:20 -07:00
Cheng Zhao
858828d343
Refactor NativeWindow (Part 6): Move NativeWindow bindings to api::TopLevelWindow ( #12596 )
...
* Add atom::api::TopLevelWindow
* Make BrowserWindow inherit TopLevelWindow
* Fix reading from wrong weak map
* Read options after setting content view
* OnWindowClosed is not guarenteed to run now
* Fix the offscreen hack in BrowserWindow
* Fix building on Linux
* Fix tests on Linux
* Fix building on Windows
2018-04-14 11:04:23 +09:00
Zhuo Zhang
de1eae288c
doc: rename 'blink-feature-string' as 'runtime-enabled-features'
...
make it more meaningful :)
2018-04-14 08:49:30 +08:00
Charles Kerr
03d119d539
Address @jkleinsc's 2018-03-21 comments
2018-04-13 16:10:53 -05:00
Zeke Sikelianos
23bb3bd963
Merge pull request #12577 from TiagoDanin-Forks/DeadURLs
...
[Docs] Fix dead urls
2018-04-13 11:04:11 -07:00
Zhuo Lu
a0cac05555
Clear cache storage data ( #12546 )
2018-04-13 13:03:16 -04:00
Robo
ad2baccefa
tools: pass custom template for js2c ( #12593 )
...
* Update node v9.7.0 ref
* tools: pass custom template to node/tools/js2c.py
2018-04-13 08:20:04 -04:00
Shelley Vohr
9e5c264012
Merge pull request #12601 from electron/makeunique-replace
...
Replace base::MakeUnique with std::make_unique
2018-04-13 08:19:26 -04:00
Shelley Vohr
d722008367
remove unnecessary ptr_util.h include
2018-04-12 22:34:26 -04:00
Shelley Vohr
b05932310b
replace base::MakeUnique with std::make_unique
2018-04-12 08:48:32 -04:00
Jeremy Apthorp
97fb15ac49
Enable WebFrame method forwarding in sandboxed renderers ( #12538 )
...
* Enable WebFrame method forwarding in sandboxed renderers
Fixes #9073
* Non-change to kick CI
2018-04-12 11:57:40 +10:00
Zhuo Zhang
dd45473356
fix broken url for 'blink-feature-string'
2018-04-11 15:02:54 +08:00
Cheng Zhao
558d36c1f3
Merge pull request #12584 from electron/no-webcontents-in-constructor
...
Refactor NativeWindow (Part 5): Add NativeWindow::SetContentView
2018-04-11 15:34:29 +09:00
Cheng Zhao
d706a30849
Fix crash when releasing window
2018-04-11 15:12:53 +09:00
Cheng Zhao
2b5bde4071
InstallView is no longer needed
2018-04-11 15:12:53 +09:00
Cheng Zhao
5a95aaaa54
kVibrancyType should be read in InitFromOptions
2018-04-11 15:12:53 +09:00