billyct
5f092a6c65
support an api with SetIgnoreMouseEvents, and worked fine with osx
2015-12-06 10:14:54 +08:00
Cheng Zhao
8d20dda6d7
No need to override TitleWasSet in NativeWindow
2015-12-01 17:51:09 +08:00
Cheng Zhao
860c46b3c1
Separate options from switches
...
On Windows the case sensitivity of command line switches are ignored, so
--nodeIntegraion will become --nodeintegration.
We should separate options from switches so we use "nodeIntegraion" in
options, while passing "--node-integration" in command line.
2015-11-13 14:05:49 +08:00
Robo
bb439c5f1c
browser: check window liveness before setting title
2015-11-13 02:43:21 +05:30
Cheng Zhao
917b33dbe7
Small code cleanup
2015-10-29 10:55:08 +08:00
Omri Litov
ef038257d1
Returns buffer instead of WPARAM and LPARAM
2015-10-29 03:00:44 +02:00
Omri Litov
f22837523f
Use WPARAM as uint64_t and LPARAM as int64_t
2015-10-28 21:54:50 +02:00
Cheng Zhao
b86267aa3b
Use uint64_t instead of LPARAM
...
LPARAM is defined to differnt types on differnt machines with different
SDKs, so there is no way to represent it on all platforms safely, using
uint64_t seems to be the only safe choice.
2015-10-28 19:51:24 +08:00
Omri Litov
edbebf84b9
Added browser-window event 'message'
2015-10-27 03:12:01 +02:00
Cheng Zhao
e36d455d51
Add setBackgroundColor method
2015-10-23 11:35:33 +08:00
Cheng Zhao
d092c6acc9
osx: Implement draggable region with mouseDownCanMoveWindow
...
Previously we implemented draggable region by tracking mouse position,
it is buggy and causing some problems. But it is interesting that until
this didn't cause troubles until recently.
2015-10-21 08:54:46 +08:00
Cheng Zhao
11a49bba35
win: Fix "enable-larger-than-screen" option spec
2015-10-15 16:36:29 +08:00
Cheng Zhao
898db4d6bd
osx: Set resizable flag when creating window
...
Setting resizable for frameless window before it is shown will change
its size.
2015-10-06 15:23:23 +08:00
Cheng Zhao
428c5b6d01
Setting "x" and "y" should not change window size
2015-10-06 14:50:18 +08:00
Cheng Zhao
b70e7c6a4c
Remove default definition of ContentSizeToWindowSize
2015-10-06 00:39:16 +08:00
Cheng Zhao
e675407552
Make min/max size respect use-content-size
2015-10-05 20:36:28 +08:00
Cheng Zhao
8577f2b52f
osx: Add NativeWindow::SetSizeConstraints
2015-10-05 20:07:20 +08:00
Cheng Zhao
8d61531f4e
Revert #2879
2015-10-01 17:46:11 +08:00
Cheng Zhao
83c514001e
Move devtools API to WebContents
2015-10-01 11:25:31 +08:00
Cheng Zhao
7884a2319c
osx: Make draggable region work for window with hidden titlebar
2015-09-25 16:38:36 +08:00
Robo
5ca5c4fb92
browser: hide webcontents when window not shown
2015-09-24 10:30:18 +05:30
Cheng Zhao
86f523d3c1
Move BeginFrameSubscription to WebContents
2015-09-18 15:57:43 +08:00
Cheng Zhao
42863e4700
Move SendInputEvent to WebContents
2015-09-18 14:20:31 +08:00
Cheng Zhao
9e7de78231
Fix cpplint warnings
2015-09-18 14:12:48 +08:00
Cheng Zhao
c550546ff1
Do not manually convert Object to WebInputEvent
2015-09-18 14:09:31 +08:00
Cheng Zhao
5a599cb6ff
Sequence of definitions should follow the declarations
2015-09-18 13:49:33 +08:00
Cheng Zhao
d7bac5a10b
Remove the offscreen-render option
...
We are going to move the APIs to WebContents
2015-09-18 12:15:13 +08:00
Cheng Zhao
ee0d48dc5a
Merge branch 'master' of https://github.com/MaxWhere/electron into MaxWhere-master
2015-09-18 12:01:33 +08:00
Heilig Benedek
5269380b6d
Removed duplicate keydown event sending.
2015-09-16 03:12:49 +02:00
Heilig Benedek
ceef06b344
Renamed setOffscreenRender to begin/endFrameSubscription because the name was a bit misleading, and replaced the ArrayBuffer creation with a node::Buffer::New call.
2015-09-16 02:59:16 +02:00
Cheng Zhao
b72a5884f2
Add BrowserWindow.isDevToolsFocused
2015-09-15 11:43:45 +08:00
Cheng Zhao
0b97d58a6f
Move a few options in NativeWindow to web-preferences
2015-09-06 10:53:03 +08:00
Cheng Zhao
880dce950d
Move OverrideWebkitPrefs to WebContentsPreferences
2015-09-06 10:53:03 +08:00
Cheng Zhao
39975378bb
Move AppendExtraCommandLineSwitches to WebContentsPreferences
2015-09-06 10:53:03 +08:00
Cheng Zhao
96771c7098
NPAPI has been removed, remove related option
2015-09-06 10:53:03 +08:00
Heilig Benedek
dbcd0a4235
Key event sending update.
2015-09-02 02:33:40 +02:00
Heilig Benedek
3dd3fd9200
Merge branch 'master' of https://github.com/brenca/electron
...
Conflicts:
atom/browser/api/atom_api_window.h
atom/browser/native_window.cc
2015-08-31 18:46:29 +02:00
Heilig Benedek
c59c0bd5b3
Mouse event handling and keyboard event handling (not totally working yet)
2015-08-31 18:32:33 +02:00
gellert
58081ca9e9
setOffscreenRender and api docs added
2015-08-29 00:45:00 +02:00
Heilig Benedek
e4c01f3187
Offscreen render support base
2015-08-27 11:22:39 +02:00
Cheng Zhao
a28f70e85c
Decouple TaskbarHost from NativeWindow
2015-08-06 11:10:34 +08:00
Haojian Wu
2f1cb8b52a
Expose NativeWindow.setThumbarButtons API to all platforms.
2015-08-05 22:30:05 +08:00
Cheng Zhao
58b1172025
Avoid exposing data members to subclass
2015-08-05 12:46:32 +08:00
Cheng Zhao
438a5acc0f
Use ranged for loop
2015-08-05 12:34:45 +08:00
Cheng Zhao
58c0486236
Remove duplicate UpdateDraggableRegions
2015-08-05 12:32:22 +08:00
Cheng Zhao
1347c61c8e
Set AppUserModelID for all renderer processes
2015-08-04 17:13:05 +08:00
Cheng Zhao
bbce2c7e2f
Merge pull request #2372 from atom/allow-insecure-content
...
Add allowing-insecure-content option
2015-07-30 09:38:27 +08:00
Cheng Zhao
643ed27fd4
Check whether entry is null
...
This fixes the crash in #7877 .
2015-07-29 18:26:20 +08:00
Haojian Wu
f154da38e6
Make 'allow-displaying-insecure-content' and
...
'allow-running-insecure-content' higher priority than `web-security`.
2015-07-29 18:08:44 +08:00
Haojian Wu
77a8a3d33c
Add allow-running-insecure-content
, allow-display-insecure-content
...
in BrowserWindow option.
2015-07-29 16:15:03 +08:00