593fb8cdf0
It is possible that the events get emitted when calling Show(), which would then delete the class before Show() ends, results in using members of a deleted class. By delaying the events to next tick we can effectively avoid this. |
||
---|---|---|
.. | ||
browser | ||
common | ||
script | ||
tools/mac | ||
vendor | ||
.gitattributes | ||
.gitignore | ||
.gitmodules | ||
brightray.gyp | ||
brightray.gypi | ||
filename_rules.gypi | ||
filenames.gypi | ||
LICENSE | ||
LICENSE-CHROMIUM | ||
README.md |
Brightray
Brightray is a static library that makes libchromiumcontent easier to use in applications.
Using it in your app
See brightray_example for a sample application written using Brightray.
Development
Prerequisites
- Python 2.7
- Linux:
- Clang 3.0
- Mac:
- Xcode
- Windows:
- Visual Studio 2010 SP1
One-time setup
You must previously have built and uploaded libchromiumcontent using its
script/upload
script.
$ script/bootstrap http://base.url.com/used/by/script/upload
Building
$ script/build
Building Brightray on its own isn’t all that interesting, since it’s just a static library. Building it into an application (like brightray_example) is the only way to test it.
License
In general, everything is covered by the LICENSE
file. Some files
specify at the top that they are covered by the
LICENSE-CHROMIUM
file instead.