Cheng Zhao
|
c140077d53
|
Merge pull request #2338 from atom/page_size_option
Add 'pageSize' option in printToPDF API.
|
2015-07-29 11:32:49 +08:00 |
|
Haojian Wu
|
9eeebedf5f
|
Add pageSize option in printToPDF API.
|
2015-07-26 11:55:52 +08:00 |
|
Cheng Zhao
|
29c574cf0f
|
Focus WebContents when we first load url in BrowserWindow
|
2015-07-24 13:08:19 +08:00 |
|
Cheng Zhao
|
cc2a9f617d
|
Add noLink option for showMessageBox
|
2015-07-23 17:25:37 +08:00 |
|
Cheng Zhao
|
1578d2fda9
|
Allow the C++ JS binding function to accept arbitrary long arguments
|
2015-07-23 15:00:42 +08:00 |
|
Cheng Zhao
|
da724d65d7
|
Add |options| for ShowMessageBox
|
2015-07-23 14:16:43 +08:00 |
|
Robo
|
57244e4718
|
use request context from session if provided
|
2015-07-16 20:18:33 +05:30 |
|
Cheng Zhao
|
1e9eccf959
|
Forward the crashed event to BrowserWindow, fix #2201
|
2015-07-14 15:13:41 -07:00 |
|
Robo
|
2cd5fb5694
|
add compatibility will old api
|
2015-07-09 14:48:58 +05:30 |
|
Cheng Zhao
|
001b4a3179
|
Final cleanup
|
2015-07-08 16:24:39 +08:00 |
|
Cheng Zhao
|
aab78db8b8
|
On Windows "Cancel" button is also forced to be canclId
|
2015-07-08 16:00:30 +08:00 |
|
Cheng Zhao
|
fdc01b8ba8
|
Merge pull request #2146 from atom/cancel-id
Add "cancelId" option for showMessageBox
|
2015-07-08 10:08:39 +08:00 |
|
Cheng Zhao
|
e0528655a8
|
Merge pull request #2133 from atom/app_dir_api
Implment app.getAppPath API.
|
2015-07-08 10:08:22 +08:00 |
|
Cheng Zhao
|
df4b5f4ede
|
On OS X the "Cancel" is always get selected when dialog is cancelled
|
2015-07-07 18:45:43 +08:00 |
|
Cheng Zhao
|
fb537d91fc
|
Set default cancelId in JavaScript
|
2015-07-07 18:39:08 +08:00 |
|
Cheng Zhao
|
b158427271
|
Add cancelId option for showMessageBox
|
2015-07-07 18:39:08 +08:00 |
|
Haojian Wu
|
a2857d2dca
|
Implment app.getAppPath API.
|
2015-07-07 17:37:53 +08:00 |
|
Cheng Zhao
|
3e6394a004
|
gtk: Map dialog type to message box type
|
2015-07-07 17:21:30 +08:00 |
|
Haojian Wu
|
41c1a34b4f
|
Fix a type error on window.moveTo API.
|
2015-07-07 07:25:58 +08:00 |
|
Cheng Zhao
|
e41b0d4d2c
|
Remove NativeWindow::ActivateContents
|
2015-06-25 13:18:36 +08:00 |
|
Cheng Zhao
|
2ea2413752
|
Set sender in EventEmitter.emit
|
2015-06-25 11:16:42 +08:00 |
|
Cheng Zhao
|
fb5fe7a714
|
Decouple WebContentsDelegate from NativeWindow
|
2015-06-25 11:07:23 +08:00 |
|
Cheng Zhao
|
bd4d6dcda2
|
Merge pull request #2046 from atom/id-weak-map
Track native JS objects in C++
|
2015-06-24 20:01:42 +08:00 |
|
Cheng Zhao
|
9b9108f789
|
Remove JS override of setMenu
|
2015-06-24 19:51:11 +08:00 |
|
Cheng Zhao
|
8c83dfe918
|
Remove usages of JS IDWeakMap in browser-window
|
2015-06-24 19:01:44 +08:00 |
|
Cheng Zhao
|
f93d50c380
|
Merge pull request #2025 from atom/power-save-blocker-api
Power save blocker API
|
2015-06-24 18:53:10 +08:00 |
|
Cheng Zhao
|
cc8b22b5ff
|
Make each class only have one weak map
|
2015-06-24 17:58:12 +08:00 |
|
Cheng Zhao
|
5e62b5975b
|
Move "id" and "fromId" to C++
|
2015-06-24 16:37:48 +08:00 |
|
Cheng Zhao
|
15f350edcb
|
Don't make IDWeakMap public API
|
2015-06-24 13:38:55 +08:00 |
|
Haojian Wu
|
13784e6551
|
More updates: use string instead of integer to identify blocker type.
|
2015-06-24 13:06:39 +08:00 |
|
Cheng Zhao
|
09a6e37a09
|
Keep compatibility with app.resolveProxy
|
2015-06-24 12:01:19 +08:00 |
|
Cheng Zhao
|
6d9ca4f52b
|
Clean up coffee files
|
2015-06-23 22:11:59 +08:00 |
|
Cheng Zhao
|
77dbec305f
|
Emit ATOM_BROWSER_RELEASE_RENDER_VIEW in C++
|
2015-06-23 21:27:50 +08:00 |
|
Cheng Zhao
|
1f97cee7c9
|
Fix release render view with wrong ID
|
2015-06-23 16:43:55 +08:00 |
|
Cheng Zhao
|
015ef3e014
|
Omit extra transfer of new-window event
|
2015-06-23 16:34:22 +08:00 |
|
Cheng Zhao
|
52789ab96f
|
Implement getId in C++
|
2015-06-23 16:16:10 +08:00 |
|
Cheng Zhao
|
89c7028ed1
|
Don't include routing ID in WebContents's ID
|
2015-06-23 16:09:34 +08:00 |
|
Haojian Wu
|
7c5afdd388
|
Add PowerSaveBlocker APIs.
|
2015-06-21 21:14:14 +08:00 |
|
deepak1556
|
2f36f5ca78
|
app: adding browser-window-focus/blur events
|
2015-06-18 11:29:08 +05:30 |
|
Cheng Zhao
|
a751f4c689
|
Merge pull request #1835 from hokein/pdf-api
Add `BrowserWindow.printToPDF` API Implementation
|
2015-06-17 12:22:56 +08:00 |
|
Cheng Zhao
|
543c4d5597
|
Allow setting referrer
|
2015-06-17 11:22:02 +08:00 |
|
Cheng Zhao
|
274854876c
|
Allow setting method for RequestHttpJob
|
2015-06-17 10:57:26 +08:00 |
|
Cheng Zhao
|
af05f26a5f
|
Make URLRequestFetchJob actually work
|
2015-06-17 09:31:33 +08:00 |
|
Haojian Wu
|
1eba552a8d
|
Also Expose printToPDF to BrowserWindow.
|
2015-06-16 20:08:30 +08:00 |
|
Haojian Wu
|
47eac062f6
|
Expose Print API to webContents and webView.
Also move the print implementation from window to webContents.
|
2015-06-16 20:08:30 +08:00 |
|
Haojian Wu
|
559eb20e7f
|
Fixing type: printBackgrounds => printBackground
|
2015-06-16 20:07:44 +08:00 |
|
Haojian Wu
|
47439cd77c
|
Fix a type error.
|
2015-06-16 20:07:44 +08:00 |
|
Haojian Wu
|
ac62871645
|
Return node::Buffer as a printToPDF callback result.
|
2015-06-16 20:07:44 +08:00 |
|
Haojian Wu
|
ab40da3f31
|
Add silent and savePath options.
|
2015-06-16 20:07:43 +08:00 |
|
Haojian Wu
|
6e099af5fe
|
Move PDF printing setting in JS part.
|
2015-06-16 20:07:43 +08:00 |
|