Charles Kerr
9684d85101
Revert "refactor: make LoginItemSettings::path a wstring"
...
This reverts commit 9127cff58b
.
2021-03-30 20:32:11 -05:00
Charles Kerr
9127cff58b
refactor: make LoginItemSettings::path a wstring
2021-03-30 17:14:27 -07:00
Jeremy Rose
83d93bcbdc
SetAppUserModelID -> wstring
2021-03-24 10:22:04 -07:00
John Kleinschmidt
2d3c65beca
2757472: Reland "Reland "[LSC] Remove base::string16 alias""
...
https://chromium-review.googlesource.com/c/chromium/src/+/2757472
2021-03-18 15:55:51 -04:00
John Kleinschmidt
22d8f22cfb
2757472: Reland "Reland "[LSC] Remove base::string16 alias""
...
https://chromium-review.googlesource.com/c/chromium/src/+/2757472
2021-03-16 12:18:45 -04:00
John Kleinschmidt
c5a41defbd
fix: enable navigator.setAppBadge/clearAppBadge ( #27067 )
2021-01-21 14:45:06 +09:00
Cheng Zhao
cd42933f41
chore: remove ancient Browser::Focus implementation on Windows ( #27279 )
2021-01-13 13:46:54 -08:00
bitdisaster
dbe0f06c3d
fix: getLoginItemSettings() on windows ( #26515 )
...
* find by exe, detect taskmgr enable/disable
* tests
2020-11-17 14:13:08 -06:00
Milan Burda
1c99a9b425
refactor: Chromium code style for enum classes ( #26165 )
2020-10-27 10:51:45 -07:00
David Sanders
554ad93d45
chore: prefer empty() check for readability ( #26109 )
2020-10-22 13:24:59 -07:00
George Xu
1b175a0609
feat: add capabilities to app.getLoginItemSettings() and app.setLoginItemSettings() ( #24494 )
...
* fixed
* semantic commit
* add comments to browser.h
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com>
2020-07-29 10:08:37 -07:00
Jeremy Rose
9c37e12e2d
refactor: ginify app ( #24679 )
2020-07-28 16:43:43 -07:00
George Xu
ee61eb9aa4
feat: add app.getApplicationInfoForProtocol API ( #24112 )
...
* pre merge
* windows changes
* added tests
* clean up
* more cleanup
* lint error
* windows 7 support
* added windows 7 implementation
* code review
* lint and code review
* code review
* app.md merge conflict
* merge conflict app.md
accidently deleted code block
* 'lint'
* mis-moved getapplicationinfoforprotocol() into anonymous namespace
* fix test
* lint
* code review
2020-06-30 12:22:30 -07:00
Shelley Vohr
b724fbc0ed
feat: add force option to app.focus() ( #22612 )
2020-03-11 09:07:01 -07:00
Andrew MacDonald
9b01bb00d2
feat: add app.getApplicationNameForProtocol API ( #20399 )
...
* Add GetApplicationNameForProtocol.
* Fix Windows implementation.
* Fix up test.
* Add documentation.
* Implement for real on Linux using xdg-mime.
Also ensure we allow blocking calls here to avoid errant DCHECKing.
* Improve docs for Linux.
* Clean up tests.
* Add a note about not relying on the precise format.
* Update docs/api/app.md
Co-Authored-By: Shelley Vohr <codebytere@github.com>
* Remove needless `done()`s from tests.
* Use vector list initialization.
* Add a simple test for isDefaultProtocolClient.
* Remove unneeded include and skip a test on Linux CI.
* We no longer differentiate between CI and non-CI test runs.
2019-11-06 17:50:33 -08:00
Cheng Zhao
0ab9cc30d2
refactor: pass base::Value by value in JS API implementations ( #20809 )
...
* refactor: move the arg instead of const reference it
* refactor: avoid unnecessary copies of base::Value in arg
* refactor: pass-by-value in dict_util
* refactor: avoid unnecessary reference
2019-10-30 14:30:59 +09:00
Cheng Zhao
be955a9721
chore: remove native_mate (Part 10) ( #20696 )
...
* refactor: remove direct uses of event_emitter_deprecated.h
* refactor: remove event_emitter_deprecated.h in api::App
* refactor: use std::move to save a copy
* fix: windows and linux builds
2019-10-24 14:47:58 +09:00
Erick Zhao
f654da9f56
feat: add about panel customization on Windows ( #19420 )
2019-08-12 16:32:51 -07:00
Shelley Vohr
f0396c19be
fix: clearRecentDocuments role on Windows ( #19599 )
...
* fix: clear recent documents on windows
* chore: don't check for version < win 7
2019-08-05 15:11:43 -07:00
Samuel Attard
34c4c8d508
refactor: rename the atom namespace to electron
2019-06-19 17:33:28 -07:00
Samuel Attard
2160c1fcc9
refactor: replace includes for atom with shell
2019-06-19 17:33:28 -07:00
Samuel Attard
d7f07e8a80
refactor: rename the atom directory to shell
2019-06-19 17:33:28 -07:00