Kevin Sawicki
09adffe48f
Merge pull request #6870 from electron/more-permissive-standard-markdown
...
Use a more permissive version of standard-markdown
2016-08-17 08:52:06 -07:00
Cheng Zhao
47c37d6f51
Merge pull request #6814 from brave/net-converter-fix
...
don't convert a string to an array buffer
2016-08-17 20:44:13 +09:00
Zeke Sikelianos
cc2b95fac3
js → javascript
2016-08-16 14:50:21 -07:00
Zeke Sikelianos
e71280f31c
restore js label to orphan code blocks
2016-08-16 14:49:42 -07:00
bridiver
94c60379d1
don't convert a string to an array buffer
2016-08-13 13:35:23 -07:00
Samuel Attard
0b624315b2
Fix attribute typo in docs
2016-08-12 01:49:56 +10:00
Samuel Attard
5b07e8dd5b
Send isMainFrame as argument to did-navigate-in-page event
2016-08-12 01:27:50 +10:00
Cheng Zhao
7173d8b01b
Use getBitmap in docs
2016-08-05 18:08:36 +09:00
Cheng Zhao
736fbd46c6
docs: Show how to use bitmap data directly
2016-08-05 17:40:42 +09:00
Cheng Zhao
8c4ebdc88e
Emit NativeImage objects in paint event
2016-08-05 17:40:42 +09:00
Cheng Zhao
64334fd40b
Pass SkBitmap directly
2016-08-04 13:22:19 +09:00
Cheng Zhao
32d9382417
Merge pull request #6713 from MaxWhere/offscreen-rendering-fixes
...
Fixes buffer size in offscreen mode
2016-08-04 13:00:54 +09:00
Kevin Sawicki
05ab7d39ad
Mark isDestroyed as public on BrowserWindow/WebContents
2016-08-03 14:58:22 -07:00
gellert
ca16132268
renames to bytesPerPixel and use nullptr
2016-08-03 19:39:23 +02:00
Milan Burda
d8f79bf29b
docs: fix cwd description for shell.writeShortcutLink
2016-08-03 18:27:15 +02:00
gellert
50485a28d3
fixes buffer size and adds pixel size to paint event
2016-08-03 13:28:19 +02:00
Cheng Zhao
5dabc47440
Remove the view-painted event
2016-08-03 16:20:55 +09:00
Cheng Zhao
ba9aa13bd8
Fix lint warnings in documentations
2016-08-03 10:15:38 +09:00
gellert
8eed91d87a
Merge remote-tracking branch 'upstream/master' into speedup-gpu
2016-08-02 14:59:03 +02:00
Cheng Zhao
84bb82866d
docs: the callbacks
2016-08-02 14:44:06 +09:00
Samuel Attard
b59f37de98
Document the async versions of getZoomFactor and getZoomLevel
2016-08-02 13:04:21 +10:00
Samuel Attard
a1f5ca1ad2
Document the zoom methods that are mapped to the webContents object
2016-08-02 12:28:13 +10:00
gellert
439ad94afe
Merge remote-tracking branch 'upstream/master' into speedup-gpu
2016-08-01 12:00:34 +02:00
Heilig Benedek
0eacee0058
add documentation for changes
2016-08-01 02:18:19 +02:00
Heilig Benedek
2b05be64b4
add documentation for changes
2016-08-01 02:14:45 +02:00
gellert
35ee99265e
adds tests for osr
2016-07-31 17:10:53 +02:00
gellert
f60d791fa8
adds docs for osr
2016-07-31 00:22:34 +02:00
Milan Burda
e428d5db4f
docs: fix argument types
2016-07-29 11:56:32 +02:00
Cheng Zhao
99b523176b
Merge pull request #6619 from electron/web-contents-copy-image-at
...
Add webContents.copyImageAt(x, y)
2016-07-27 10:15:38 +09:00
Kevin Sawicki
31564f079f
Document webContents.copyImageAt(x,y)
2016-07-26 12:08:05 -07:00
Zeke Sikelianos
06a354a2eb
standardize all javascript blocks in English docs
2016-07-26 09:48:19 -07:00
Cheng Zhao
c497765dea
Merge pull request #6524 from liusy182/painted-event-6426
...
add "view-painted" event to WebContent.
2016-07-25 16:02:50 +09:00
liusy182
6e83f454d7
documentation error pointed out in issue #6541
2016-07-21 22:46:46 +08:00
Anthony Tseng
42eb0c3eae
serial number in hex string
2016-07-18 23:42:42 +08:00
liusi
d335d7d706
add "view-painted" event to WebContent.
2016-07-18 14:54:52 +08:00
Cheng Zhao
9eacd07eda
Merge pull request #6489 from electron/webcontents-static-api
...
Document static methods on webContents
2016-07-15 11:02:00 +09:00
Kevin Sawicki
297365b4f0
Add require example for webContents
2016-07-14 17:54:18 -07:00
Kevin Sawicki
4de4774325
Update headings/sections to follow docs styleguide
2016-07-14 17:46:58 -07:00
Cheng Zhao
3ace677b41
Merge pull request #6474 from darkdh/cert_detail
...
Add more detail attributes for certificate-error
2016-07-15 08:45:36 +09:00
Kevin Sawicki
c680c0b85e
Document static webContents methods
2016-07-14 09:00:29 -07:00
Kevin Sawicki
e1459b7db7
Doc webContents.isFocused
2016-07-13 14:20:33 -07:00
Anthony Tseng
db39867ad9
Add more detail attributes for certificate-error
2016-07-13 22:14:47 +08:00
vsemozhetbyt
4f62050b01
Fix typo in the web-contents.md
...
📝 `false` -> `true` in the `webContents.print` `silent` explanation.
[ci skip]
2016-07-09 20:31:02 +03:00
Cheng Zhao
c70635daff
docs: Some dlls are not there anymore
2016-07-07 10:17:49 +09:00
Kevin Sawicki
ce4ef1ccb8
Update capturePage documentation for new location
2016-07-06 09:21:28 -07:00
vsemozhetbyt
c2bf6c2460
Fix disordered definitions in webContents doc
...
📝 Swap `clearSelection` and `keepSelection` definitions
for `webContents.stopFindInPage(action)` that seems to be in wrong order.
[ci skip]
2016-07-06 18:58:50 +03:00
Cheng Zhao
f072d9dd3a
docs: webContents.startDrag(item)
2016-07-03 15:10:59 +09:00
Cheng Zhao
e1ad64013e
Cleanup code of beginFrameSubscription
2016-06-26 11:46:40 +09:00
Cheng Zhao
3d2ad0080d
Merge pull request #6164 from MaxWhere/master
...
beginFrameSubscription bugfix and improvement
2016-06-26 02:39:59 +00:00
Heilig Benedek
5118def724
damaged -> dirty rename, fixed misc issues, changed signature, updated docs and added tests
2016-06-25 18:23:40 +02:00
Zeke Sikelianos
cfebf7aa6b
fix list indentation
2016-06-23 10:36:16 -07:00
Zeke Sikelianos
2a079b2e0a
wether → whether
2016-06-21 22:54:43 -07:00
Zeke Sikelianos
a82a2485d7
fix debugger event headings
2016-06-21 22:54:43 -07:00
Zeke Sikelianos
0d481aaeb8
📝 use h3 headings for events and methods, per the styleguide
2016-06-21 22:54:43 -07:00
Heilig Benedek
712141f153
Updated docs for beginFrameSubscription
2016-06-21 13:35:30 +02:00
Leonard Lamprecht
67dd19ed0f
Replace OS X and Mac OS with macOS
2016-06-18 15:26:26 +02:00
Kevin Sawicki
094098b571
Correct typos in docs
2016-06-16 15:19:38 -07:00
Kevin Sawicki
ce19c2c0ad
Document webContents.showDefinitionForSelection
2016-06-08 10:15:36 -07:00
Cheng Zhao
3c873736d7
Add update-target-url event
2016-06-07 15:56:19 +09:00
Kevin Sawicki
96ca8edbb4
javascript -> javascript
2016-06-02 09:39:17 -07:00
Cheng Zhao
e46ef5a15a
Merge pull request #5824 from electron/cleanup-web-contents
...
Cleanup the web-contents.js code
2016-06-01 07:14:31 +00:00
Cheng Zhao
01b10b3b39
Slightly improve docs of webContents.printToPDF
2016-06-01 15:32:37 +09:00
deepak1556
7434838463
fix docs
2016-06-01 11:44:29 +05:30
deepak1556
51daf8e194
add docs
2016-06-01 11:43:39 +05:30
Vasu Mahesh
fc6628d159
Add: custom pageSize for printToPDF
2016-05-31 22:40:11 +05:30
Cheng Zhao
998ce73ad9
Add webContents.id property
2016-05-18 13:57:48 +09:00
Daniel Pham
1bac1a9028
📝 Fix styling of the context-menu docs
...
[ci skip]
2016-05-14 08:43:23 -04:00
Plusb Preco
5146befa46
📝 Match variable names
...
[ci skip]
2016-05-11 02:38:42 +09:00
Plusb Preco
f1b184ef78
📝 Fix code style issue
...
* Change `var` to `let`.
* Change `function() {}` to `() => {}`.
* Use shorthand function syntax on object notation.
* Remove spaces between object notation brackets.
* Small fixes.
2016-05-11 02:15:09 +09:00
Plusb Preco
139a4f984a
📝 Add missing semicolons
...
[ci skip]
2016-05-11 01:57:55 +09:00
Plusb Preco
4d7296e1db
📝 Match destructuring style
...
[ci skip]
2016-05-11 01:26:38 +09:00
Plusb Preco
5787bb0226
📝 Fix code style issue
...
* Match equality operators for consistent that `==`, `!=` by `===`,
`!==`.
* Match string expression notation `"` by `'`.
[ci skip]
2016-05-10 18:42:21 +09:00
Charlie Hess
69c4c7e3be
Clarify how did-fail-load handles redirects.
2016-05-05 15:52:00 -07:00
Cheng Zhao
969a30fc3b
Merge branch 'update-code-samples' of https://github.com/stevekinney/electron into stevekinney-update-code-samples
2016-05-05 20:55:25 +09:00
Cheng Zhao
0901a70166
Merge pull request #5379 from danhp/context-menu
...
Expose the 'context-menu' event.
2016-05-05 11:12:58 +09:00
Steve Kinney
5a9f28e034
📝 Update API documentation to ES6 [ci skip]
2016-05-04 11:59:02 -06:00
Daniel Pham
a6f2d401fa
Follow object naming conventions for params in the 'context-menu' event
2016-05-04 10:41:10 -04:00
Daniel Pham
81eb3e3428
📝 Document 'context-menu' event
2016-05-03 17:52:24 -04:00
Sindre Sorhus
ad09196433
improve the webContents.openDevTools
docs
...
consistent value notation and explain the difference between `undocked` and `detach` mode.
2016-05-02 14:39:46 +07:00
Zeke Sikelianos
2c8261b429
update excerpts based on feedback
2016-04-22 10:32:28 -07:00
Zeke Sikelianos
0527b17e42
blockquote summaries
2016-04-22 10:32:28 -07:00
Zeke Sikelianos
ee190ca62a
create a one-liner description for each API
2016-04-22 10:32:28 -07:00
Plusb Preco
4f4277e25e
📝 Fix coding style issues
...
* Adjust line length to `80`
* Normalize whitespaces
[ci skip]
2016-04-22 22:54:43 +09:00
Cheng Zhao
aa29dc0c8a
Merge pull request #5199 from Mr0grog/5183-disambiguate-loading-from-main-frame-loading
...
Add `isLoadingMainFrame()` to WebContents
2016-04-20 20:49:56 +09:00
Rob Brackett
dc8fc7c079
📝 Add English docs for webContents.isLoadingMainFrame()
...
[ci skip]
2016-04-19 23:27:22 -07:00
deepak1556
58dfad4d01
devtools: allow opening in specified dock state
2016-04-19 18:12:05 +05:30
Rob Brackett
50f51899de
Document resourceType
arg for did-get-response-details
event.
2016-04-08 13:03:22 -07:00
Rob Brackett
884c9cc2f5
Document isMainFrame
argument for WebContents did-fail-load
event.
2016-04-04 19:36:34 -07:00
Robo
8378cbb1e8
webcontents: provide position of match with found-in-page event
2016-03-14 06:49:45 +05:30
Cheng Zhao
b7a40f3097
docs: Add missing key codes
2016-03-06 15:12:04 +09:00
Andrea Parodi
fd11b7e7db
Removed duplicate isDevToolsFocused entry
2016-02-27 20:34:51 +01:00
Cheng Zhao
ebfc127628
Merge pull request #4522 from deepak1556/async_execute_javascript_patch
...
webContents: provide responses for executeJavscript method
2016-02-26 21:17:47 +08:00
gellert
070772b4b9
Added special key identifiers for OSX and Windows
2016-02-26 20:22:46 +08:00
Robo
a734326907
track async api requests
2016-02-25 11:45:59 +05:30
Robo
2b547bd44a
webContents: provide responses for executeJavscript method
2016-02-25 11:45:59 +05:30
Robo
6fcc197db8
webview: api to get webcontents and associated host webcontents
2016-02-24 11:55:15 +05:30
Cheng Zhao
fded8d80b1
docs: Remove unnecessary "properties: " suffix
2016-02-16 12:11:05 +08:00
Cheng Zhao
2b406ccaf7
Optional => optional
2016-02-16 11:54:41 +08:00
Cheng Zhao
b8e8e4c930
docs: Cleanup the IPC docs
2016-02-16 11:34:39 +08:00
Luke Page
2c6e5d0464
Clarify arguments sent via ipc
2016-02-15 06:29:52 +01:00
Heilig Benedek
745253a369
Quick fix for the memory leak + docs
2016-02-01 07:17:58 +01:00
Heilig Benedek
066c189249
Renamed some cursor types to their CSS names and added a way to handle custom cursors properly.
2016-01-31 17:00:14 +01:00
Heilig Benedek
61e0219e91
Added documentation, restructured the files to fit better with electron's style and fixed a typo in keyboard_util's name.
2016-01-31 02:27:14 +01:00
Robo
3a60ab386c
add spec
2016-01-22 19:10:48 +05:30
Robo
df5bad3f89
fix api and docs
2016-01-22 10:27:25 +05:30
Robo
0e2323c9c8
browser: add webContents.debugger api
2016-01-21 23:52:23 +05:30
Cheng Zhao
5b7d1a9890
Add insertText to WebContents
2016-01-13 11:55:49 +08:00
Cheng Zhao
4844e68ba1
Rename did-navigate-to-different-page to did-navigate
2016-01-04 12:09:11 +08:00
Cheng Zhao
941232a76b
Merge pull request #3975 from leethomas/add-webview-navigation-events
...
Add webview navigation events
2016-01-04 11:24:27 +08:00
Cheng Zhao
14db4a1946
Add isDevToolsFocused to webview
2016-01-04 10:46:30 +08:00
leethomas
9e2b76361f
📝 add 'did-navigate-in-page', 'did-navigate-to-different-page', 'will-navigate' to docs
2016-01-01 17:22:25 -08:00
Brian R. Bondy
29b00ae0d6
Add tests for did-change-theme-color event
2015-12-22 23:05:03 -05:00
Brian R. Bondy
11b2015535
Add did-change-theme-color event to webview
2015-12-22 17:28:22 -05:00
Robo
61004f0e46
fix cpplint warning
2015-12-21 19:16:02 +05:30
Robo
d162180196
add api to webview
2015-12-21 17:13:23 +05:30
Robo
39e615ed87
webContents: adding findInPage api
2015-12-21 17:09:56 +05:30
Brian R. Bondy
fed0c43970
Add media play events to webview
2015-12-19 22:37:51 -05:00
BJR Matos
86bf7341b7
Add A5 Page Size to printToPDF
2015-12-14 23:28:25 -05:00
Charlie Hess
5839df66e4
Document the new method.
2015-12-02 13:49:42 -08:00
Stephen Niedzielski
62c65280a1
Update docs for webContents.addWorkSpace
...
Specify that webContents.addWorkSpace cannot be called before DevTools
creation and include example.
Fix : #3536
2015-11-26 23:16:00 -07:00
Cheng Zhao
ba8b448c36
docs: Add indent for items in list
...
Some markdown renderers require it to be able to render the list
correctly.
2015-11-23 16:59:15 +08:00
Cheng Zhao
1b464c82e1
docs: Put webContents.session under Properties
2015-11-19 21:48:45 +08:00
Cheng Zhao
dd8ef33e42
docs: webContents.savePage is placed at wrong place
2015-11-19 21:10:50 +08:00
Cheng Zhao
9ca022c98a
docs: Update the certificate APIs
2015-11-18 11:35:26 +08:00
Cheng Zhao
202d2eeb8a
Merge pull request #3454 from brenca/keyboard-pr
...
Adding further options to specify the character being sent with sendInputEvent (keyboard)
2015-11-16 22:13:09 +08:00
Heilig Benedek
14740eeb8a
Merging keyCode and keyIdentifier and adjusting the docs accordingly
2015-11-16 14:51:26 +01:00
Heilig Benedek
5fff06d2c2
Added documentation for the changes in KeyboardEvent and added missing mouseMove event type
2015-11-16 04:54:48 +01:00
Robo
e2959ed3fc
add docs
2015-11-14 12:09:18 +05:30
Cheng Zhao
fbb8e61958
Replace "Url" in API names with "URL"
2015-11-13 16:03:40 +08:00
Cheng Zhao
eac2e7cc61
docs: Update codes in docs to use require('electron')
2015-11-12 21:20:09 +08:00
Cheng Zhao
90a7d4a906
docs: Update with new IPC modules
2015-11-10 16:48:24 +08:00
Cheng Zhao
862c3187f5
docs: login event
2015-10-28 21:14:00 +08:00
Gohy Leandre
b29a8c94b9
Add extra headers option to webContents.loadUrl
2015-10-26 22:18:16 +01:00
Eran Tiktin
9b36abc816
Update web-contents.md
...
The `did-fail-load` event returns an error code and error description. The error description is at least sometimes empty (e.g. when the error code is -102 on Windows), so you're left with an error code without knowing what happened. So I add a link to Chromium's net_error_list.h.
2015-10-25 17:00:29 +02:00
Haojian Wu
facd0fbc08
Implement webContents.savePage API.
2015-10-16 09:23:08 +08:00
Cheng Zhao
af971a46bd
docs: Move devtools methods to WebContents
2015-10-01 16:30:31 +08:00
Heilig Benedek
8734395358
Detalied documentation about frameBuffer's format.
2015-09-28 22:33:43 +02:00
Heilig Benedek
21cd4c1431
Added documentation about the changes
2015-09-28 02:52:16 +02:00
Cheng Zhao
6c8a9cb072
Merge pull request #2870 from atom/window-open-options
...
Pass options in "new-window" event
2015-09-23 00:06:50 +08:00
Cheng Zhao
7165aa5467
Merge pull request #2846 from alexsalas/patch-1
...
err undefined
2015-09-22 23:42:51 +08:00
Cheng Zhao
8bfa3cba63
docs: The options parameter of new-window event
2015-09-22 23:41:08 +08:00
Gohy Leandre
477103191f
Add http_response_code, method, referrer, response_headers to did-get-redirect-request event.
2015-09-21 09:51:58 +02:00
Alexander Salas
40b861bc9c
err undefined
2015-09-20 17:58:41 -04:30
Cheng Zhao
1e918480b4
docs: webContents.beginFrameSubscription
2015-09-18 17:53:19 +08:00
Cheng Zhao
573892c112
docs: webContents.sendInputEvent
2015-09-18 17:44:11 +08:00
Gohy Leandre
6b875110ed
Add device emulation API
2015-09-17 13:50:36 +02:00
Jessica Lord
b861a174ca
Merge pull request #2750 from atom/jl-doc-bits
...
A Few More Documentation Things
2015-09-10 10:41:42 -07:00
Jessica Lord
c29a2e4992
Standardize DevTools
2015-09-09 14:11:06 -07:00
Gohy Leandre
590be75fa9
add ValidatedUrl to did-fail-load event
2015-09-09 15:56:16 +02:00
Jessica Lord
b797804fd9
Use "in" over "on"
2015-09-04 13:44:40 -07:00
Jessica Lord
5f1897713c
Edits, grammar, punctuation and merge conflicts
2015-08-26 13:57:42 -07:00
Jessica Lord
38b519ceb5
Add (optional) notation
2015-08-26 10:45:57 -07:00
Jessica Lord
c282d4c0ff
Line wrap 80-col
2015-08-26 10:45:57 -07:00
Jessica Lord
00de81771c
Text edits per commit comments
2015-08-26 10:45:16 -07:00
Jessica Lord
840095b444
Break out methods, standardize
2015-08-26 10:45:15 -07:00