Cheng Zhao
1df033dce8
No need to override child_process.fork
...
We already support asar in Node mode.
2015-03-20 19:04:11 +08:00
Cheng Zhao
2c0b50a7e9
Merge pull request #1208 from deepak1556/protocol
...
adding protocol.RequestBufferJob api
2015-03-20 10:34:31 +08:00
Cheng Zhao
9bae54f917
Avoid extra copy of data in capturePage
2015-03-20 10:26:42 +08:00
deepak1556
9eac8ef266
add protocol.RequestBuffer api
2015-03-19 09:36:57 +05:30
Cheng Zhao
99410217b9
Bump v0.22.1
2015-03-18 22:36:44 +08:00
Cheng Zhao
d6b36bb487
Bump v0.22.0
2015-03-18 20:57:21 +08:00
Cheng Zhao
57812616b9
win: Fix tests and compilation errors
2015-03-18 13:58:33 +08:00
Cheng Zhao
105ad369ab
linux: Fix compilation error
2015-03-18 09:57:48 +08:00
Cheng Zhao
ff724634f2
js_stream is a new module of io.js
2015-03-18 09:57:47 +08:00
Cheng Zhao
12d5474077
Fix webview for the new API
2015-03-18 09:57:46 +08:00
Cheng Zhao
8328bce3f6
Initialize AtExitManager before calling MainApplicationBundlePath
...
Some singleton calsses require the existence of AtExitManager.
2015-03-18 09:57:45 +08:00
Cheng Zhao
c62c943bdb
Define our own Node entry
...
Chromium's V8 is using external startup snapshot file while Node does
not, so we have to use Chromium's gin for V8 initialization.
2015-03-18 09:57:45 +08:00
Cheng Zhao
ceccf1b48a
Fix devtools override for its new architecture
2015-03-18 09:57:44 +08:00
Cheng Zhao
6af7388ac0
Use DevToolsAPI instead of InspectorFrontendAPI
2015-03-18 09:57:43 +08:00
Cheng Zhao
d16d5b290a
Remove the "X-Frame-Options" from response headers for devtools
2015-03-18 09:57:43 +08:00
Cheng Zhao
5b2c0110dc
Fix other compilation errors
2015-03-18 09:57:41 +08:00
Cheng Zhao
98fbe5127b
The "subpixel-font-scaling" option is removed
2015-03-18 09:57:41 +08:00
Cheng Zhao
8e2fdc178b
Fix API changes of CopyFromBackingStore
2015-03-18 09:57:40 +08:00
Cheng Zhao
dfad907530
Fix API changes of tracing API
2015-03-18 09:57:39 +08:00
Cheng Zhao
04d1075db5
Fix API changes of ContentBrowserClient
2015-03-18 09:57:39 +08:00
Cheng Zhao
8a138fafd4
Fix API changes of WebContentsDelegate
2015-03-18 09:57:38 +08:00
Cheng Zhao
819ab5cd0c
Fix ui/gfx/geometry headers
2015-03-18 09:57:38 +08:00
Cheng Zhao
dead7caab2
CommandLine moved to base::CommandLine
2015-03-18 09:57:37 +08:00
Cheng Zhao
14542f4fc8
Upgrade to Chrome 41
2015-03-18 09:57:37 +08:00
Cheng Zhao
7457eccdee
Merge pull request #1238 from deepak1556/browser_window_lib_patch
...
define devToolsWebContents for use from remote module
2015-03-16 16:43:46 +08:00
Robo
87cb2ece80
add DidFailProvisionalLoad method
2015-03-14 08:58:30 +05:30
deepak1556
adb130cefa
define devToolsWebContents for use from remote module
2015-03-11 19:58:12 +05:30
deepak1556
8395745cc1
using Object.defineProperty instead of __defineMethods__
2015-03-11 04:18:11 +05:30
Cheng Zhao
6856d203c5
Merge pull request #1215 from deepak1556/dialog_patch
...
avoid overriding type value of showMessageBox
2015-03-09 13:50:18 -07:00
Cheng Zhao
29471ff8b5
Fix styling of #1209
2015-03-09 13:46:46 -07:00
Cheng Zhao
2495583b5e
Merge pull request #1209 from deepak1556/webcontents_patch
...
using WebContentsObserver::NavigationEntryCommitted to set virtualurl
2015-03-09 13:41:27 -07:00
deepak1556
0b780def24
avoid overriding type value of showMessageBox
2015-03-06 17:56:26 +05:30
Cheng Zhao
c9b549ae69
Fix styling of #1199
2015-03-05 12:31:45 -08:00
Cheng Zhao
bb0e68e563
Merge pull request #1199 from deepak1556/protocol_asar_patch
...
read files from asar archives in custom protocol
2015-03-05 12:26:42 -08:00
Robo
0663b9dae2
using WebContentsObserver::NavigationEntryCommitted to set virtualurl
2015-03-05 20:09:27 +05:30
Robo
2ce42af6e4
read files from asar archives in custom protocol
2015-03-05 09:26:34 +05:30
Cheng Zhao
eb31df2940
Rename FakeWindow to BrowserWindowProxy
2015-03-04 08:46:45 -08:00
Cheng Zhao
99f6bf045f
Improve #1137
2015-03-04 07:58:06 -08:00
Cheng Zhao
fac9ea3356
Merge pull request #1137 from bundyo/implement-some-popup-methods
...
Implement FakeWindow.postMessage, window.opener.postMessage and window.closed flag for popup windows
2015-03-04 07:28:33 -08:00
Bundyo
dbbc35bd13
Fixes after code review.
2015-03-04 11:29:52 +02:00
Cheng Zhao
4176d542a5
Bump v0.21.3
2015-03-03 13:42:29 -08:00
Patrick Flor
5bdc200376
Fix tense of error message
...
Thanks for putting this project together; really enjoying hacking with
it so far!
2015-03-02 12:08:12 -08:00
Cheng Zhao
38a871aa4b
Merge pull request #1176 from CharlieHess/before-quit-event
...
App Before-Quit Event
2015-03-01 02:20:03 -08:00
Cheng Zhao
54c948409e
Merge pull request #1167 from mal/patch-1
...
Prevent overflow on webview with height: 100%
2015-02-27 15:30:17 -08:00
Cheng Zhao
70a83ad069
Merge pull request #1148 from bundyo/fix-window-open-options
...
Fix window.open options parsing
2015-02-27 12:24:13 -08:00
Cheng Zhao
e98953a5a5
win: Fix calling FILE_PATH_LITERAL for variable, fixes #1143
2015-02-27 12:21:19 -08:00
Charlie Hess
78b856268e
Fix cpplint errors.
2015-02-25 21:57:25 -08:00
Charlie Hess
b6787a9b34
Emit a new before-quit event at the start of Browser::Quit, which gives us a chance to cancel before any windows are closed.
2015-02-25 19:33:42 -08:00
Mal Graty
7eecb84898
Prevent overflow on webview with height: 100%
...
Without this, the object element gets displayed `inline` which in chromium means that it slightly exceeds it's bounds. Unfortunately there's no nice way to mitigate this issue as I can't find a way to get extra css into this intermediate page. However, forcing a block display solves the issue.
2015-02-21 22:34:57 +00:00
Bundyo
43e44f8c35
Fix window.open options parsing:
...
remove excessive whitespace (gets inserted in property names),
avoid creating dummy properties if not needed,
turn 1/0 to true/false, convert integer strings to strings (fixes width/height).
2015-02-18 14:36:05 +02:00
Bundyo
4e82f4c672
Remove two semicolons.
2015-02-13 18:54:18 +02:00
Bundyo
7fa1296a17
Implement FakeWindow.postMessage, window.opener.postMessage and window.closed flag for popup windows.
2015-02-13 18:45:12 +02:00
Cheng Zhao
4834eed520
Set process.resourcesPath in C++
2015-02-13 13:32:58 +08:00
Cheng Zhao
0f15dd04af
Put compiled coffee sources into asar archive
2015-02-13 13:05:51 +08:00
Cheng Zhao
0b8efc434d
Use __dirname when setting globalPaths
2015-02-13 12:55:06 +08:00
Cheng Zhao
e81baf759a
Enable setting icon of menu item
2015-02-13 12:11:50 +08:00
Cheng Zhao
b28a241dbf
Simplify the code to call delegate method
2015-02-13 11:47:22 +08:00
Cheng Zhao
a8c227d5f5
Fix cpplint warnings
2015-02-12 19:50:28 +08:00
Cheng Zhao
3678f13dfb
Make NativeImage work with asar archive
2015-02-12 19:34:21 +08:00
Cheng Zhao
98a7f08be2
Move GetAsarArchivePath to asar_util.h
2015-02-12 17:31:14 +08:00
Cheng Zhao
3b3a025ed4
Move GetsOrCreateAsarArchive to asar_util.h
2015-02-12 17:23:49 +08:00
Cheng Zhao
c8738a88a4
Add nativeImage.createFromBuffer()
2015-02-12 15:19:05 +08:00
Cheng Zhao
353b485202
Add NativeImage.toDataUrl()
2015-02-12 14:32:51 +08:00
Cheng Zhao
8e94856cc8
Add nativeImage.createFromDataUrl()
2015-02-12 14:27:53 +08:00
Cheng Zhao
b9f6d6dffc
Add nativeImage.createEmpty()
2015-02-12 13:55:45 +08:00
Cheng Zhao
da407200d2
Return NativeImage in BrowserWindow.capturePage
2015-02-12 13:45:50 +08:00
Cheng Zhao
443a4b8f2f
mac: Use AsNSImage instead of ToNSImage
...
It can get rid of the empty check.
2015-02-12 12:29:49 +08:00
Cheng Zhao
509ce0d5cb
mac: Don't rely on NSImage to read file
...
It doesn't work with asar.
2015-02-12 12:24:18 +08:00
Cheng Zhao
2ca6be69e2
Fix cpplint warnings
2015-02-12 10:45:04 +08:00
Cheng Zhao
054b6a9817
Use NativeImage when converting images from V8
2015-02-12 10:45:04 +08:00
Cheng Zhao
6556602bdc
Enable creating NativeImage from file path
2015-02-12 10:45:04 +08:00
Cheng Zhao
2876f15063
Enable creating NativeImage with native-image module
2015-02-12 10:45:04 +08:00
Cheng Zhao
85f5ef2ab1
Enable creating NativeImage from PNG and JPEG
2015-02-12 10:45:04 +08:00
Cheng Zhao
53fca43d89
Add NativeImage.ToJPEG
2015-02-12 10:45:03 +08:00
Cheng Zhao
549df36f00
Add a few more methods for NativeImage
2015-02-12 10:45:03 +08:00
Cheng Zhao
aae576b484
Convert gfx::Image to NativeImage instance
2015-02-12 10:45:03 +08:00
Cheng Zhao
b76615f3e7
Add clipboard.readImage method
2015-02-12 10:45:03 +08:00
Cheng Zhao
878d25e91e
Enable converting gfx::Image to Buffer
2015-02-12 10:45:03 +08:00
Cheng Zhao
f0924df68a
Add "type" option to change window type
2015-02-11 12:19:39 +08:00
Paul Betts
86de75deef
Style fixups
2015-02-10 17:14:26 -08:00
Paul Betts
8a7acfc6c0
icon_util is Windows-only
2015-02-07 11:57:00 -08:00
Paul Betts
03a88883b6
Fix build on OS X
2015-02-07 11:56:03 -08:00
Paul Betts
f55379ed5b
Add missing trampoline method
2015-02-06 17:07:29 -08:00
Paul Betts
ef869fb2ff
We need a UTF-16 string here
2015-02-06 17:00:38 -08:00
Paul Betts
1b9649b481
Switch to gfx::Image
2015-02-06 17:00:26 -08:00
Paul Betts
fa6d499a4e
Come correct with line length and constness
2015-02-06 16:32:27 -08:00
Paul Betts
0afac1e05a
Plumb code all the way up
2015-02-06 16:12:32 -08:00
Paul Betts
66f2d18d8b
First hack at setting the window icon overlay
2015-02-06 15:58:49 -08:00
Cheng Zhao
b75bfe0e92
Bump v0.21.2
2015-02-05 13:46:09 -08:00
christoth
92ab227397
Update atom.rc
2015-02-05 14:55:32 -05:00
christoth
076535bc06
Remove MFC lib dependency
...
Replace afxres.h with windows.h to remove dependency on MFC for compilation on Windows
2015-02-05 13:09:19 -05:00
Cheng Zhao
071a55974a
A little clean up
2015-02-05 00:19:30 -08:00
Cheng Zhao
7c8bed7bfc
Get the WebViewManager from embedder WebContents
...
This make our lives easier when we have multiple BrowserContext support.
2015-02-04 15:52:59 -08:00
Cheng Zhao
209840871c
Seperate the API implementation of WebViewManager
2015-02-04 15:39:41 -08:00
Cheng Zhao
ea99037f3b
Clean up WebViewManager
2015-02-04 15:28:26 -08:00
Cheng Zhao
331d0481bb
Move web_view_manager to atom/browser
2015-02-04 15:17:28 -08:00
Cheng Zhao
2c61070b36
Avoid using global BrowserContext
2015-02-04 15:08:29 -08:00
Cheng Zhao
502c0f0df7
Remove the WebViewRendererState class
2015-02-04 14:58:03 -08:00
Cheng Zhao
aa49e4790f
Update WebViewRendererState immediately
2015-02-04 12:59:46 -08:00
Cheng Zhao
3490ce507a
Remove WebViewRendererState::IsGuest
2015-02-04 12:51:15 -08:00