Commit Graph

320 Commits

Author SHA1 Message Date
Marshall Greenblatt dea4daffd7 Implement off-screen rendering support using delegated rendering (issue #1257).
This implementation supports both GPU compositing and software compositing (used when GPU is not supported or when passing `--disable-gpu --disable-gpu-compositing` command-line flags). GPU-accelerated features (WebGL and 3D CSS) that did not work with the previous off-screen rendering implementation do work with this implementation when GPU support is available.

Rendering now operates on a per-frame basis. The frame rate is configurable via CefBrowserSettings.windowless_frame_rate up to a maximum of 60fps (potentially limited by how fast the system can generate new frames). CEF generates a bitmap from the compositor backing and passes it to CefRenderHandler::OnPaint.

The previous CefRenderHandler/CefBrowserHost API for off-screen rendering has been restored mostly as-is with some minor changes:

- CefBrowserHost::Invalidate no longer accepts a CefRect region argument. Instead of invalidating a specific region it now triggers generation of a new frame.
- The |dirtyRects| argument to CefRenderHandler::OnPaint will now always be a single CefRect representing the whole view (frame) size. Previously, invalidated regions were listed separately.
- Linux: CefBrowserHost::SendKeyEvent now expects X11 event information instead of GTK event information. See cefclient for an example of converting GTK events to the necessary format.
- Sizes passed to the CefRenderHandler OnPaint and OnPopupSize methods are now already DPI scaled. Previously, the client had to perform DPI scaling.
- Includes drag&drop implementation from issue #1032.
- Includes unit test fixes from issue #1245.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1751 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2014-06-30 22:30:29 +00:00
Marshall Greenblatt 60e3c9c090 Fix generation of the binary distribution using gyp_chromium (issue #1304).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1746 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2014-06-13 16:28:05 +00:00
Marshall Greenblatt 4e0dddcfa8 Remove gyp_cef and use gyp_chromium instead (issue #1304).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1740 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2014-06-12 14:29:41 +00:00
Marshall Greenblatt 4da3c9ecaa Set DEPOT_TOOLS_WIN_TOOLCHAIN=0 by default (issue #1304).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1731 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2014-06-10 17:01:49 +00:00
Marshall Greenblatt 16c005e446 Update msvs_env.bat to include VS2013 paths (issue #1304).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1725 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2014-06-09 18:26:27 +00:00
Marshall Greenblatt 38d9a4c828 Remove gyp_cef and use gyp_chromium instead (issue #1304).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1723 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2014-06-06 21:36:18 +00:00
Marshall Greenblatt 3da202a5b9 Force revert local changes when using the --force-clean switch (issue #1300).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1720 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2014-06-06 19:14:56 +00:00
Marshall Greenblatt 3859457eef Linux: Remove GTK+ dependency and add initial Aura/X11 implementation (issue #1258)
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1708 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2014-05-22 21:01:22 +00:00
Marshall Greenblatt 84382ecbbb Fix patch_updater.py to work on non-Windows platforms.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1690 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2014-05-02 20:57:30 +00:00
Marshall Greenblatt 7f16f5fbd2 Update to Chromium revision 263053.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1683 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2014-04-30 17:14:40 +00:00
Marshall Greenblatt 95b76b30b5 Update automate-git.py to support release branches.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1681 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2014-04-25 23:56:07 +00:00
Marshall Greenblatt 1e239187a2 Add patch_updater.py tool for automatically updating patch files.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1677 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2014-04-23 18:51:22 +00:00
Marshall Greenblatt 58f04c7c4c Update automate-git.py to support the new Chromium git workflow and functionality similar to automate.py.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1675 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2014-04-22 15:35:29 +00:00
Marshall Greenblatt 7511f1e921 Fix error in exec_util.py.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1667 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2014-04-18 19:03:15 +00:00
Marshall Greenblatt da87cf449d Update scripts to support git checkouts of CEF and/or Chromium.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1664 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2014-04-18 18:31:22 +00:00
Marshall Greenblatt 5e5b753c4c Fix check_revision.py to not throw exceptions when using a Chromium git checkout.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1661 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2014-04-16 16:53:33 +00:00
Marshall Greenblatt 29ba85c53e Fix application of patch files created with `git diff --no-prefix --relative .`
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1659 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2014-04-16 16:32:39 +00:00
Marshall Greenblatt c2090fe967 Fix wrapping of comments in generated files.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1623 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2014-02-11 22:46:57 +00:00
Marshall Greenblatt 7b873addd0 Fix include of C API headers from C++ code (issue #1194).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1607 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2014-02-10 17:20:38 +00:00
Marshall Greenblatt 0ff8f923f6 Linux: Make translator tool output consistent with other platforms (issue #1177).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1606 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2014-02-10 16:56:37 +00:00
Marshall Greenblatt 8078afe7bf Update to Chromium revision 248478.
- Add new CefSettings.windowless_rendering_enabled value that must be enabled when using windowless (off-screen) rendering.
- Improve naming and documentation for CefWindowInfo members.
- CefBeginTracing now completes asynchronously.
- Rename CefEndTracingAsync to CefEndTracing.
- Rename CefCompletionHandler to CefCompletionCallback.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1592 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2014-02-05 20:35:45 +00:00
Marshall Greenblatt 796ddf27b4 Add <algorithm> include required by VS2013 (issue #1094).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1566 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2014-01-14 02:45:56 +00:00
Marshall Greenblatt 72660c6fed Fix C compiler errors when using the C API (issue #1165).
- Replace 'bool' with 'int' in cef_types[_*].h.
- Typedef enums in cef_types.h
- Add includes and struct forward declarations in C API header files.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1558 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2014-01-06 19:59:48 +00:00
Marshall Greenblatt b28ce63adb Add a CEF_ENABLE_SANDBOX define in cefclient and cefsimple to make disabling the sandbox easier for non-VS2010 builds of the binary distribution (issue #524).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1546 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-12-09 16:39:00 +00:00
Marshall Greenblatt e09948c37e Windows: Switch to aura/views architecture for content window creation (issue #180).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1542 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-12-07 01:55:22 +00:00
Marshall Greenblatt 916d8d08c4 Add the cefsimple sample application which demonstrates the minimal functionality required to create a browser window.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1535 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-11-26 22:02:14 +00:00
Marshall Greenblatt ec8b64e88a Add breakpad support (issue #1131).
- General usage instructions are available at https://sites.google.com/a/chromium.org/dev/developers/testing/webkit-layout-tests/using-breakpad-with-content-shell.
- Mac: Generate "Chromium Embedded Framework.framework" using a new cef_framework target (the libcef target is now only used on Windows and Linux). Rename "Libraries/libcef.dylib" to "Chromium Embedded Framework". Distribute Release and Debug builds of the "Chromium Embedded Framework.framework" folder as part of the binary distribution.
- Mac: Fix the Xcode target compiler setting for the binary distribution so that it no longer needs to be set manually.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1524 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-11-21 22:43:36 +00:00
Marshall Greenblatt f5bc72b234 Add sandbox support (issue #524).
- The sandbox is now enabled by default on all platforms. Use the CefSettings.no_sandbox option or the "no-sandbox" command-line flag to disable sandbox support.
- Windows: See cef_sandbox_win.h for requirements to enable sandbox support.
- Windows: If Visual Studio isn't installed in the standard location set the CEF_VCVARS environment variable before running make_distrib.py or automate.py (see msvs_env.bat).
- Linux: For binary distributions a new chrome-sandbox executable with SUID permissions must be placed next to the CEF executable. See https://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment for details on setting up the development environment when building CEF from source code.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1518 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-11-15 18:47:02 +00:00
Marshall Greenblatt 133e06c50a Update to Chromium revision 233896.
- The CefBrowserSettings.author_and_user_styles option is now always enabled.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1512 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-11-08 21:28:56 +00:00
Marshall Greenblatt dbbaf51383 automate.py: Run update_depot_tools even if a depot-tools directory is specified on the command-line.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1505 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-11-05 20:26:02 +00:00
Marshall Greenblatt 81f3a75f6a Fix automate.py --dry-run output.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1497 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-10-29 21:30:43 +00:00
Marshall Greenblatt 0c45f66d37 Update to Chromium revision 231322.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1494 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-10-29 17:53:18 +00:00
Marshall Greenblatt bc1ea4974a Add support for printing via CefBrowserHost::Print() and JavaScript window.print() (issue #505).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1479 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-10-23 19:30:47 +00:00
Marshall Greenblatt 6a52564668 Fix svn:eol-style property.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1470 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-10-18 16:33:56 +00:00
Marshall Greenblatt bc90a7f854 Fix WebKit scripts path.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1469 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-10-17 22:35:50 +00:00
Marshall Greenblatt b00630d039 Windows: Pass shell=True so Popen can run a batch file (issue #1091).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1462 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-10-16 15:09:41 +00:00
Marshall Greenblatt 40892d9067 Fixes to automate.py (issue #1067):
- 'update_depot_tools' command fails on Linux without depot_tools in the PATH.
- Always generates build log files without looking at --build-log-file.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1449 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-09-19 15:32:11 +00:00
Marshall Greenblatt be69bf9eb1 Enhancements to automate.py and make_distrib.py (issue #1072):
- Update the depot tools checkout if the checkout is managed by automate.py (on windows it's mandatory to run depot tools update to install svn, git and python).
- Add "--no-update" switch to allow users to run only build and distrib steps without updating CEF and Chromium. This is useful when some custom actions have to be done between the checkout and build steps. 
- Add "--build-tests" switch to build the cef_unittests target in addition to the cefclient target.
- Add "--verbose" switch to have ninja output more details while building.
- Add "--build-log-file" switch to write build logs to a file on disk.
- Add 7z compression support based on the presence of a CEF_COMMAND_7ZIP environment variable.
- Create distrib folders using the architecture (32/64) string.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1434 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-09-10 20:02:09 +00:00
Marshall Greenblatt d5b6264dce Add x64 build support to automate.py.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1411 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-08-23 19:29:00 +00:00
Marshall Greenblatt 34797e3876 Add x64 build support to automate.py.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1409 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-08-23 16:22:11 +00:00
Marshall Greenblatt e8334e040a Use subprocess instead of os.popen3 to avoid deprecation warnings.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1404 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-08-22 20:14:11 +00:00
Marshall Greenblatt aa8cd9bf86 Windows: Always use the depot_tools SVN version instead of the system SVN version.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1401 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-08-22 19:52:25 +00:00
Marshall Greenblatt 28974d096c Windows: Always use the depot_tools SVN version instead of the system SVN version.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1398 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-08-22 19:31:53 +00:00
Marshall Greenblatt 4ca8905881 Download depot_tools as the first step in automate.py.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1395 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-08-22 19:20:10 +00:00
Marshall Greenblatt 4892da5d72 Windows: Always use the depot_tools SVN version instead of the system SVN version.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1392 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-08-22 19:13:26 +00:00
Marshall Greenblatt bbe793d9b1 Parse svn info output using XML format.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1389 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-08-22 17:57:26 +00:00
Marshall Greenblatt 8902b25b61 Add make_distrib.py support for 64-bit builds.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1387 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-08-22 17:18:17 +00:00
Marshall Greenblatt 073a20b973 Add support for excluding files from the translator tool.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1381 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-08-22 16:59:52 +00:00
Marshall Greenblatt 405ea14138 Fix ninja build generation of locale files (issue #1052).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1372 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-08-19 18:31:42 +00:00
Marshall Greenblatt cdd7333b76 Update to Chromium revision 217791.
- Pass popup window attributes to CefLifeSpanHandler::OnBeforePopup (issue #520).
- Windows: Add manifest files for all binary targets and include compatibility manifest in *.exe targets.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1367 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-08-15 19:38:55 +00:00
Marshall Greenblatt 4abdd35309 Fix script detection of git checkouts
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1330 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-07-22 22:37:42 +00:00
Marshall Greenblatt e24a6b02af Fix revision.py detection of git checkouts
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1329 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-07-22 22:23:54 +00:00
Marshall Greenblatt 38be92e283 Add script for creating git svn mirrors of CEF branches (issue #1023).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1324 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-07-20 02:36:18 +00:00
Marshall Greenblatt 88afe8b152 Add an automate.py option to download depot_tools as a zip archive (issue #1020).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1321 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-07-19 20:44:46 +00:00
Marshall Greenblatt 5c7fe6b9a7 Add an automate.py option to clean the artifacts output directory (issue #1022).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1318 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-07-19 18:36:09 +00:00
Marshall Greenblatt 5ccc4f8bfb Linux: Include the libffmpegsumo.so library in binary distributions (issue #1003).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1311 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-07-18 20:03:44 +00:00
Marshall Greenblatt 8118ed28b3 Add multi_threaded_dll option to cefclient.gyp (issue #970).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1303 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-07-11 18:53:53 +00:00
Marshall Greenblatt 13af477401 Linux: Add off-screen rendering support (issue #518).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1294 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-06-27 17:40:04 +00:00
Marshall Greenblatt 2fc9788311 Update to Chromium revision 207871.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1281 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-06-22 02:06:32 +00:00
Marshall Greenblatt ac4c19159c Mac: Add IME support with off-screen rendering (issue #973).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1259 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-05-31 12:46:56 +00:00
Marshall Greenblatt 2801cfd5b1 Update to Chromium revision 198276.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1249 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-05-07 21:48:34 +00:00
Marshall Greenblatt b5ad1c6caf Linux: Update binary distrib to execute pkg-config as part of the make configuration.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1243 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-04-23 22:36:38 +00:00
Marshall Greenblatt c1e96f6193 Linux: Fix paths in binary distrib make files that caused build errors on Debian.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1237 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-04-23 18:41:31 +00:00
Marshall Greenblatt c41127f236 Mac: Add off-screen rendering support (issue #518).
- Build with the 10.7 SDK (set GYP_DEFINES='mac_sdk=10.7') to include Retina support in the cefclient OSR example.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1226 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-04-16 19:23:00 +00:00
Marshall Greenblatt a39b499db8 Linux: Fix files included by make_distrib for cefclient mode
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1214 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-04-11 23:30:13 +00:00
Marshall Greenblatt 4b6ac3a662 Mac: Fix make_distrib.py script errors
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1213 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-04-11 23:13:28 +00:00
Marshall Greenblatt b18edbac6f make_distrib improvements:
- Windows: Change the directory and build structure to match other platforms.
- Windows: Create archives of both Debug and Release symbols.
- Windows: Create a separate archive for documentation.
- Add a new "client" mode flag that creates a distribution of cefclient.
- Add "no-docs" and "no-archive" flags.
- Break README.txt files into separate components that can be shared between platforms and distribution modes.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1212 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-04-11 23:07:43 +00:00
Marshall Greenblatt 3184473656 Mac: Fix inclusion of resource files in binary distributions.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1200 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-04-10 22:50:20 +00:00
Marshall Greenblatt e65fcf9710 Add support for a minimal distribution mode where only release binaries and resources are packaged.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1197 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-04-10 21:02:37 +00:00
Marshall Greenblatt 006ac136a8 Improvements to automate.py:
- Allow specification of the depot_tools directory via a "depot-tools" flag (issue #592).
- Add ninja build support via a "ninja-build" flag (issue #922).
- Allow relative paths for download directories (issue #942).
- Add the ability to print commands without executing them via a "dry-run" flag.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1194 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-04-09 23:02:58 +00:00
Marshall Greenblatt e98c1c41a8 - Windows: Fix ninja build (issue #922).
- Update make_distrib.py to support ninja builds via a new "ninja-build" flag (issue #922).

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1193 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-04-09 21:37:44 +00:00
Marshall Greenblatt d19bb1d2b5 Linux: Update README.txt for binary distribution (issue #939).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1189 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-04-08 14:06:45 +00:00
Marshall Greenblatt a48706b407 Linux: Add make build files to binary distribution (issue #939).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1186 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-04-08 01:32:10 +00:00
Marshall Greenblatt a065d0e2a1 Linux: Update build_projects.sh to include the target name in the make command.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1164 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-03-26 21:51:15 +00:00
Marshall Greenblatt 835e420f3b Minor improvements to API has generation (issue #914).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1163 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-03-26 21:37:08 +00:00
Marshall Greenblatt 2635019605 Windows: Update build_projects.bat to use MSBuild if available (issue #688).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1162 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-03-26 21:33:11 +00:00
Marshall Greenblatt 21b6c4e280 Use the platform API hash instead of build revision for checking libcef compatibility (issue #914).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1161 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-03-25 22:15:33 +00:00
Marshall Greenblatt e185bcb54d Add CEF API hash and version info retrieval functions (issue #914).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1160 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-03-25 21:54:53 +00:00
Marshall Greenblatt fe30a139a7 Windows: Fix wrong Visual Studio Output Directory in binary distribution project files (issue #919).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1155 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-03-21 21:53:22 +00:00
Marshall Greenblatt b835143515 Windows: Update distribution DLLs and README.txt to match current Chromium requirements (issue #913).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1146 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-03-15 18:33:29 +00:00
Marshall Greenblatt 88025e3283 Update README.txt file for binary distributions.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1091 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-02-08 17:09:51 +00:00
Marshall Greenblatt 57174f07d4 Set SVN properties on gyp_cef.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1034 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-01-18 20:12:20 +00:00
Marshall Greenblatt 933e01fb0e Specifying the 'force-clean' flag to the automate script should remove the build output directory.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1003 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-01-17 18:15:42 +00:00
Marshall Greenblatt 4c44ce466e Windows: Fix make_distrib.py for libcef.dll.pdb rename (issue #856).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1000 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-01-16 20:28:35 +00:00
Marshall Greenblatt d56fc817d5 Update to Chromium revision 176706.
- See crbug.com/167209 for a description of why NSPrincipalClass needs to be specified in helper-Info.plist.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@987 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-01-15 19:12:28 +00:00
Marshall Greenblatt f30fbb3d48 Add support to patch_util.py for patches containing new files.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@971 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-01-03 17:14:34 +00:00
Marshall Greenblatt e1f2be1785 - Expose tracing functionality via new cef_trace.h and cef_trace_event.h headers (issue #711).
- Add about:tracing UI support (issue #711).
- Avoid unnecessary string type conversions for values and process messages.
- Add support for a 'note' attribute in patch.cfg.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@865 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-10-17 22:45:49 +00:00
Marshall Greenblatt cd03d80623 Fix location of VERSION files in make_distrib.py.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@855 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-10-11 20:45:13 +00:00
Marshall Greenblatt 1098949521 - Add about:version, about:credits and about:license internal URLs (issue #731).
- Centralize retrieval of the CEF major version number from a new VERSION file.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@845 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-10-08 17:47:37 +00:00
Marshall Greenblatt 4d30b132c6 - Mac: Add plugin_carbon_interpose target to fix plugin crash (issue #680).
- Mac: Add version number to dylib files (issue #730).


git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@795 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-09-26 00:09:05 +00:00
Marshall Greenblatt 720e87d67b Move devtools resources to a separate devtools_resources.pak file (issue #714).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@765 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-09-06 17:42:16 +00:00
Marshall Greenblatt d8caf27e3b - Add keyboard and focus notifications (issue #508).
- Add CefDOMNode::IsEditable method.
- List interfaces alphabetically in CefClient.
- Correct error checking for code and command input.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@680 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-06-11 15:52:49 +00:00
Marshall Greenblatt b8a3120222 Update the make_distrib.py script to fix "allow-partial" on Windows and for consistency across platforms (issue #621).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@666 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-06-04 17:19:12 +00:00
Marshall Greenblatt 9017c0e74e - Update to Chromium revision 133962.
- Mac: Fix path discovery for non-native frameworks (issue #576).
- Avoid loading Chrome-specific pack files (issue #578).
- Make DevTools remote debugging URLs harder to guess (issue #583)
- Add CefBrowser::GetDevToolsURL() method (issue #583).
- Add DevTools example to cefclient (must run with --remote-debugging-port=XXXX command-line flag) (issue #583).

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@608 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-04-26 22:20:18 +00:00
Marshall Greenblatt effbca00e2 Add context menu support (issue #509):
- Add new CefContextMenuHandler, CefContextMenuParams and CefMenuModel classes.
- Add cef_strings.grd and related infrastructure for supporting translation of CEF strings.
- Generate include/cef_pack_resources.h and include/cef_pack_strings.h files at build time that include all IDs used by CEF pack files.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@596 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-04-19 21:18:22 +00:00
Marshall Greenblatt 7bc494880f Add context menu support (issue #509):
- Add new CefContextMenuHandler, CefContextMenuParams and CefMenuModel classes.
- Add cef_strings.grd and related infrastructure for supporting translation of CEF strings.
- Generate include/cef_pack_resources.h and include/cef_pack_strings.h files at build time that include all IDs used by CEF pack files.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@595 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-04-19 20:31:46 +00:00
Marshall Greenblatt 8d74f7cae4 Add JavaScript binding example to cefclient.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@592 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-04-12 22:21:19 +00:00
Marshall Greenblatt 34adee805c Branch CEF3 files from /branches/cef3 to /trunk/cef3 (issue #564).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@571 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-04-03 01:34:16 +00:00
Marshall Greenblatt b568f160d9 Rename CEF1 files from /trunk to /trunk/cef1 (issue #564).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@570 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-04-03 01:27:13 +00:00
Marshall Greenblatt 1a092a0c1a Add the ability to (issue #236):
1. Disable pack file loading via CefSettings.pack_loading_disabled.
2. Customize pack file load paths via CefSettings.pack_file_path and CefSettings.locales_dir_path.
3. Provide custom resource bundle handling via CefResourceBundleHandler.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@501 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-02-16 17:11:49 +00:00
Marshall Greenblatt ce0eb1c92b Fix memory leak due to CToCpp argument lists not being deleted (issue #526).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@491 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-02-14 17:41:35 +00:00
Marshall Greenblatt ea3dcc8492 Fix the check_style.py patch_RepositoryName function to work with git.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@468 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-01-19 17:19:40 +00:00
Marshall Greenblatt 1073577d03 Make CEF compliant with Google/Chromium style (issue #473).
- Add a new check_style tool based on Google's cpplint that can be used to verify compliance of pending changes and specific files/directories.
- Update existing CEF source code to be compliant with the style requirements.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@463 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-01-09 23:46:23 +00:00
Marshall Greenblatt 8dc8c273f6 Add svn:// protocol support to svn_util.py.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@459 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-01-05 19:47:45 +00:00
Marshall Greenblatt 6cf84686a5 - Add automate/automate-git.py for automated building using git (issue #472).
- Add git support to make_version_header.py (issue #472).

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@458 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-01-05 19:43:23 +00:00
Marshall Greenblatt ad65bb8532 Mac: Add support for building the 'Run cef_unittests' target from the command line.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@453 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-01-03 17:55:08 +00:00
Marshall Greenblatt ff976bc07f Break cef.h into multiple headers (issue #142).
- Move wrapper classes from cef_wrapper.h to wrapper/ directory.
- Move C API functions/classes from cef_capi.h to capi/ directory.
- Move global function implementations from cef_context.cc to *_impl.cc files.
- Output auto-generated file paths in cef_paths.gypi.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@442 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-12-23 17:36:30 +00:00
Marshall Greenblatt feab13e9fb Include CEF and Chromium version information in binary distributions (issue #325).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@436 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-12-21 19:22:33 +00:00
Marshall Greenblatt 6b195a8739 Add support to check_revision.py for building release branches (issue #325).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@432 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-12-20 16:35:15 +00:00
Marshall Greenblatt 9cc8ea09dc Add support to automate.py for building release branches (issue #325).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@428 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-12-19 23:11:56 +00:00
Marshall Greenblatt 956073100e Mac: Create a real dSYM that includes file/line info in make_distrib.py.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@415 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-12-09 14:02:32 +00:00
Marshall Greenblatt 64f91d5d9b Expose unique identifiers for frames and the ability to retrieve a frame's parent frame (issue #450).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@410 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-12-08 11:44:30 +00:00
Marshall Greenblatt ef64033467 - Revert: Change index parameter types from int to size_t to make 0-based range implicit.
- Add checks that index values are >= 0.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@409 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-12-08 10:22:15 +00:00
Marshall Greenblatt 64e08c2918 - Auto-generate all C/C++ translation code (issue #33).
- Change index parameter types from int to size_t to make 0-based range implicit.
- Make CefPrintOptions and CefMenuInfo proper wrapper classes.
- Normalize the naming of menu-related types.
- Remove unused command_line variable from test_suite.cc.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@408 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-12-08 01:38:30 +00:00
Marshall Greenblatt 8bf0248429 Generate release build debug symbols and package them with the make_distrib.py script.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@399 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-11-29 18:37:57 +00:00
Marshall Greenblatt 3f2735909a Verify that libcef build revision and API/header revision match when initializing CEF (issue #431).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@386 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-11-18 17:30:55 +00:00
Marshall Greenblatt cc175e4fbe - Expose command line parsing support with a new CefCommandLine class (issue #422).
- cefclient: Add the ability to specify CefSettings and CefBrowserSettings values on the command line.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@378 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-11-14 23:43:52 +00:00
Marshall Greenblatt f211cbbc2e - Linux: Implement resource loading in cefclient.
- Fix incorrect svn:eol-style properties.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@375 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-11-12 04:47:00 +00:00
Marshall Greenblatt 587eb7871d - Win: Improve redraw and scrolling performance (issue #360).
- Win: Fix CefBrowser::GetImage() and add "Get Image" example to cefclient (issue #377).
- Pass the list of dirty rectangles to CefRenderHandler::Paint(). (issue #415).

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@368 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-11-09 20:09:24 +00:00
Marshall Greenblatt 85ebe06965 Win: Return non-zero exit status if build_projects.bat fails.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@367 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-11-08 18:54:21 +00:00
Marshall Greenblatt 82ad2b6a0b Win: Fix the build output directory path for binary distributions.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@366 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-11-08 17:35:59 +00:00
Marshall Greenblatt 3f91de1cea Add a new check_revision.py tool that is called from cef_create_projects to verify the current Chromium revision and URL against the values specified in CHROMIUM_BUILD_COMPATIBILITY.txt (issue #297).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@349 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-10-31 15:51:01 +00:00
Marshall Greenblatt ef80d4ae6b Use multimap type for storing header values (issue #386).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@346 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-10-28 21:31:26 +00:00
Marshall Greenblatt 3968878583 Rename the distribution section to redistribution in the binary distribution README.txt file.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@341 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-10-25 19:36:43 +00:00
Marshall Greenblatt 201373ac1b Add distribution and licensing sections to the binary distribution README.txt file.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@340 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-10-25 19:28:30 +00:00
Marshall Greenblatt df921942ea - Restore original file permissions after patching a file (issue #387).
- Add the ability to selectively apply patches based on the presence of an environment variable (issue #388).
- Add a patch to disable scrollbar bounce and scrollbar overlay on Lion based on the presence of the CEF_SPI_BUILD environment variable (issue #364).

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@339 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-10-25 16:36:38 +00:00
Marshall Greenblatt 7a91ff899f Add initial Linux support (issue #40).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@338 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-10-24 20:20:52 +00:00
Marshall Greenblatt 203ca27d27 Add an archive creation step to make_distrib.py.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@325 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-10-18 19:02:02 +00:00
Marshall Greenblatt ab09d672ca Add build_projects.bat support for Visual Studio Express.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@324 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-10-18 18:48:13 +00:00
Marshall Greenblatt 6dee882cf2 Set the product version string using make_version_header.py and the chrome/VERSION file (issue #383).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@323 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-10-18 17:56:10 +00:00
Marshall Greenblatt 22405a5273 Add setlocal/endlocal to batch scripts that set variables.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@321 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-10-18 00:48:28 +00:00
Marshall Greenblatt 69331e2064 - Update to Chromium revision 105051.
- Enable use of clang compiler on Mac.
- Add CefSettings.threaded_compositing_enabled option.
- Begin converting NewRunnable usage to base::Bind.
- Avoid assertion when an empty message is passed to OnConsoleMessage().
- Add an "--allow-partial" option to the make_distrib tool.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@316 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-10-12 19:09:15 +00:00
Marshall Greenblatt c366d798f3 Fix SVN properties on make_distrib.sh (issue #373)
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@313 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-10-12 10:34:41 +00:00
Marshall Greenblatt 58b3d51bce Update CEF Automation Tool for Mac support (issue #373).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@312 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-10-12 09:30:29 +00:00
Marshall Greenblatt 91cd71f1a4 Add the CEF Automation Tool (issue #373).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@310 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-10-12 06:36:51 +00:00
Marshall Greenblatt 9fef43d165 Add the build_projects.bat script and remove the pause from make_cppdocs.bat (issue #373).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@309 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-10-11 18:19:13 +00:00
Marshall Greenblatt bb90cc00c4 Improvements to make_distrib tool (issue #260).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@307 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-10-10 12:02:52 +00:00
Marshall Greenblatt 29386a3abc Mac: Add make_distrib support (issue #260)
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@298 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-10-03 10:25:14 +00:00
Marshall Greenblatt 9842abc0ab - Add support for loading localized strings from locale .pak files (issue #357).
- Add support for loading DevTools resources from chrome.pak via the chrome-devtools scheme (issue #358).
- Add tools_gyp.patch to fix a bug in GYP.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@295 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-09-30 09:22:54 +00:00
Marshall Greenblatt ebc4feb095 Add the make_distrib tool for automated creation of CEF binary distributions (issue #260).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@294 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-09-27 15:02:08 +00:00
Marshall Greenblatt d260f78cb2 Update to Chromium revision 100584.
- Add a new CefSettings.graphics_implementation option for using different GL implementations.
- Disable accelerated compositing by default due to multiple issues (issue #334, issue #335, issue #337).
- Eliminate the "patcher" project and perform all patching during GYP project generation.
- Fix references to non-existent files in cef.gyp.
- Move BrowserWebKitInit method implementations to a separate .cc file.
- Add support for Flash on Mac (issue #305).

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@284 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-09-10 19:40:03 +00:00
Marshall Greenblatt da210afca7 Update to Chromium revision 91424.
- Add tools/gyp_cef to satisfy grit_info.py module load requirement.
- Add skia_gpu.patch to work around skia/Angle/WebGL bug.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@263 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-07-03 00:03:30 +00:00
Marshall Greenblatt f80e8b297e Change comment format to support automatic document generation using the CppDoc application.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@250 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-05-31 17:47:44 +00:00
Marshall Greenblatt 2779179489 Change comment format to support automatic document generation using the CppDoc application.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@249 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-05-31 17:12:37 +00:00
Marshall Greenblatt 338b9c0cc9 Add Date type support to CefV8Value (issue #190).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@242 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-05-23 17:43:53 +00:00
Marshall Greenblatt f5f2189c63 Move cef_* header files that should not be directly included by the client to the "include/internal" folder.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@237 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-05-20 20:52:47 +00:00
Marshall Greenblatt dbe8de277f Significant API changes for issue #218:
- Replace CefHandler with a new CefClient interface and separate handler interfaces.
- Add support for virtual inheritance to allow multiple CefBase parented interfaces to be implemented in the same class.
- Replace CefThreadSafeBase with IMPLEMENT_* macros to support virtual inheritance and to only provide locking implementations when needed.
- Move the CefBrowserSettings parameter from CefInitialize to CreateBrowser.
- Add a new cef_build.h header that provides platform-specific and OS_* defines.
- Introduce the use of OVERRIDE to generate compiler errors on Windows if a child virtual method declaration doesn't match the parent declaration.
- Use NDEBUG instead of _DEBUG because _DEBUG is not defined on Mac. (issue #240).

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@235 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-05-20 14:42:25 +00:00
Marshall Greenblatt e0210a78b4 Add make_version_header tool for populating libcef.dll version number and copyright year via version.h header file (issue #108).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@224 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-05-09 15:01:41 +00:00
Marshall Greenblatt 10d3df1efd Support parsing of virtual methods with default implementations.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@220 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-04-20 15:20:31 +00:00
Marshall Greenblatt 026193a513 Add standard argument checks as part of translator code generation.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@219 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-04-18 23:25:17 +00:00
Marshall Greenblatt ff983a6e72 - Add off-screen rendering support on Windows. This involves a number of new CefBrowser and CefHandler methods. See the "Off-Screen Rendering Example" in cefclient for example usage.
- Add CefRunMessageLoop() for efficient message loop usage and modify cefclient to use it.
- Add CefHandler::HandleNavStateChange() for back/forward state notifications and modify cefclient to use it.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@208 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-03-24 20:36:47 +00:00
Marshall Greenblatt 04bce7acad Simplify parsing of CEF structure types.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@190 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-02-22 00:07:19 +00:00
Marshall Greenblatt a125c0d964 - Add CefWebURLRequest implementation (issue #51).
- Default new CefRequest objects to the "GET" method.
- Send URL and title change notifications for CefFrame::LoadString().
- Disable the RequestTest.HistoryNav test which requires WebKit patches.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@184 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-02-09 22:04:35 +00:00
Marshall Greenblatt 64d9d8294c Add support for creating and parsing URLs (issue #181).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@177 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-01-31 20:47:04 +00:00
Marshall Greenblatt 7dafd4189f Move gclient integration to the gclient_hook.py script in order to support a platform-agnostic DEPS file (issue #174).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@171 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-01-27 02:21:50 +00:00
Marshall Greenblatt 3cd3a35f10 - Update to Chromium revision 69409.
- Add cefclient tests for GPU acceleration.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@152 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2010-12-16 21:54:42 +00:00
Marshall Greenblatt 871a8a7770 Fix Linux compile errors.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@150 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2010-12-07 01:30:26 +00:00
Marshall Greenblatt 7d60642638 Introduce CefString and cef_string_t implementations that support string type conversions and customization of the API string type (issue #146).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@145 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2010-11-22 17:49:46 +00:00
Marshall Greenblatt 1e1c2ad8d7 Add global and per-browser settings (issue #145).
This exposes the following new capabilities:
- Ability to disable drag & drop from other windows.
- Ability to specify additional plugin search paths.
- Ability to customize WebPreferences values, including enabling cross-site scripting.
- Ability to set User-Agent or product version.
- Ability to set default locale.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@144 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2010-11-18 21:05:25 +00:00
Marshall Greenblatt 6ad535823a Expose popup window feature information with CefPopupFeatures argument to CefHandler::HandleBeforeCreated (issue #135).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@139 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2010-11-16 16:45:49 +00:00
Marshall Greenblatt 5a4c8f5a13 Expose zip archive reading support (issue #30).
Move ClientReadHandler to CefByteReadHandler in cef_wrapper.h.
Add support for the time_t data type to cef_parser.py.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@125 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2010-10-24 16:41:21 +00:00
Marshall Greenblatt 9aa285ac8d - Add the CefHandler::HandleDownloadResponse() method and CefDownloadHandler class to support file download in response to 'Content-Disposition' headers (issue #6).
- Fix parsing error in cef_parser.py due to space between angle brackets in template type definitions, and add support for int64 type.
- Update copyright messages in Python and generated files.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@117 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2010-10-16 19:10:11 +00:00
Marshall Greenblatt ea442f1c6b Initial GYP changes and utility scripts for Mac and Linux support.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@112 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2010-10-09 16:37:43 +00:00
Marshall Greenblatt 46b831304c Set eol-style property on all files. Future commits will use the subversion auto-props configuration at http://src.chromium.org/viewvc/chrome/trunk/tools/buildbot/slave/config
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@109 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2010-10-03 21:04:50 +00:00
Marshall Greenblatt 7ffa037988 - Move to a unified thread model for CEF based on the CEF2 implementation.
- Add the ability to post user-defined tasks for execution on CEF threads (issue #25).
- Update the CEF swap image.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@90 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2010-07-24 01:13:55 +00:00
Marshall Greenblatt 0e29c2e840 - Add find in page support.
- Fix loading of resources from libcef.dll (Issue 76).
- Fix leak of CefMessageLoopForUI object when not in multi threaded message loop mode.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@88 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2010-07-19 22:19:30 +00:00
Marshall Greenblatt d7f7f45147 Move to GYP-based project file generation (issue #48).
- Add cef_create_projects.bat to generate the CEF project files.
- Change include paths to be relative to the root CEF directory.
- Add patch_build configuration and build.patch to modify the Chromium build system for required CEF dependencies.
- Remove old .vcproj and .vsprops files.
- Eliminate use of precompiled headers.
- Commit generated project files (these will go away in the near future).

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@50 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2009-10-02 17:59:38 +00:00
Marshall Greenblatt 6a7b6d5038 libcef: Update due to underlying chromium changes.
- Add the printing project and delete duplicated files from the CEF printing directory.
- Add media-related projects and support for <video> and <image> tags.
- Use WebKit::WebHTTPBody instead of net::UploadData for web requests.
- Numerous changes due to continued cleanup of webkit/glue and webkit/api/public.
- Use a separate BrowserWebViewDelegate instance for popup windows.

libcef:
- Add support for printing to file.
- Use WebFrame::GetFullPageHtml() instead of webkit_glue::GetDocumentString().
- Parse extra header values in RequestProxy for passing to CefHandler::HandleBeforeResourceLoad().
- Add urlmon.lib dependency in libcef.vsprops.

tools:
- Add the patch application tool (patcher.py).

patch:
- New project for applying required patches to the Chromium source tree (issue #47).
- Add webkit_glue.patch for http://codereview.chromium.org/160004

cefclient:
- Add new test for submitting and handling requests.
- Don't change navigation button state for popup windows.
- Fix problem on Vista where the string returned by EM_GETLINE is not NULL-terminated.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@32 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2009-07-24 18:37:00 +00:00
Marshall Greenblatt 0a92d27cc1 libcef:
- change 'void *' arguments to 'void* ' to match style requirements.

translator:
- add support for const virtual methods. (Issue # 36)
- output const vector argument types as 'struct _class_t* const*' (cons array, non-const members) instead of 'const struct _class_t**' (non-const array, const members) (Issue # 36)
- always add the 'enum' qualifier when outputting C API enum attribute types. (Issue # 38)
- update translated files.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@31 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2009-06-25 15:59:48 +00:00
Marshall Greenblatt 8a04c0f0c1 - Add the CEF translator tool for generating the C API header and cpptoc/ctocpp wrapper files.
- Update to files generated by the CEF translator tool.  This introduces minor changes in cef.h and cef_capi.h for naming and translation consistency.
- C API global function names that were previously in the cef_create_classname*() format are now in the cef_classname_create*() format.
- cef_frame_t::get_frame_names() now returns void instead of size_t.
- cef_frame_t::execute_javascript() has been renamed to cef_frame_t::execute_java_script().
- The 'arguments' attribute of CefV8Handler::Execute() and CefV8Value::ExecuteFunction() is now const.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@30 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2009-06-20 22:09:28 +00:00