Haojian Wu
|
969916442f
|
Use webContents BrowserContext.
Also fix some code styles.
|
2015-06-19 13:57:54 +08:00 |
|
Haojian Wu
|
99bfc9b7f5
|
Move cookies APIs to webContents.session.cookies namespace.
|
2015-06-19 10:30:08 +08:00 |
|
Haojian Wu
|
98adcac5df
|
Move set status code into error.
|
2015-06-19 10:29:17 +08:00 |
|
Haojian Wu
|
19e96cc212
|
Fix cpplint.
|
2015-06-19 10:29:17 +08:00 |
|
Haojian Wu
|
cfffe39151
|
Add cookies.set API.
|
2015-06-19 10:29:17 +08:00 |
|
Haojian Wu
|
0dfd00f664
|
Add cookies.remove API.
|
2015-06-19 10:29:17 +08:00 |
|
Haojian Wu
|
dbbc2f19f4
|
Implement cookies.get API.
|
2015-06-19 10:29:17 +08:00 |
|
Cheng Zhao
|
923296b4ee
|
Use the BrowserContext from protocol
|
2015-06-18 17:18:11 +08:00 |
|
Cheng Zhao
|
e209312459
|
Replace a few calls to AtomBrowserMainParts::Get.
These calls replies on global BrowserContext, we can just make them use
the future default BrowserContext.
|
2015-06-18 17:01:23 +08:00 |
|
Cheng Zhao
|
b47fae7393
|
Make api::Protocol per-context
|
2015-06-18 16:59:03 +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
|
b3e9d35667
|
Merge pull request #1995 from atom/request-http-job
Implement protocol.RequestHttpJob
|
2015-06-17 12:00:26 +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
|
57580e00f9
|
Fix code style.
|
2015-06-16 20:07:45 +08:00 |
|
Haojian Wu
|
559eb20e7f
|
Fixing type: printBackgrounds => printBackground
|
2015-06-16 20:07:44 +08:00 |
|
Haojian Wu
|
ccbe554ec0
|
Make callback aligns node.js style.
|
2015-06-16 20:07:44 +08:00 |
|
Haojian Wu
|
93243ef223
|
Remove some unused IPC messages.
|
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 |
|
Haojian Wu
|
c0a6cb69bf
|
Move printToPDF API to WebContents.
Also expose in webview.
|
2015-06-16 20:06:52 +08:00 |
|
Haojian Wu
|
2597ded985
|
Cleanup.
|
2015-06-16 20:02:25 +08:00 |
|
Haojian Wu
|
10da361db1
|
Fix a type error in checking function options.
|
2015-06-16 20:02:25 +08:00 |
|
Haojian Wu
|
8572ccb807
|
Add callback function in printToPDF API.
|
2015-06-16 20:02:24 +08:00 |
|
Haojian Wu
|
ce8bbb689c
|
Add options to custom print settings in printToPDF API.
|
2015-06-16 20:02:24 +08:00 |
|
Haojian Wu
|
b360f7d86a
|
Add printToPDF API skeleton.
|
2015-06-16 20:02:23 +08:00 |
|
Magica
|
8aa559fe51
|
Add setAudioMuted to webContents
|
2015-06-15 21:40:49 +08:00 |
|
deepak1556
|
a5e2f8e79e
|
protocol: adding requestHttpJob method
|
2015-06-15 03:20:45 +05:30 |
|
Cheng Zhao
|
132c13a11b
|
Fix calls to deprecated node::ThrowError API
|
2015-06-10 14:21:09 +08:00 |
|
Cheng Zhao
|
9f0ac13edc
|
Pass embedder when creating WebContents
|
2015-06-09 15:50:20 +08:00 |
|
Cheng Zhao
|
5459137d3d
|
Remove unused options for WebContents.create
|
2015-06-09 15:40:04 +08:00 |
|
Cheng Zhao
|
89087d402d
|
Merge pull request #1873 from atom/multiline-headers
Support multiple-line headers in `did-get-response-details'
|
2015-06-09 12:03:45 +08:00 |
|
Haojian Wu
|
64e84b8f6a
|
Support multiple-line headers in web-contents `did-get-response-details' event.
|
2015-06-09 11:18:46 +08:00 |
|
Haojian Wu
|
488801e244
|
Rename httpreferrer to httpReferrer, useragent to userAgent.
|
2015-06-09 10:10:29 +08:00 |
|
Cheng Zhao
|
bb42c2c7b6
|
Avoid destorying api::WebContents for twice
|
2015-06-05 18:13:30 +08:00 |
|
Cheng Zhao
|
af62b7b5c9
|
Put common code of OpenURLFromTab to CommonWebContentsDelegate
|
2015-06-05 17:45:17 +08:00 |
|
Cheng Zhao
|
8f9a109fa6
|
Implement HTML5 fullscreen in CommonWebContentsDelegate
|
2015-06-05 17:27:24 +08:00 |
|
Cheng Zhao
|
05468cc3fa
|
Remove devtools APIs from NativeWindow
|
2015-06-05 17:01:17 +08:00 |
|
Cheng Zhao
|
94d69777fa
|
Enable calling WebContents::openDevTools for BrowserWindow's WebContents
|
2015-06-05 15:41:03 +08:00 |
|
Cheng Zhao
|
67144aaf2a
|
Remove duplicate def of is_guest
|
2015-06-05 15:18:15 +08:00 |
|
Cheng Zhao
|
d9efc3b4bf
|
Move more methods to CommonWebContentsDelegate
|
2015-06-05 15:12:38 +08:00 |
|
Cheng Zhao
|
c32aac0a56
|
Manage webview with CommonWebContentsDelegate
|
2015-06-05 15:01:51 +08:00 |
|
Cheng Zhao
|
92b15c81e9
|
Manage InspectableWebContents in CommonWebContentsDelegate
|
2015-06-05 14:55:07 +08:00 |
|
Cheng Zhao
|
19d742de37
|
Add CommonWebContentsDelegate
|
2015-06-05 13:49:24 +08:00 |
|