Jason Poon
498bff9e5a
Windows Toasts: Enable Basic Notifications
...
To test this puppy out, build and open up the Chromium Dev Tools.
Then, run `new Notification("Test title", {body: "Test body"});`
2015-11-09 12:00:21 +01:00
Cheng Zhao
b8cd4f7981
linux: Link Xi with pkg-config
...
Fix atom/electron#3357 .
2015-11-07 12:11:12 +08:00
Dwayne Jones
9d8bff7d04
Update to brightray.gyp : libresolv
...
In Following with this PR https://github.com/atom/brightray/pull/153
@joshaber helped me to work out this was causing a build error Xcode 7 for libresolv
2015-10-19 15:36:08 -04:00
Cheng Zhao
7caaad2c7a
Control linking of QTKit in electron
2015-10-09 21:29:51 +08:00
joshaber
407b406f34
Don't reference the dylib directly.
...
https://forums.developer.apple.com/thread/4572 is the best reference I
could find for this.
Apple replaced (some?) dylibs with “text-based stub libraries”
(.tbd’s). So we shouldn’t try to reference the dylib directly anymore.
2015-10-06 16:07:54 -04:00
Haojian Wu
63085fb0b0
[Linux] Link libraries for desktop capture API.
2015-10-03 13:43:20 +08:00
Haojian Wu
59cbd0a00d
[Windows] Link libraries for desktop capture API.
2015-10-03 10:49:42 +08:00
Haojian Wu
64b0333964
[OS X] Link dependent libraries for desktop capture API.
2015-10-02 17:27:48 +08:00
Cheng Zhao
c9557f2b39
win: Fix Release build
2015-08-21 16:19:57 +08:00
Cheng Zhao
edda9d0488
Link with a few more static libraries on Linux and OS X
2015-08-11 10:45:30 +08:00
Haojian Wu
6171ab8f6b
[Win] Link http_server.lib.
2015-08-11 09:49:57 +08:00
Haojian Wu
68a45aa29a
[Win] Link devtools_discovery.lib and devtools_http_handler.lib in component builds.
2015-08-11 09:49:57 +08:00
Haojian Wu
2dd8bc0c78
ffmpegsumo.dll => ffmpeg.dll
2015-08-11 09:49:57 +08:00
Cheng Zhao
681e868a5b
Link with nss
2015-07-07 14:15:45 +08:00
Cheng Zhao
894cc64276
Link with gmodule-2.0, fix atom/electron#1809
2015-06-04 14:41:16 +08:00
Cheng Zhao
155a50d00e
Revert "Link with ui_zoom in component build"
...
This reverts commit b48bc01c8f1fc11862f96db835a5f257aa6e53aa.
2015-05-29 17:51:22 +08:00
Cheng Zhao
f494f90a3e
Link with ui_zoom in component build
2015-05-29 16:54:28 +08:00
Cheng Zhao
8818f9c448
Merge pull request #106 from hokein/pdf-dll
...
No need to link pdf related libraries in component build.
2015-05-26 12:40:40 +08:00
Cheng Zhao
ce266e8647
Link with d3d11.lib
2015-05-23 11:25:37 +08:00
Haojian Wu
e76b06b84c
No need to link pdf related libraries in component build.
2015-05-13 09:54:56 +08:00
Haojian Wu
34a5e0865d
Link pdf related libraries for component build.
2015-05-04 18:55:03 +08:00
Cheng Zhao
7e376c1f73
win: Delay load of BluetoothApis.dll, fixes atom/electron#1462
2015-04-23 13:26:34 +08:00
Cheng Zhao
a99d29b859
linux: Fix compiler warning
2015-04-22 05:50:27 +00:00
Cheng Zhao
a5b6ffd93c
mac: Link with IOBluetooth.framework
2015-04-21 19:05:39 +08:00
Cheng Zhao
027a474fa2
Include headers of mojo
2015-04-21 14:30:06 +08:00
Cheng Zhao
1cf1b5243d
win: Delay load of MFReadWrite.dll
...
Fixes atom/electron#1442 .
2015-04-20 19:47:21 +08:00
Cheng Zhao
4769e21e3d
Add required defines under 32bit Linux
2015-04-12 08:15:57 +00:00
Cheng Zhao
decf522f48
Cleanup the brightray.gyp file
2015-04-11 13:35:22 +08:00
Cheng Zhao
48c9f4a0a6
No longer link with shared library of boringssl
2015-04-10 18:53:14 +08:00
Cheng Zhao
02ee07c4a0
win: No need to set default linked libraries
2015-04-09 13:38:54 +08:00
Cheng Zhao
9a691d1be8
Add "linux_system_libraries" variable
2015-04-09 10:14:25 +08:00
Cheng Zhao
845986750c
Move filenames to another file
2015-04-09 10:11:28 +08:00
Cheng Zhao
62d845f09e
linux: Improve building flags for Release build
2015-04-09 09:58:07 +08:00
Cheng Zhao
891856f3af
linux: Fix linking with system libraries
2015-04-08 08:22:55 +00:00
Cheng Zhao
c5f8e4360c
Link with static_library version of libgtk2ui
2015-04-08 04:08:21 +00:00
Cheng Zhao
a7f7834be9
linux: Link with libboringssl.so
2015-04-08 02:42:19 +00:00
Cheng Zhao
d1fb13b260
Fix path to boringssl.dll
2015-04-07 20:18:09 +08:00
Cheng Zhao
b9ddf0eb31
Still link with shared_library of boringssl
2015-04-07 17:25:13 +08:00
Cheng Zhao
938182a3eb
mac: Fix linking with boringssl
2015-04-07 11:28:56 +08:00
Cheng Zhao
9934985974
win: Link with libraries from other places
2015-04-06 16:01:31 +08:00
Cheng Zhao
d522443c75
win: Import system libraries in content_common.gypi
2015-04-06 15:20:27 +08:00
Cheng Zhao
f1a508f643
win: Link with boringssl.dll
2015-04-06 15:14:57 +08:00
Cheng Zhao
3b5edb461a
win: Fix linking with libyuv
2015-04-06 15:04:07 +08:00
Cheng Zhao
4c36b747e0
win: Fix linking with ffmepg
2015-04-06 15:03:53 +08:00
Cheng Zhao
ed5660909b
win: Link with sandbox and base_static under component build
2015-04-06 12:03:22 +08:00
Cheng Zhao
d9056135d7
Link with libboringssl.dylib
2015-04-03 11:37:27 +08:00
Cheng Zhao
038afadd1b
mac: Link with all necessary system libraries
2015-04-03 09:56:03 +08:00
Cheng Zhao
4977741f35
Set libraries' path according to libchromiumcontent_component variable
2015-04-02 22:14:18 +08:00
Cheng Zhao
faac37a85c
Only do component build in Debug mode
2015-04-02 15:11:15 +08:00
Cheng Zhao
7e41b9e44d
Link with component build shared libraries
2015-04-02 14:05:43 +08:00
Cheng Zhao
f04ee342ea
Remove RemoteDebuggingServer class
2015-03-08 19:53:37 -07:00
Cheng Zhao
a5026907e4
Implement PlatformNotificationService
2015-03-08 19:37:13 -07:00
Cheng Zhao
c874219101
Use the new devtools API
2015-02-03 10:57:25 -08:00
Cheng Zhao
5b4e5a7e55
Override DIR_USER_DATA as data path
2015-01-18 16:59:57 -08:00
Cheng Zhao
dc86ab58a9
Remove DownloadManagerDelegate
...
Having a partial implemented DownloadManagerDelegate will cause crashes under
certain places.
2014-12-17 13:13:19 -08:00
IgorKlopov
6e1c4d2860
Same as https://github.com/atom/atom-shell/pull/867
...
Indeed there are two places worth changing. After these two changes i am able to build Atom-Shell using Pyhon installed by default (without adding to paths)
2014-11-28 19:45:25 +03:00
Ryan Prichard
f617eb5810
Move Linux pkg-config dependencies from atom-shell to brightray.
2014-11-24 03:27:11 -08:00
Cheng Zhao
5c455b6ff9
Fix compilation warning on Linux
2014-10-08 01:34:01 +00:00
Cheng Zhao
f7819f369b
Don't warn about deprecated-register
2014-10-06 11:11:41 +08:00
Cheng Zhao
a6627a7286
Add a method in InspectableWebContentDelegate to set icon for devtools window.
2014-09-09 15:29:35 +08:00
Haojian Wu
5a5c92ad2d
Add remote debugging support.
2014-07-30 22:19:05 +08:00
Cheng Zhao
52c521f8b0
Remove duplicate library.
2014-07-11 23:10:57 +08:00
Cheng Zhao
81d31b1d49
Remove Windows's devtools implementation.
2014-07-09 10:37:54 +08:00
Cheng Zhao
e574bf6d0f
views: Initial docked devtools implementation.
2014-07-09 10:26:01 +08:00
Cheng Zhao
bad7b95ed7
Add ViewsDelegate, required when using views::Widget on aura.
2014-07-09 10:26:01 +08:00
Cheng Zhao
d59c027996
Link with chromiumviews on Linux and Windows.
...
Without using chromiumviews it would be quite hard to setup a fully working
environment with Aura on Linux now.
2014-07-09 10:26:01 +08:00
Cheng Zhao
2efeaa268f
Place DevTools WebContents underneath inspected WebContents.
...
This commit has this strategy implemented on Mac.
See https://code.google.com/p/chromium/issues/detail?id=318751 .
2014-07-09 10:24:10 +08:00
Cheng Zhao
7d130c9697
mac: Revert to simplest undocked-only devtools.
...
This makes porting Chrome's devtools easier.
2014-07-09 10:24:10 +08:00
Adam Roben
a1cf58f811
Link against chromiumviews
...
This is needed for InspectableWebContentsViewWin.
2014-07-07 13:53:02 -04:00
Adam Roben
8fd78b3593
Pull in generated headers from libchromiumcontent
...
ui/views/view.h now includes ui/accessibility/ax_enums.h, which is a generated
header.
2014-07-07 12:28:10 -04:00
Adam Roben
202f7bcd41
Fix include paths for WebIconURL.h
...
It contains #include "public/platform/WebSize.h", so we have to set up the
include path to make that work.
2014-06-27 11:54:27 -04:00
Adam Roben
ad0a5bdf80
Include Chrome's Skia config, not the default one
...
This ensures we get Chrome's Skia settings.
2014-06-27 11:54:27 -04:00
Cheng Zhao
4e69bd1733
Add 'third_party/skia/include/core' to include_dirs.
2014-06-10 09:10:26 +08:00
Cheng Zhao
e3aaaf2643
Add InspectableWebContentsDelegate.
2014-03-04 16:26:50 +08:00
Cheng Zhao
13f816b4bb
Add flag to disable clang under Linux.
2013-12-31 11:11:46 +00:00
Patrick Reynolds
a82e9f30ed
use libnotify to pop up notifications on Linux
2013-12-18 23:14:36 -06:00
Adam Roben
265076f19a
Update for changes to devtools in Chrome 31
...
browser/devtools_embedder_message_dispatcher.* came from
chrome/browser/devtools, and were modified just enough to compile within
brightray.
2013-12-02 13:00:39 -05:00
Patrick Reynolds
e1b6718c39
include library dependencies explicitly
...
This is necessary for more recent versions of Clang, e.g., on Debian
unstable.
2013-11-26 10:51:27 -06:00
Patrick Reynolds
7e1a4003df
don't force all applications to link libencryptor.a
2013-11-15 22:18:59 -06:00
Patrick Reynolds
e6cdeead3e
link libencryptor
2013-11-13 00:42:14 -06:00
Patrick Reynolds
6053911bd2
Merge branch 'master' into linux
2013-11-08 20:53:43 -06:00
Patrick Reynolds
04b9bd21f8
WIP: builds (but displys nothing) on Linux
2013-11-07 14:02:35 -06:00
Cheng Zhao
9d29c8eb7c
Use the "chrome-devtools://" scheme to open devtools.
2013-10-10 16:56:52 -04:00
Adam Roben
b3b4ab2c70
Update ICU header include path
...
I should have done this as part of #30 .
2013-10-07 17:02:35 -04:00
Adam Roben
2595335045
Enable navigator.webkitGetUserMedia()
...
The code came from chrome/browser/media, but was simplified to remove
dependencies on other parts of chrome/ and to always allow the media stream
request.
2013-07-31 11:08:45 -07:00
Adam Roben
bd648ce58f
Put ICU headers on the include path for embedders
2013-07-25 12:31:41 -04:00
Adam Roben
56b904947b
Avoid a crash when starting a download by disallowing downloads
...
Chromium crashes when starting a download if a content::DownloadManagerDelegate
is not provided. We now provide a default implementation of
content::DownloadManagerDelegate which disallows all downloads.
2013-07-24 07:56:55 -04:00
Cheng Zhao
8e0f5624dd
Some headers are including SkMtrix.h, fix compilation errors for them.
2013-07-05 12:18:34 +08:00
Cheng Zhao
5e807cffc8
Use abusolute path when linking to external libraries. Fixes #22 .
...
The ninja generator of gyp behaves strangely on the 'libraries' field of link
settings, for example, specifying path to an external library works well on
both xcodebuild and msvc generators, but the ninja generator would link to
the wrong path (it can neither translate relative path correctly, nor convert
the command line parameter to the '-lxxx' form).
The only way to make all generators work on all platforms is to use abusolute
paths for external libraries.
2013-07-02 15:24:24 +08:00
Adam Roben
9ad77c4a38
Implement undocked dev tools on Windows
...
DevToolsWindow represents a vanilla top-level window that shows the dev tools.
It uses ui::WindowImpl to implement window functionality, which requires a
newer libchromiumcontent which contains the necessary headers for using that
class, and requires some modifications to brightray.gypi to make WTL's headers
available.
* vendor/libchromiumcontent 2f53a96...fc02d93 (4):
> Export third_party/wtl/include headers
> Export test_support_base.pdb and test_support_content.pdb
> Fix linker errors with test_support_base on Windows
> Fix linker errors with base_prefs_test_support on Windows
2013-06-04 14:33:29 -04:00
Adam Roben
70af1f351f
Automatically exclude platform-specific files for all targets
...
This way embedding applications don't have to do this themselves, as long as
they follow our naming conventions.
2013-05-28 14:27:57 -04:00
Adam Roben
cf14f09228
Stub out InspectableWebContentsViewWin
...
This class doesn't implement any devtools behavior yet. Right now it's just a
glorified wrapper around a content::WebContents. But it's enough to show web
content on screen on Windows!
2013-05-22 16:57:32 -04:00
Adam Roben
3713ea6403
Exclude platform-specific files from other platforms
2013-05-22 14:00:43 -04:00
Adam Roben
18b64f375c
Link client apps against base_static.lib
...
This is required to get base::win::PEImage, which is required by sandboxing
code.
* vendor/libchromiumcontent c973a7c...04ccdd8 (1):
> Export base_static.lib for Windows clients
2013-05-22 13:55:56 -04:00
Adam Roben
7e03f93dcd
Add a stub application_info_win.cc
2013-05-22 13:55:56 -04:00
Adam Roben
2813bef741
Link against sandbox_static.lib
...
* vendor/libchromiumcontent 15ada44...c973a7c (3):
> Create and export sandbox_static.lib for Windows clients
> Export content/app/startup_helper_win.cc to clients
> Rename dist/include to dist/src
2013-05-22 13:55:12 -04:00
Adam Roben
7b65fe4948
Link against chromiumcontent.dll
...
* vendor/libchromiumcontent 4aae27b...15ada44 (3):
> Include chromiumcontent.dll's import library
> Export sandbox/ headers
> Mention that Python is required to build
2013-05-22 13:55:11 -04:00
Adam Roben
3cf6e5eda2
Make sure dependents can #include "brightray/foo.h"
2013-05-22 13:54:07 -04:00
Adam Roben
689496afb8
Make sure sk_stdint.h is in the include path
2013-05-16 09:15:54 -04:00
Adam Roben
d2c04779e4
Include the application's version number in the user agent string
2013-04-08 12:41:30 -04:00