Cheng Zhao
ea1b89c699
Merge pull request #2250 from EyeSee360/master
...
Maintain an aspect ratio for content within a window
2015-07-23 09:45:42 +08:00
Michael S. Barthelemy
6d25c81bd1
changes requested for pull request #2250 into electron master
2015-07-22 10:23:31 -04:00
Haojian Wu
462e6e0a82
Implement getUserAgent API.
2015-07-22 12:25:10 +08:00
Robo
d3055a5ca0
session: api to set proxy
2015-07-20 15:21:47 +05:30
Antonio Stoilkov
00c484c68b
fix typo in browser-window.md
2015-07-15 17:29:02 +03:00
Cheng Zhao
886db7a3f2
Merge pull request #2195 from atom/jl-docs-typo
...
Fix docs typo
2015-07-14 08:35:33 -07:00
Cheng Zhao
868dee55de
The options of clearStorageData should be optional
2015-07-13 15:13:17 -07:00
Cheng Zhao
6840d424cd
docs: Add WebContents.session
2015-07-13 12:41:07 -07:00
Jessica Lord
1249196118
Fix docs typo
...
It was breaking the docs site build because it's a code block type
2015-07-11 19:46:26 -07:00
Robo
628fb5f5e9
app: api to clear data from different storage types
2015-07-10 11:31:30 +05:30
Kevin Sawicki
4b4654ec71
Merge pull request #2066 from atom/doc-type-error
...
📝 Fix a type error.
2015-06-26 08:24:33 -06:00
Cheng Zhao
e6f3c4c22b
Merge pull request #2002 from atom/app-commands-win32
...
Windows App Commands
2015-06-26 11:43:08 +08:00
Cheng Zhao
b5ff77ef0d
Small cleanups
2015-06-26 11:20:12 +08:00
Haojian Wu
80e02d945c
📝 Fix a type error.
2015-06-26 10:47:50 +08:00
Cheng Zhao
5b5393e82b
docs: gpu-crashed is moved to app
2015-06-26 10:34:13 +08:00
Paul Betts
2a2158e0e3
📝 consistency
2015-06-25 11:29:58 -06:00
Paul Betts
b98154431c
📝 app commands
2015-06-25 11:29:25 -06:00
Cheng Zhao
3519dd96ee
Merge pull request #2019 from atom/pdf-api-doc
...
Add usage sample code of printToPDF API.
2015-06-23 10:20:46 +08:00
Cheng Zhao
19963bfcd1
Merge pull request #1981 from atom/cookies-api
...
Implement Cookies api
2015-06-23 10:04:42 +08:00
Haojian Wu
f73e1f9188
📝 Add missing BrowserWindow.isDevToolsOpened method.
2015-06-21 10:56:40 +08:00
Haojian Wu
d50db378d7
Add usage sample code of printToPDF API.
2015-06-20 15:18:21 +08:00
Haojian Wu
c164da5a38
Make cookie aligns to Chrome's.
2015-06-19 14:18:22 +08:00
Haojian Wu
99bfc9b7f5
Move cookies APIs to webContents.session.cookies namespace.
2015-06-19 10:30:08 +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
f22662ffb2
📝 Update docs.
2015-06-16 20:07:44 +08:00
Haojian Wu
bf5d448e37
📝 Add BrowserWindow.printToPDF API docs.
2015-06-16 20:02:24 +08:00
Magica
8aa559fe51
Add setAudioMuted to webContents
2015-06-15 21:40:49 +08:00
Thomas Tuts
ab98dcd7cf
Try to clarify docs for window.onbeforeunload()
2015-06-09 16:56:45 +02:00
Thomas Tuts
6494ed6b13
Make platform compatibility notes consistent
2015-06-09 16:51:54 +02:00
Thomas Tuts
8893c9502a
Use consistent naming convention for 'task bar' concept
2015-06-09 16:49:44 +02:00
Thomas Tuts
13b6ed6dc5
Fix several typos and grammar errors
2015-06-09 16:49:21 +02:00
Haojian Wu
488801e244
Rename httpreferrer to httpReferrer, useragent to userAgent.
2015-06-09 10:10:29 +08:00
Haojian Wu
bf1765f941
📝 Add missing useragent
doc.
2015-06-09 10:10:28 +08:00
Haojian Wu
994be9cdab
📝 Add missing httpreferer
option doc.
2015-06-09 10:10:28 +08:00
Cheng Zhao
129159c895
docs: Say more about page-visibility option
2015-06-04 22:42:36 +08:00
Cheng Zhao
f4c696b922
Merge pull request #1863 from atom/default-menu
...
Create a default menu for apps ran by default_app
2015-06-04 22:36:33 +08:00
deepak1556
683917ae67
renderer: option to override page visiblity state
2015-06-04 14:40:13 +05:30
Cheng Zhao
3b20f2aced
docs: Mention how to remove menu bar
2015-06-04 16:12:29 +08:00
Cheng Zhao
4a376694b4
Merge pull request #1719 from deepak1556/service_worker_patch
...
devtools: api to inspect service worker
2015-05-27 15:47:41 +08:00
Cheng Zhao
1c60575dc0
Merge pull request #1738 from deepak1556/http_ptach
...
webContents: providing header details with response event
2015-05-27 15:05:55 +08:00
Cheng Zhao
172a5a71fc
docs: "move" and "moved" are platform-dependent
2015-05-27 14:57:14 +08:00
Cheng Zhao
c244e83e10
Merge pull request #1633 from deepak1556/window_event_patch
...
window: adding resize and move events
2015-05-27 14:54:36 +08:00
deepak1556
4d5790dc09
return headers as object
2015-05-23 19:26:47 +05:30
Haojian Wu
fdad5892d9
📝 Add pdf.dll
note doc.
2015-05-23 21:39:59 +08:00
deepak1556
9a60fde59b
alias move and moved event on OS X
2015-05-22 12:24:12 +05:30
Robo
f46fcd158a
chnage move hook and add details to doc
2015-05-22 12:13:01 +05:30
Robo
1b1735bca9
avoid unnecessary api calls
2015-05-22 12:13:00 +05:30
deepak1556
3a5977e09f
window: adding resize and move events
2015-05-22 12:13:00 +05:30
Cheng Zhao
fd41f1e8bc
Merge pull request #1616 from deepak1556/webview_fullscreen_patch
...
webContents: override fullscreen notification apis for webview
2015-05-21 15:03:48 +08:00
Cheng Zhao
cde6b41a05
Merge pull request #1730 from deepak1556/webview_navigation_patch
...
navigation: adding clearHistory method
2015-05-21 14:56:30 +08:00
deepak1556
f2d91bc53c
adding events to notify fullscreen state
2015-05-21 10:16:11 +05:30
Cheng Zhao
dbecc8d5f5
Merge pull request #1701 from CharlieHess/paste-and-match-style
...
Paste and Match Style
2015-05-20 23:12:46 +08:00
deepak1556
04b797ff0c
webContents: providing response headers in did-get-response-details event
2015-05-20 15:54:30 +05:30
deepak1556
c548b9c87e
webContents: adding events to detect gpu and plugin process crashes
2015-05-20 15:05:48 +05:30
deepak1556
b0e8cafa00
navigation: adding clearHistory method
2015-05-19 22:41:03 +05:30
deepak1556
9963ddc485
implement method on browser window
2015-05-18 20:08:08 +05:30
Charlie Hess
9f461aed68
Update docs.
2015-05-15 00:15:33 -07:00
Cheng Zhao
75e5695317
Merge pull request #1554 from deepak1556/favicon_patch
...
webContents: removing getFavicon api
2015-05-10 21:22:01 +08:00
Cheng Zhao
66ef52197a
mac: Make "standard-window" option default to true
2015-05-10 21:16:08 +08:00
joshaber
c8d0ef05a6
Docs.
2015-05-08 16:33:57 -04:00
deepak1556
22c50d0800
webContents: removing getFavicon api
2015-05-04 13:39:13 +05:30
deepak1556
ae6a1b409f
window: adding setBounds and getBounds api
2015-05-01 16:20:53 +05:30
Cheng Zhao
9300859983
Merge pull request #1535 from deepak1556/contents_patch
...
webContents: adding serviceworker helper utilities
2015-05-01 14:56:35 +08:00
deepak1556
d76bd4a103
webContents: adding serviceworker helper utilities
2015-05-01 12:02:57 +05:30
deepak1556
8c5f171a93
webContents: providing dom-ready event
2015-04-30 09:58:29 +05:30
Cheng Zhao
75b24c7d76
docs: disable-auto-hide-cursor option
2015-04-29 10:28:42 +08:00
deepak1556
18b3dfa350
removed will-navigate and did-navigate events
2015-04-25 09:50:28 +05:30
deepak1556
05be71e9bc
fix getFavcion api in webview to return dataUrl
2015-04-25 09:50:28 +05:30
deepak1556
36819e2638
added did-navigate event, getFavicon api and workaround webview spec
2015-04-25 09:50:28 +05:30
deepak1556
9b585458c1
webview: will-navigate and page-favicon-set navigation events
2015-04-25 09:50:28 +05:30
Cheng Zhao
cd0aa4a956
Merge pull request #1389 from atom/rename-to-electron
...
Rename to electron
2015-04-17 15:22:07 +08:00
Cheng Zhao
d2682233fd
docs: Atom Shell => Electron
2015-04-16 11:31:12 +08:00
deepak1556
15a648a879
webContents: event to detect status of requested resource
2015-04-08 19:14:47 +05:30
Cheng Zhao
e95ab2ddb8
Merge pull request #1337 from deepak1556/api_devtools_window_patch
...
browserWindow: adding devtools-focused event
2015-04-07 09:50:31 +08:00
Robo
3aefa5f549
browserWindow: adding devtools-focused event
2015-04-02 12:23:57 +05:30
Evlogiy Sutormin
430a6c2915
fix link
2015-04-01 03:24:39 +03:00
Cheng Zhao
9b68777b4b
Minor fixes of #1309
...
* Line length should <= 80 cols.
* Add missing "s".
2015-03-29 20:40:02 +08:00
Cheng Zhao
3b1be743ef
Merge pull request #1309 from hokein/workspace-visible-api
...
Add workspace visible APIs
2015-03-29 20:37:07 +08:00
Cheng Zhao
85838fbf1a
Merge pull request #1313 from ArtskydJ/browser-side-to-main-process
...
Renamed browser-side to main process
2015-03-29 15:25:56 +08:00
Haojian Wu
0342854e25
Update workspace visible APIs.
2015-03-29 10:01:52 +08:00
Joseph Dykstra
4a508e0e41
reverted incorrect changes
2015-03-27 07:46:26 -05:00
Cheng Zhao
b52771e729
Merge pull request #1307 from deepak1556/api_windows_patch
...
providing option to undock devtools from browser-window
2015-03-27 16:19:45 +08:00
deepak1556
69d958b94e
providing option to undock devtools from browser-window
2015-03-27 13:32:08 +05:30
Cheng Zhao
b77c03357c
docs: BrowserWindow.capturePage nows returns NativeImage
2015-03-27 14:43:29 +08:00
Joseph Dykstra
b6875ad49b
Renamed browser-side to main process
...
renamed a few occurances of "web page" to "renderer"
renamed a few files that had "browser" in their name to "main-process"
note that there are still many occurances of web page.
2015-03-26 10:20:31 -05:00
Haojian Wu
296d5c4515
📝 Add document for workspace visible APIs.
2015-03-26 18:59:24 +08:00
Cheng Zhao
30e931f10b
Revert "The "subpixel-font-scaling" option is removed"
...
This reverts commit 98fbe5127b
.
2015-03-23 16:29:32 +08:00
Cheng Zhao
98fbe5127b
The "subpixel-font-scaling" option is removed
2015-03-18 09:57:41 +08:00
Cheng Zhao
2d6dd9f4d2
docs: Put window.open docs in its own chapter, regards #1137
2015-03-04 08:47:04 -08:00
bundyo
e8d648bcba
Change the link to use dashes.
2015-02-28 10:34:26 +02:00
bundyo
c7562dbfd0
Add FakeWindow documentation.
2015-02-28 10:31:07 +02:00
Cheng Zhao
8093300a43
docs: Use NativeImage to replace Image
2015-02-12 13:52:28 +08:00
Cheng Zhao
382a00493b
docs: "type" option of BrowserWindow
2015-02-11 12:19:39 +08:00
Paul Betts
86de75deef
Style fixups
2015-02-10 17:14:26 -08:00
Paul Betts
59a8be53c2
Documentation
2015-02-06 17:11:54 -08:00
Damien Patou
8e6e1610a4
Event name typo
2015-02-05 01:23:16 +01:00
Xue Fuqiao
5083a7505d
Change Mac OS X to OS X.
...
Apple has renamed Mac OS X to OS X.
2015-02-02 16:21:23 +08:00
Cheng Zhao
3da347a783
docs: The editing commands
2015-01-19 12:30:28 -08:00
Cheng Zhao
ab9e1dd650
Upgrade brightray for #863
2015-01-15 17:52:14 -08:00
Cheng Zhao
bda3711815
docs: Transparent window
2015-01-12 15:27:33 -08:00
Cheng Zhao
6cdc8e4b96
Small style fixes
2014-12-19 12:48:53 -08:00
Hajime Morrita
dc9329ff43
Add BrowserWindow.showDefinitionForSelection()
...
This API shows the system-provided pop-up dictionary.
Some Mac apps including Chrome have "Look Up in in Dictionary" context
menu item. This API can be used to implement it.
2014-12-18 16:45:45 -08:00
Cheng Zhao
040049f9e7
docs: "will-navigate" event
2014-12-17 15:15:37 -08:00
Cheng Zhao
5a8678b191
docs: Window state events
2014-11-25 14:43:11 +08:00
Cheng Zhao
f2b91d5e1d
docs: Menu bar APIs
2014-11-12 20:49:38 +08:00
Cheng Zhao
a3d2a490da
docs: "preload" option of BrowserWindow
2014-11-12 15:51:48 +08:00
Cheng Zhao
c764b7b023
docs: Mention the side effect of "fullscreen" option, fixes #792
2014-11-06 10:16:28 +08:00
Cheng Zhao
033212841d
docs: Document the disposition
parameter
2014-11-04 18:37:06 +08:00
Kevin Sawicki
490efe69f4
📝 a -> an
2014-11-02 07:20:00 -08:00
Cheng Zhao
f44be28309
doc: "new-window" event of WebContents
2014-10-27 23:27:33 +08:00
Cheng Zhao
d596a7427e
Node integration option is now only true/false
2014-10-25 19:20:04 +08:00
Cheng Zhao
81170d81b3
Remove iframe related security code
2014-10-25 19:08:21 +08:00
Cheng Zhao
d63f44cd07
Add more events for WebContents
2014-10-24 23:05:25 +08:00
Cheng Zhao
e214ce6bc4
Add WebContents.insertCSS
2014-10-24 21:04:50 +08:00
Cheng Zhao
1f08d50e98
Add WebContents.setUserAgent
2014-10-24 20:57:44 +08:00
Cheng Zhao
07a8a50861
Bind WebContents APIs to <webview>
2014-10-24 20:49:51 +08:00
Cheng Zhao
cb9bdbf247
docs: Add BrowserWindow.showInactive()
2014-10-17 22:49:21 +08:00
Cheng Zhao
805215be78
Merge pull request #655 from hokein/master
...
SetProgressBar API Implementation, fixes #635
2014-09-20 11:19:34 +08:00
Haojian Wu
e7fbe84644
Use app name as desktop name by default.
2014-09-18 22:58:17 +08:00
Cheng Zhao
9653f20995
win: Add "direct-write" option for BrowserWindow.
...
For atom/atom#3540 .
2014-09-18 21:49:04 +08:00
Haojian Wu
e959a40b49
docs: setProgressBar API.
2014-09-18 19:32:58 +08:00
Cheng Zhao
f08c3f9134
docs: Add options for web runtime features.
2014-09-09 11:14:44 +08:00
Cheng Zhao
80fb44b926
docs: Add docs on how to use chrome devtools extension.
2014-08-28 16:33:27 +08:00
Cheng Zhao
aa8f5e54df
dev-tools => devtools.
2014-08-28 16:00:29 +08:00
Cheng Zhao
a59388ecdd
Add "dev-tools-opened" and "dev-tools-closed" events.
2014-08-28 14:25:00 +08:00
Chris Soh
31f5855001
Adding the compulsory flag in the API documentation of BrowserWindow.flashFrame
2014-08-23 13:20:47 +08:00
Cheng Zhao
4fda81a0b4
Document the BrowserWindow.print().
2014-08-22 15:14:49 +08:00
Cheng Zhao
058d0bbe19
linux: Add "dark-theme" option for BrowserWindow, fixes #352 .
2014-08-21 12:25:43 +08:00
Cheng Zhao
2a9f5a5fb8
Add "enable-larger-than-screen" option for BrowserWindow.
...
From now on BrowserWindow can only be resized larger than screen or
moved out of screen when this option is set to "true".
Fixes #582 .
2014-08-17 12:23:00 +08:00
Cheng Zhao
cad9580796
docs: Move security info from browser-window to web-security.
2014-08-11 15:37:44 +08:00
Cheng Zhao
253789353f
docs: Add document on overriding X-Frame-Options.
2014-08-11 15:25:26 +08:00
Cheng Zhao
8a9e1824c3
views: Add support for auto-hide menubar.
2014-08-07 13:47:58 +08:00
Cheng Zhao
7a89a08534
Update to new Chromium APIs.
2014-07-28 20:28:49 +08:00
Alex Whitman
e4290393af
Fix isMinimized API documentation
2014-07-26 09:53:02 +01:00
Cheng Zhao
ce50b38a75
Add BrowserWindow.isMaximized API.
2014-07-26 13:58:26 +08:00
Haojian Wu
6f231d5860
mac: Add BrowserWindow.isDoucumentEdited API, fixes #459 .
2014-07-24 16:01:04 +08:00
Haojian Wu
acb8b7771e
mac: Add BrowserWindow.getRepresentedFilename API, fixes #460 .
2014-07-24 15:59:35 +08:00
Cheng Zhao
66ab127389
Merge pull request #437 from avdg/maximize
...
Add BrowserWindow::isMaximized.
2014-07-04 23:17:33 +08:00
as3boyan
116e4c877e
Update browser-window.md
2014-07-01 18:32:44 +03:00
Anthony Van de Gejuchte
dad7aa6a20
Add BrowserWindow::isMaximized.
2014-06-28 09:56:39 +09:00
Cheng Zhao
1a0d8a4aa9
📝 Add docs on image support in atom-shell.
2014-06-23 22:58:42 +08:00
Cheng Zhao
a138b5ec8b
📝 Document the 'zoom-factor' option.
2014-06-17 15:59:46 +08:00
Cheng Zhao
386ef9197c
📝 Document the setSkipTaskbar API.
2014-06-16 10:51:45 +08:00
RobberPhex
df8b9f69b1
Add document for browser-window's icon
2014-06-14 00:11:49 +08:00
Cheng Zhao
7d38fe61d2
"did-finish-load" should only emit for main frame, fixes #385 .
2014-06-09 12:03:19 +08:00
Cheng Zhao
7297faf09a
📝 Fix some old docs.
2014-05-27 14:20:22 +08:00
Cheng Zhao
a7b730654c
mac: Add APIs on setting icon in titlebar.
2014-05-27 14:15:34 +08:00
Cheng Zhao
890448d5fa
Merge pull request #351 from atom/custom-web-preferences
...
Enable custom web preferences
2014-05-23 23:18:06 +08:00
Cheng Zhao
2984c0d521
📝 Add details on plugins support.
2014-05-23 23:07:38 +08:00
Cheng Zhao
fc1bc78fb9
Merge pull request #343 from gmr/master
...
Add a `focus` event to BrowserWindow
2014-05-23 22:49:59 +08:00
Cheng Zhao
23d2dc5007
📝 Document the 'web-preferences' option.
2014-05-22 23:58:02 +08:00
Cheng Zhao
34fa0f1ff8
📝 Add docs on BrowserWindow.id.
2014-05-22 09:56:04 +08:00
Gavin M. Roy
b08ec402d2
Add a focus
event to BrowserWindow
...
- Tested in OSX
- Untested in GTK, but I expect it should work
- Did not see any similar constructs for notifications in Windows
2014-05-21 13:46:13 -04:00
Cheng Zhao
6799fe5393
Merge pull request #327 from atom/content-size
...
Provide ways to control window content's size
2014-05-18 21:46:37 +08:00
Cheng Zhao
6b51dad973
📝 Document content size related APIs.
2014-05-18 21:33:31 +08:00
Bernhard Millauer
cb324181ad
Replaced restart with reload
...
because restart is deprecated
2014-05-15 14:21:37 +02:00
Bernhard Millauer
2dfbe0b5d3
Add BrowserWindow.setMenu(menu)
2014-05-14 18:19:30 +02:00
Bernhard Millauer
08115d57fd
Add BrowserWindow.restart()
2014-05-14 18:06:56 +02:00
Joseph Higgins
7c77ab060a
Fixed typo in BrowserWindow API Documentation
2014-05-10 14:18:40 -04:00
Kramer Campbell
72f6575fc4
Correct WebContents send example.
2014-05-07 16:32:02 -07:00
Pascal Borreli
831c7f5924
Fixed typos
2014-05-07 07:34:53 +01:00
Cheng Zhao
779e7765ae
💄 Fix format.
2014-05-07 09:47:58 +08:00
Cheng Zhao
f25480dec5
📝 Say more on sending messages from browser to web page.
2014-05-07 09:45:39 +08:00
Cheng Zhao
5933947000
📝 Simpilify the structure of API references.
2014-05-05 14:24:57 +08:00