Kevin Sawicki
823b3baed0
Use vector of dictionaries instead of mate::Arguments
2017-03-03 14:00:38 -08:00
Kevin Sawicki
98f5858b11
Initial support for dynamic properties
2017-03-03 14:00:38 -08:00
Kevin Sawicki
cbb6f8c33e
Store event listeners in each TouchBar class
2017-03-03 14:00:38 -08:00
Kevin Sawicki
1972e2eff9
Update renamed variable
2017-03-03 14:00:38 -08:00
Kevin Sawicki
28f2a4951b
touch_bar_helper_ -> atom_touch_bar_
2017-03-03 14:00:38 -08:00
Kevin Sawicki
b39b49a15a
Rename to touch_bar_helper_ to differentiate from touchBar property
2017-03-03 14:00:38 -08:00
Kevin Sawicki
14ef5c5957
Reset helper when makeTouchBar is called
2017-03-03 14:00:38 -08:00
Kevin Sawicki
ca29ec0101
Use reference
2017-03-03 14:00:38 -08:00
Kevin Sawicki
f297ba987e
touchBarFromMutatableArray -> touchBarFromItemIdentifiers
2017-03-03 14:00:38 -08:00
Kevin Sawicki
b30f7c3c94
Use std::string ctor
2017-03-03 14:00:38 -08:00
Kevin Sawicki
8500538793
Use base::SysUTF8ToNSString helper
2017-03-03 14:00:38 -08:00
Kevin Sawicki
cf7cd1f32b
hasTBDict -> hasItemWithID
2017-03-03 14:00:38 -08:00
Kevin Sawicki
48515d9ecc
Ignore objective-c header lint
2017-03-03 14:00:38 -08:00
Kevin Sawicki
b632cdd37d
Extract helper class to encapsulate touch bar items
2017-03-03 14:00:38 -08:00
Kevin Sawicki
1b5149ae7a
Few memory and scope tweaks
2017-03-03 14:00:38 -08:00
Kevin Sawicki
b16d649819
Use skia color helpers
2017-03-03 14:00:38 -08:00
Kevin Sawicki
69638a399c
Make touchBar readwrite/nullable
2017-03-03 14:00:38 -08:00
Kevin Sawicki
52905ae9b3
Get compiling against 10.10 SDK
2017-03-03 14:00:38 -08:00
Kevin Sawicki
2a00bb30c5
Use new NativeWindowObserver helper
2017-03-03 14:00:38 -08:00
Samuel Attard
ba3fbc9d1b
Fix Group items
2017-03-03 14:00:38 -08:00
Samuel Attard
28d5c8bbde
Add updateConfig ability to other items
2017-03-03 14:00:38 -08:00
Samuel Attard
dd09c91cf2
initial work on updating touch bar item config without rerender
2017-03-03 14:00:38 -08:00
Samuel Attard
d1b3ba39bd
Fix cpp linting
2017-03-03 14:00:38 -08:00
Samuel Attard
257b32b84b
Remove unused ident
2017-03-03 14:00:38 -08:00
Samuel Attard
43cc5079d8
Implement group item
2017-03-03 14:00:38 -08:00
Samuel Attard
269d899a99
Implement popOver item type (woo hoo it worked)
2017-03-03 14:00:38 -08:00
Samuel Attard
c92c4138a8
Add Slider item type and add options to the button type
2017-03-03 14:00:38 -08:00
Samuel Attard
18c7c3ece8
Make label and colorpicker types work
2017-03-03 14:00:38 -08:00
Samuel Attard
7857c83ea1
Make dynamic buttons work along with click events
2017-03-03 14:00:38 -08:00
Samuel Attard
703b5738c8
Initial TouchBar Magic
...
* Make the AtomNSWindow also a NSTouchbarDelegate
* Implement basic makeTouchBar and makeItemForIdentifier methods
* Initial sending of touch / update events through IPC to BrowserWindowObjects
TODO:
* JS API
* JS Object Converters
* Generalize methods so that popovers can work
2017-03-03 14:00:38 -08:00
Nitish Sakhawalkar
bcda67b8eb
No more extra whitespace.
2017-03-02 10:50:48 -08:00
Cheng Zhao
cf198904a4
Fix cpplint warnings
2017-03-02 17:26:15 +09:00
Cheng Zhao
a0605275b9
Clean up node environment on exit in main process
2017-03-02 17:19:00 +09:00
Nitish Sakhawalkar
c06c4c0ccb
Reverting formatting changes made by clang format.
2017-03-01 14:04:41 -08:00
Kevin Sawicki
d009b3267a
Bump v1.6.2
2017-03-01 09:11:05 -08:00
Nitish Sakhawalkar
879082b1a6
Issue #8735:Support base URL option to loadURL for data URLs
2017-02-28 16:49:03 -08:00
Kevin Sawicki
be16e75be2
Support explicit cancelId on macOS
2017-02-24 09:05:55 -08:00
Kevin Sawicki
ef085a1f15
Remove unneeded AddRef/Release calls handled by base::Bind
2017-02-24 08:15:02 -08:00
Kevin Sawicki
6837ec8576
Check render frame host before getting context
2017-02-24 07:49:26 -08:00
Kevin Sawicki
a62c2f9e2e
Remove unused include
2017-02-24 07:37:28 -08:00
Kevin Sawicki
29f92bfb53
Extend RefCounted and add private destructor
2017-02-24 07:37:28 -08:00
Kevin Sawicki
a33ffd621f
Use callback dialog methods in RunFileChooser
2017-02-24 07:37:28 -08:00
liusi
ff513f2a84
remove the call to download_item_->Remove() on cancel
2017-02-24 14:08:21 +08:00
Kevin Sawicki
211bedf910
Invoke close callback after itemSelected runs
2017-02-22 11:47:58 -08:00
Kevin Sawicki
a8d1a7aed4
Make variables private instead of protected
2017-02-22 10:30:28 -08:00
Kevin Sawicki
2006e22aa4
🎨
2017-02-22 10:30:28 -08:00
Kevin Sawicki
ce5ac1b056
Implement ClosePopupAt on Windows/Linux
2017-02-22 10:30:28 -08:00
Kevin Sawicki
91d1af053f
Implement Menu.closePopup on Windows/Linux
2017-02-22 10:30:28 -08:00
Kevin Sawicki
6a023dc4fe
Add Menu.closePopup API on macOS
2017-02-22 10:30:28 -08:00
Kevin Sawicki
66b6b4f1cb
Map async option to MenuRunner::ASYNC flag
2017-02-22 10:30:28 -08:00
Kevin Sawicki
4430927f98
Add async option to menu.popup
2017-02-22 10:30:28 -08:00
Kevin Sawicki
b091d104f5
Add async menu.popup on Windows/Linux
2017-02-22 10:30:28 -08:00
Kevin Sawicki
636ef0fd29
Add async menu.popup on macOS
2017-02-22 10:30:28 -08:00
Kevin Sawicki
92092bed41
Bump v1.6.1
2017-02-21 08:49:50 -08:00
gellert
a1ede4a4b0
fixes os version check of vibrancy
2017-02-18 20:25:03 +01:00
deepak1556
0c022fdc36
set zoom changes for in page navigaitons
2017-02-18 01:34:32 +05:30
deepak1556
203a920c64
fix signature of zoom getter apis
2017-02-18 01:34:32 +05:30
deepak1556
5687f8b3b7
Destroy icon manager after file thread is destroyed
2017-02-17 14:16:18 +05:30
Yury Solovyov
977abc6458
Update icon loading API implementation
2017-02-16 23:16:34 +03:00
Kevin Sawicki
70849de8c4
Mark constructor as explicit
2017-02-15 08:28:55 -08:00
Kevin Sawicki
52801c4a41
Use internal IsVisible method
2017-02-15 08:28:55 -08:00
Kevin Sawicki
db79f4f450
Implement Activate instead of CanFocus
2017-02-15 08:28:55 -08:00
Kevin Sawicki
bda8af8dd3
Just use visible state in CanFocus delegate
2017-02-15 08:28:55 -08:00
Kevin Sawicki
be79417a03
Include CanFocus on Windows and map to state
2017-02-15 08:28:55 -08:00
Kevin Sawicki
36e6501c44
Rename variable for compiler error
2017-02-14 12:30:23 -08:00
Kevin Sawicki
9be42db8d5
Merge pull request #8628 from Spacetech/master
...
Implement invalidate for non-offscreen mode
2017-02-14 11:41:16 -08:00
Kevin Sawicki
643cb5d6de
Remove unused variable
2017-02-14 11:13:23 -08:00
Kevin Sawicki
5cb6648686
Use underscore variable name for consistency
2017-02-14 11:12:30 -08:00
Kevin Sawicki
82f452568c
🎨 Minor formatting tweaks
2017-02-14 11:09:15 -08:00
Kevin Sawicki
c54ae66fb9
Call OnWindowScrollTouchEnd instead of Edge
2017-02-14 09:13:07 -08:00
liusi
d56c1909df
only emit download-item done
event once.
2017-02-14 14:39:33 +08:00
Gary Wilber
f19924bcb0
Add Invalidate method to NativeWindow and add Mac implementation
2017-02-13 19:41:24 -08:00
Kevin Sawicki
d7ab142e10
Call content::WebContentsObserver first
2017-02-13 09:09:42 -08:00
Kevin Sawicki
a746651d1c
Use dialog setter for consistency with other properties
2017-02-13 08:23:53 -08:00
Samuel Attard
e45d8079b8
Add support for a noResolveAliases property
2017-02-13 08:23:53 -08:00
deepak1556
7a0aff2bae
code cleanup
2017-02-12 01:48:24 +05:30
deepak1556
cbeaa6be87
simply handling temporary zoom levels of webview
2017-02-12 00:49:17 +05:30
deepak1556
e3fe3cc490
map webframe zoom api to use HostZoomMap
2017-02-12 00:49:17 +05:30
deepak1556
63c0e4cbb1
Add ZoomController to manager zoom changes for webcontents
2017-02-12 00:49:17 +05:30
deepak1556
07794a58aa
use zoom factor webpreference option when required.
...
* When setzoomlevel is not called for the host.
* When there is no zoom preference for the host.
2017-02-12 00:49:17 +05:30
deepak1556
b27c94368d
webContents: set zoom levels with HostZoomMap
2017-02-12 00:49:17 +05:30
Kevin Sawicki
f7f4de36af
Merge remote-tracking branch 'origin/master' into macos-open-save-panel
2017-02-09 11:25:05 -08:00
Kevin Sawicki
867bb5a94e
Add DialogSettings helper struct
2017-02-09 10:13:11 -08:00
Kevin Sawicki
7994acf0ea
Use CHROMEGTK_CALLBACK_0 and ignore gpointer data
2017-02-09 09:49:09 -08:00
Birunthan Mohanathas
c8c11e68c6
Add support for checkbox with dialog.showMessageBox
...
This adds the `checkboxLabel` and `checkboxChecked` options to display a
checkbox in the message box. Fixes #6048 .
2017-02-09 09:03:54 -08:00
Tan Wang Leng
347dc835b5
Fix code formatting
2017-02-09 21:51:11 +08:00
Tan Wang Leng
a4a71a1dc9
Change qualifier of ShowSaveDialog() parameter
...
The normal convention in the codebase is to not use references
or 'const' for primitives like 'bool' and 'int'.
2017-02-09 21:50:55 +08:00
Tan Wang Leng
b0487b7d84
Fix wrong signature for gtk's ShowSaveDialog()
2017-02-09 20:10:57 +08:00
Tan Wang Leng
1bf8270c0d
🏁 Fix dialog method calls for Windows
2017-02-09 20:10:57 +08:00
Tan Wang Leng
36209ddd90
🍎 Add additional options for Mac's open dialog
...
Support an additional attributes available in macOS's NSOpenPanel:
message.
2017-02-09 20:10:57 +08:00
Tan Wang Leng
1d612a12a1
🍎 Add additional options for Mac's save dialog
...
Support additional attributes available in macOS's NSSavePanel: message,
nameFieldLabel and showsTagField
2017-02-09 20:10:57 +08:00
Kevin Sawicki
1e581d6814
Use unique_ptr for passing VerifyRequestParams
2017-02-08 11:59:43 -08:00
Kevin Sawicki
70178adb6e
Use object for verification request
2017-02-08 11:59:43 -08:00
Kevin Sawicki
37db804099
Use NetLogWithSource since BoundNetLog no longer exists
2017-02-08 11:59:43 -08:00
Greg Nolle
e29b64a18a
modify CertVerifier Class
...
* respond to multiple similar verification requests.
* accept net error result as callback response.
2017-02-08 11:59:43 -08:00
Gary Wilber
11e1f6b56c
Fix lint errors
2017-02-08 00:05:16 -08:00
Gary Wilber
ed44b32ff5
Convert indentation to spaces
2017-02-07 23:08:03 -08:00
Gary Wilber
148898fb75
Implement invalidate for non-offscreen mode
2017-02-07 23:03:42 -08:00
Cheng Zhao
5cd18fe32a
Merge pull request #8619 from electron/mac-os-version-checks
...
Use IsAtLeastOS10_* version checks
2017-02-08 13:58:26 +09:00
Yury Solovyov
bcf0964c61
Fix more review
2017-02-07 09:55:18 -08:00
Yury Solovyov
29452364f3
Use isolate() method to get isolate
2017-02-07 09:54:22 -08:00
Yury Solovyov
c2bf5bb986
Put locker and handle scope to the top of the function. Remove unneeded header
2017-02-07 09:53:34 -08:00
Yury Solovyov
5794138ed4
Normalize path
2017-02-07 09:53:34 -08:00
Yury
1b4ee6e0d8
Image from icon node-style callback ( #2 )
...
* Try implementing node-style callbacks
* Add locker and handle scope
2017-02-07 09:53:34 -08:00
deepak1556
2e85ff1f57
Fix code style
2017-02-07 09:53:34 -08:00
Yury Solovyov
3d47c9b71d
Fix lint
2017-02-07 09:53:34 -08:00
Yury Solovyov
05cb26a174
Use object for options
2017-02-07 09:53:34 -08:00
Yury Solovyov
bec671bac8
Make size optional
2017-02-07 09:52:11 -08:00
Robo
b25b141642
create iconmanager as singleton class and cleanup code ( #1 )
...
* create iconmanager as singleton class and cleanup code
2017-02-07 09:52:11 -08:00
Kevin Sawicki
0f98c9d3fb
Use at least OS version checks
2017-02-07 09:32:40 -08:00
Kevin Sawicki
4de637779b
Make int converter helper an instance method
2017-02-07 09:13:42 -08:00
Tan Wang Leng
7ec88d16a6
Use base::StringToInt() instead of std::stringstream
2017-02-07 09:05:55 -08:00
Tan Wang Leng
42f65c52fb
🐛 Fix webpreferences not accepting numeric options
...
The webpreferences attribute values are parsed as strings instead
of numbers. Therefore, a conversion is required.
2017-02-07 09:05:55 -08:00
Kevin Sawicki
852519a826
Bump v1.6.0
2017-02-06 16:42:00 -08:00
Cheng Zhao
86215d4300
Allow filter to use any scheme
2017-02-06 10:34:30 -08:00
Cheng Zhao
75627ba6ad
Fix sync printing not working
2017-02-06 10:34:29 -08:00
Cheng Zhao
be29ea4dad
libgtk2ui => libgtkui
2017-02-06 10:34:29 -08:00
Cheng Zhao
820c0827c0
Fix cpplint warnings
2017-02-06 10:34:29 -08:00
Cheng Zhao
55d4d44f02
Fix Debug building on Windows
2017-02-06 10:34:29 -08:00
Cheng Zhao
6165d36351
There is a new INSERTED type of ChangeCause
...
For the purpose of compatibility, we treat it as "explicit".
2017-02-06 10:34:29 -08:00
Cheng Zhao
09fcb7fb27
Fix crash when using webview
2017-02-06 10:34:29 -08:00
Cheng Zhao
6763977316
Update URLPattern to its latest version
2017-02-06 10:34:29 -08:00
Cheng Zhao
234e1bb811
base::Bind now prevents the case with no arguments
2017-02-06 10:34:29 -08:00
Cheng Zhao
411696ca19
Clear is replaced with ClearEntriesAddedWithin
2017-02-06 10:34:29 -08:00
Cheng Zhao
4a14b17255
WindowOpenDisposition has become enum class
2017-02-06 10:34:29 -08:00
Cheng Zhao
6d323dd6fe
web/WebInputEvent.h is moved to platform/WebInputEvent.h
2017-02-06 10:34:29 -08:00
Cheng Zhao
53bf82dd7c
Update URLRequestFetchJob
2017-02-06 10:34:29 -08:00
Cheng Zhao
e7f3a25626
Update OffScreenRenderWidgetHostView
2017-02-06 10:34:29 -08:00
Cheng Zhao
2e0780308c
allowDisplayingInsecureContent is removed by Chrome
2017-02-06 10:34:29 -08:00
Cheng Zhao
47c1bc9f66
Update ResponsePiper
2017-02-06 10:34:29 -08:00
Cheng Zhao
5cf2873b77
net::FtpProtocolHandler has changed its constructor
2017-02-06 10:34:29 -08:00
Cheng Zhao
1a15b45736
--cipher-suite-blacklist is also removed
2017-02-06 10:34:29 -08:00
Cheng Zhao
dc9000f344
--ssl-version-fallback-min is removed by Chrome
2017-02-06 10:34:28 -08:00
Cheng Zhao
3ea6d88763
Update AtomCertVerifier
2017-02-06 10:34:28 -08:00
Cheng Zhao
c0697d8abe
SetupFilter is replaced with SetUpSourceStream
2017-02-06 10:34:28 -08:00
Cheng Zhao
9882e87fbd
Update OffScreenOutputDevice
2017-02-06 10:34:28 -08:00
Cheng Zhao
c2f3bbb3e6
Update OffScreenWebContentsView
2017-02-06 10:34:28 -08:00
Cheng Zhao
a95bd227c3
Update atom::Browser
2017-02-06 10:34:28 -08:00
Cheng Zhao
e91eed6758
FOR_EACH_OBSERVER is removed
2017-02-06 10:34:28 -08:00
Cheng Zhao
85749e4dbd
Update AtomJavaScriptDialogManager
2017-02-06 10:34:28 -08:00
Cheng Zhao
6eaa30e94c
Update AtomResourceDispatcherHostDelegate
2017-02-06 10:34:28 -08:00
Cheng Zhao
13a1d79ca6
Deperecate AtomSecurityStateModelClient with SecurityStateTabHelper
2017-02-06 10:34:28 -08:00
Cheng Zhao
3224c39371
Mac's version checking function has changed
2017-02-06 10:34:28 -08:00
Cheng Zhao
1d29b23662
Update api::WebContents
2017-02-06 10:34:28 -08:00
Cheng Zhao
231173aa90
Namespace of ChangeCause has changed
2017-02-06 10:34:28 -08:00
Cheng Zhao
d4e3dade39
WindowCapturer and ScreenCapturer are merged to DesktopCapturer
2017-02-06 10:34:28 -08:00
Cheng Zhao
7a7b72ce04
SimpleMenuModel::MenuClosed renamed to MenuWillClose
2017-02-06 10:34:28 -08:00
Cheng Zhao
c10eb73166
Signature of OnCreateWindow has changed
2017-02-06 10:34:28 -08:00
Cheng Zhao
d8e9432b0d
contentTracing.setWatchEvent/cancelWatchEvent is removed
2017-02-06 10:34:28 -08:00
Kevin Sawicki
1518ff5ddf
Bump v1.5.1
2017-02-06 08:56:48 -08:00
Kevin Sawicki
1b3d3b6b75
Use return value of GetProcessExecPath
2017-02-06 08:34:35 -08:00
CharlieHess
1178915f30
Ensure backwards compatibility with getLoginItemSettings.
...
We need to make sure the executable path is not quoted.
2017-02-06 08:34:35 -08:00
Kevin Sawicki
e2501a80e4
Add path and args to LoginItemSettings struct
2017-02-06 08:34:35 -08:00
Charlie Hess
29d0a30d63
Oh, browser_linux is a thing too.
2017-02-06 08:34:35 -08:00
CharlieHess
25bc02f332
Don't append "%1" in the Run registry key.
...
It's only necessary for the protocol launch path.
2017-02-06 08:34:35 -08:00
Charlie Hess
26d4a3b0ba
Fix method signature on macOS.
2017-02-06 08:34:35 -08:00
CharlieHess
02dfdf75a0
Line Lengths!
2017-02-06 08:34:35 -08:00
CharlieHess
62c8a00347
This is rubbish let's pull the escape hatch.
...
Make all these arguments user-provided instead.
2017-02-06 08:34:35 -08:00
CharlieHess
0a6a8192b6
Close to a working Squirrel shortcut.
2017-02-06 08:34:35 -08:00
Charlie Hess
39b6bcb621
First pass at auto-launch supporting Squirrel.
2017-02-06 08:34:35 -08:00
Kevin Sawicki
5973aa36ad
Initialize color listener after app is ready
2017-02-03 09:00:18 -08:00
Kevin Sawicki
9fef6a1fd7
Add support for FOS_CREATEPROMPT option
2017-02-02 08:51:10 -08:00
Kevin Sawicki
dc1c11a841
Merge pull request #8487 from leethomas/feature/osx-relative-window-levels
...
Feature/macOS relative window levels
2017-01-30 15:34:24 -08:00
Kevin Sawicki
9b2b6da3a3
Wrap params at 80 characters
2017-01-30 15:32:05 -08:00
leethomas
edbb786fb4
use kCGMinimumWindowLevelKey to get the minimum level
2017-01-26 19:12:10 -08:00
Kevin Sawicki
e683f28e32
Require a non-empty drag image to prevent crash
2017-01-26 15:46:04 -08:00
Kevin Sawicki
8ce1930f0d
Add specs for missing startDrag options
2017-01-26 15:46:04 -08:00
leethomas
b67d515a76
fix signature for SetAlwaysOnTop in native window views
2017-01-26 07:24:20 -08:00
Kevin Sawicki
8e39aea34a
Merge pull request #8478 from deepak1556/load_url_max_char_patch
...
WebContents: emit did-fail-load event when url exceeds character limit
2017-01-25 09:46:40 -08:00
leethomas
1f5518b91e
throw an error for out of bounds window levels
2017-01-24 20:14:09 -08:00
Kevin Sawicki
1960327918
Bump v1.5.0
2017-01-24 08:27:37 -08:00
leethomas
7a0a87a6f3
implement relative window levels, closes #8153
2017-01-23 23:42:33 -08:00
deepak1556
f9dc08baf6
emit did-fail-load event when the url char length exceeds limit
2017-01-21 14:59:20 +05:30
deepak1556
54559f99a0
Fix dereferencing nullptr
...
RenderWidgetHostView might not be available when
the navigator fails to load a url.
2017-01-21 14:56:58 +05:30
Kevin Sawicki
22b21d04bd
Merge pull request #8406 from electron/use_gn-chrome54
...
Use gn chrome54
2017-01-19 13:33:48 -08:00
Kevin Sawicki
2cddb5bb4e
Bump v1.4.15
2017-01-19 08:32:42 -08:00
Kevin Sawicki
c374e37cc4
Leak IsolateData since Environment is also leaked
2017-01-19 09:05:59 +02:00
Kevin Sawicki
54e2c480cb
Upgrade to node 7.4
2017-01-19 09:05:59 +02:00
Kevin Sawicki
f0ceb4f065
Use SetNeedsBeginFrames from IPC handler
2017-01-19 09:05:59 +02:00
Kevin Sawicki
d71f10c5a3
Implement GetScreenInfo
2017-01-19 09:05:59 +02:00
Kevin Sawicki
39ddeff5c3
Implement SetNeedsBeginFrames
2017-01-19 09:05:59 +02:00
Kevin Sawicki
443040e8d7
Call InspectElement directly on InspectableWebContents
2017-01-19 09:05:59 +02:00
Kevin Sawicki
d6eb0d6629
Implement insertCSS on webFrame
2017-01-19 09:05:59 +02:00
Kevin Sawicki
18675cc6c1
Implement RequestPermissions using request handler
2017-01-19 09:05:59 +02:00
Cheng Zhao
6e0762a540
Fix building on Windows
2017-01-19 09:05:59 +02:00
Cheng Zhao
88f6f5d1b2
Fix compilation errors for Linux
2017-01-19 09:05:59 +02:00
Cheng Zhao
497f5a1199
Update files for Chrome 54 API changes
2017-01-19 09:05:59 +02:00
Jacob Groundwater
6520396466
update atom_browser_client.h
2017-01-19 09:05:44 +02:00
Jacob Groundwater
9716e2745b
WIP: chrome 54 update
2017-01-19 09:05:44 +02:00
Kevin Sawicki
a3af6bd9f5
Merge pull request #8441 from watilde/feature/tweak-kiosk
...
do not call SetFullScreen in SetKiosk if it's already fullscreen mode
2017-01-18 16:17:31 -08:00
Daijiro Wachi
a23d8ed702
do not call SetFullScreen in SetKiosk if it's already fullscreen mode
2017-01-19 00:40:34 +01:00
Kevin Sawicki
e82b41724d
Restore thick frame full screen case
2017-01-18 14:40:42 -08:00
Kevin Sawicki
f7bdf5d04e
Merge pull request #8399 from watilde/feature/fixes-8338
...
save a fullscreen state when Kiosk mode is called
2017-01-17 13:03:51 -08:00
Kevin Sawicki
3f7b3c4bd7
Implement window overrides in main context
2017-01-16 12:38:16 -08:00
Kevin Sawicki
ad3b837ad5
Rename option to contextIsolation
2017-01-16 12:38:16 -08:00
Kevin Sawicki
4bca6fe672
Add isolated world web preference option
2017-01-16 12:38:15 -08:00
Kevin Sawicki
0244a73c49
Fix cpp linter errors
2017-01-16 09:26:07 -08:00
Brian Clifton
9e0547b98f
Fix the rendering for the rounded edges
2017-01-14 01:15:22 -08:00
Daijiro Wachi
436a6d5c0f
Save a fullScreen state for Kiosk mode
2017-01-14 00:04:51 +01:00
Brian Clifton
cf6e215a66
Properly handle borders for DPI > 100% on Windows
...
Fixes https://github.com/electron/electron/issues/4573
cc: @zcbenz, @kevinsawicki, @zeke
2017-01-13 00:18:42 -07:00
Kevin Sawicki
8f63fdb278
Destroy web contents when preventing default
2017-01-12 10:28:08 -08:00
Kevin Sawicki
cfb6069b83
Bump v1.4.14
2017-01-10 11:01:39 -08:00
Kevin Sawicki
f3b03908f9
Revert "Smooth corners for vibrancy view"
2017-01-10 10:34:55 -08:00
Kevin Sawicki
5204d6ce45
Merge pull request #8354 from gerhardberger/vibrancy-corner-fix
...
Smooth corners for vibrancy view
2017-01-09 11:12:02 -08:00
Kevin Sawicki
e5aad9857d
Merge pull request #7765 from liusy182/maximize-fix
...
fix for Window hidden behind taskbar after maximize #7672
2017-01-09 09:47:39 -08:00
Kevin Sawicki
6ef1a9150c
Add OK button to alert
2017-01-09 08:30:13 -08:00
Kevin Sawicki
222734b5f5
Use correct param ordering in header file
2017-01-09 08:30:13 -08:00
Kevin Sawicki
1f08634d62
Implement alert/confirm through dialog manager
2017-01-09 08:30:13 -08:00
gellert
bfafc6d5fd
indentation fix
2017-01-06 23:54:24 +01:00
gellert
c5fe173e47
adds autorelease to nsimage
2017-01-06 14:32:34 +01:00
gellert
456ea04683
adds mask image for smooth vibrant view corners
2017-01-06 14:26:16 +01:00
Kevin Sawicki
e788b9f959
Merge pull request #8258 from deepak1556/net_header_patch
...
net: disallow cookies from cookie store
2017-01-05 16:47:44 -08:00
Phil Christensen
2c259990da
fix permissive C++ code (MSVC /permissive-)
...
These were found by the C++ compiler group when doing "Real world code"
build tests using /permissive-. We are sharing these with you to help clean up
your code before the new version of the compiler comes out. For more information on
/permissive- see https://blogs.msdn.microsoft.com/vcblog/2016/11/16/permissive-switch/ .
In paticular, see the "Do not treat copy initialization as direct initialization"
section of the blog.
2017-01-05 09:38:41 -08:00
Kevin Sawicki
fc75080c28
Merge pull request #8298 from electron/configure-throttling-on-created-callback
...
Configure background throttling on RenderViewCreated callback
2016-12-29 13:31:09 -08:00
Kevin Sawicki
6ea1bacc73
Merge pull request #8250 from gerhardberger/osr-window-size-fix
...
Always create offscreen window frameless
2016-12-29 09:10:14 -08:00
Kevin Sawicki
41afeb744a
Configure background throttling on RenderViewCreated callback
2016-12-28 15:52:47 -08:00
Kevin Sawicki
5d505f9139
Support cursive/fantasy default font families
2016-12-28 13:40:53 -08:00
Kevin Sawicki
1308f790ad
Don't load URL if web contents is destroyed
2016-12-28 13:40:06 -08:00
Kevin Sawicki
8c5f26373b
Add override
2016-12-22 09:33:21 -08:00
Kevin Sawicki
87f09131aa
Observe window and only use it when it is open
2016-12-22 09:33:21 -08:00
gellert
f81908711b
use only one if statement
2016-12-21 23:15:05 +01:00
deepak1556
f9417e3fcc
net: disallow cookies from the cookie store
2016-12-21 11:54:48 +05:30
gellert
1ef0f6beff
creates offscreen window frameless
2016-12-20 23:43:52 +01:00
Kevin Sawicki
c70eb81e32
Use firstObject instead of objectAtIndex:0
2016-12-20 13:49:35 -08:00
Kevin Sawicki
38681d0a2b
Bump v1.4.13
2016-12-20 10:37:16 -08:00
Kevin Sawicki
2a8b36c761
Merge pull request #8134 from deepak1556/empty_client_certificate_patch
...
app: select-client-certificate event callback can accept certificate optionally
2016-12-15 08:31:12 -08:00
liusi
b853671132
fix fullscreen, maximize, unmaximize
2016-12-15 14:01:03 +08:00
Kevin Sawicki
590bde5e14
Remove unused include
2016-12-13 16:00:37 -08:00
Kevin Sawicki
7842040d9d
Add ToV8 converter for NativeWebKeyboardEvent
2016-12-13 15:54:13 -08:00
Kevin Sawicki
3237c6751a
Use DCHECK instead of assert
2016-12-13 15:54:13 -08:00
Birunthan Mohanathas
a3b65ad481
Add before-input-event event for webContents ( fixes #7586 )
...
Embedding arbitrary web content is problematic when it comes to keyboard
shortcuts because:
* Web content can steal app shortcuts (see e.g. brave/browser-laptop#4408 )
* Blocked web content (e.g. a focused <webview> performing expensive
computation) will also prevent app shortcuts from firing immediately
The new before-input-event event can be used to overcome these issues by
always handle certain keyboard events in the main process.
Note that this requires electron/brightray#261 to compile.
2016-12-13 15:54:13 -08:00
Kevin Sawicki
b08bc02cde
Merge pull request #8137 from deepak1556/media_device_id_patch
...
session: reset media device id salt when cookies are cleared
2016-12-12 13:34:24 -08:00
Kevin Sawicki
f2aabeefd5
Merge pull request #8085 from deepak1556/protocol_http_session_patch
...
protocol: support custom session with interceptHttpProtocol
2016-12-12 13:07:14 -08:00
Kevin Sawicki
1d288b69e2
Merge pull request #7947 from beakerbrowser/register-standard-secure-schemes
...
Add {secure:} opt to protocol.registerStandardSchemes
2016-12-12 12:52:28 -08:00
Kevin Sawicki
cac85d2a12
Remove linter errors
2016-12-12 12:51:48 -08:00
Paul Frazee
99ea50649a
finish implementation of {secure:true} opt on protocol.registerStandardScehesm, and add working test
2016-12-12 12:49:57 -08:00
Paul Frazee
9d2e23413e
add {secure:} opt to protocol.registerStandardSchemes
2016-12-12 12:49:57 -08:00
Kevin Sawicki
e77fa72d6d
Merge pull request #8167 from seanchas116/fix-modal-corner
...
🍎 Make sure no round corners for modal windows
2016-12-12 10:05:47 -08:00
Kevin Sawicki
2fa9ca1f6d
Merge pull request #8156 from sindresorhus/remove-dock-window-level
...
🍎 Document that the `dock` window level is deprecated
2016-12-12 09:39:08 -08:00
Kevin Sawicki
de625bfb65
Bump v1.4.12
2016-12-09 21:43:27 -08:00
Kevin Sawicki
6a829e0179
Throw error when options object is invalid
2016-12-09 10:07:04 -08:00
deepak1556
7456b9ae17
net: add api to set request flags for testing
2016-12-09 09:54:30 -08:00
deepak1556
35349643af
session: api to clear auth cache
2016-12-09 09:54:30 -08:00
deepak1556
5d94221c61
fix code style
2016-12-09 09:37:46 -08:00
deepak1556
f124732431
add spec
2016-12-09 09:37:46 -08:00
deepak1556
86961d0f44
session: add api to create interrupted downloads
2016-12-09 09:37:46 -08:00
Sindre Sorhus
3dde669ee8
🍎 Remove deprecated dock
window level
...
According to the Apple docs, the `NSDockWindowLevel` constant is deprecated: https://developer.apple.com/reference/appkit/nsdockwindowlevel?language=objc
2016-12-09 12:46:49 +01:00
Ryohei Ikegami
ccdeb915fa
🍎 Make sure no round corners for modal windows
2016-12-08 12:12:53 +09:00
Kevin Sawicki
ea2e2def55
Bump v1.4.11
2016-12-07 08:53:58 -08:00
deepak1556
388b601503
URLRequestFetchJob should report start error
2016-12-07 16:34:28 +05:30