Commit Graph

228 Commits

Author SHA1 Message Date
Marshall Greenblatt dc3aae19e8 Add plugin placeholder and policy support (issue #1708)
- Default plugin loading policy can be specified using the new
  `--plugin-policy=[allow|block|detect]` command-line flag.
- Move CefRequestHandler::OnBeforePluginLoad to
  CefRequestContextHandler and add a new policy argument that
  supports different actions (allow, block, detect, disable) on a
  per-plugin-instance basis.
- Add CefContextMenuHandler::RunContextMenu for providing a custom
  context menu implementation.
- Add CefResourceBundleHandler::GetDataResourceForScale for
  returning scaled resources (issue #1272).
- Add CefResourceBundle for retrieving resources from the resource
  bundle (*.pak) files loaded by CEF during startup or via the
  CefResourceBundleHandler.
- Linux: Fix Debug build IO access warning with CefGetMimeType.
- cef_unittests: Move the refcounting implementation from TestHandler
  to subclasses in order to support interface inheritance from
  subclasses.
2015-09-22 12:28:46 +03:00
Marshall Greenblatt 3640f81f01 Add Widevine CDM support (issue #1631)
- Windows/Mac: Use `--enable-widevine-cdm` command-line flag to
  enable download of CDM binaries via the component updater.
- Linux: Use `--widevide-cdm-path` and `--widevine-cdm-version`
  command-line flags to load CDM binaries that already exist on
  the system.
- A cache-path value is usually required when CDM is enabled.
2015-09-01 14:04:21 +02:00
Marshall Greenblatt c992ef9d57 Update automate-git.py for removal of .DEPS.git in newer branches (issue #1671) 2015-07-27 13:43:43 -04:00
Marshall Greenblatt 8da8a4fbf1 Update to Chromium revision 12bfc336 (#338390).
- The ffmpeg library is now statically linked (see https://codereview.chromium.org/1141703002).
- Off-screen rendering of the PDF viewer does not work in combination with surfaces. Pass the
  `--disable-surfaces` command-line flag if GPU is enabled (see https://codereview.chromium.org/1169983006).
2015-07-24 16:11:13 -04:00
Marshall Greenblatt b7a56d9343 Add PDF extension support (issue #1565) 2015-07-23 14:02:03 -04:00
Marshall Greenblatt 378a64b39a Update to Chromium revision 14bd12d6 (#333041)
- Remove CefNavigationEntry::GetFrameName() (see http://crbug.com/477150#c5).
- Devirtualize base::BindState (see http://crbug.com/486594).
- Move Tuple to the base namespace.
2015-06-08 17:31:50 -04:00
Yu-Teh Shen d02f03a71a Add JSON parsing support (issue #1188). 2015-06-03 15:03:41 -04:00
Felix Bruns c5b8b8b9c8 Add support for draggable regions (issue #1645).
Regions are defined using the '-webkit-app-region: drag/no-drag'
CSS property and passed to the CefDragHandler::
OnDraggableRegionsChanged callback.
2015-06-03 14:48:28 -04:00
Marshall Greenblatt b849e7fb70 Return CefTime instead of time_t from CefZipReader::GetFileLastModified (issue #1625) 2015-05-05 19:12:10 -04:00
Marshall Greenblatt 616fdbf3ff Improve inheritance support in the CEF API (issue #1623).
- Support single parent inheritance in CEF API classes.
- Support non-virtual inheritance in CEF API classes.
- Support translation of CEF API sub-directories.
- Add test sub-directories for testing-only functionality that will be
  available to unit tests but not exposed via the binary distribution.
- Add unit tests for the translator tool.
- Fix parsing of template parameter types that include commas.
2015-05-05 17:16:44 -04:00
Marshall Greenblatt aeb35d2f36 Fix typo in automate-git.py (issue #1612) 2015-04-22 16:01:55 +03:00
Marshall Greenblatt 939a6598c1 Add ability to patch Chromium DEPS file (issue #1612) 2015-04-22 15:33:52 +03:00
Marshall Greenblatt 740ad72f90 Update automate_git.py to set GYP_CHROMIUM_NO_ACTION (issue #1470). 2015-04-13 17:11:54 +02:00
Marshall Greenblatt ae91d8f4e5 - cefclient: Add `background-color` command-line argument (issue #1161).
- Rename cef_url.h to cef_parser.h.
- Add new CefParseCSSColor function.
2015-04-10 11:35:31 +02:00
Marshall Greenblatt 7968594ec6 Remove unnecessary username component from Bitbucket url 2015-03-18 17:58:14 -04:00
Marshall Greenblatt bac83749c4 Update the project URL in txt files 2015-03-17 16:58:14 -04:00
Marshall Greenblatt 7b70c8317e Update the project URL in the binary distribution README.txt 2015-03-17 16:46:41 -04:00
Marshall Greenblatt 7acecd6b6b Change CEF version number format to remove SVN dependency (issue #1580). 2015-03-16 19:34:35 -04:00
Marshall Greenblatt 236d419d9d Improvements to automate-git.py
- Remove support for SVN checkouts (issue #1577).
- Use new Bitbucket cef.git repo for Git checkouts (issue #1577).
- Windows: Set DEPOT_TOOLS_WIN_TOOLCHAIN=0 to avoid errors while
  running Chromium hooks (issue #1533).
- Fix create/restore of out_<branch> directories.
2015-03-14 23:27:12 -04:00
Marshall Greenblatt 4ede1cc416 Linux: Remove unused build.sh file from the binary distribution.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@2076 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2015-03-12 17:07:18 +00:00
Marshall Greenblatt c67b825fdc Linux: Remove unused build.sh file from the binary distribution.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@2075 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2015-03-12 17:05:18 +00:00
Marshall Greenblatt 5d4942fdf3 Move natives_blob.bin and snapshot_blob.bin files to the build configuration directory in the binary distribution (issue #1554).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@2071 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2015-03-10 17:46:53 +00:00
Marshall Greenblatt ac4f451c94 Update to Chromium revision 47fb4821 (#318735).
- Remove the in-process PDF plugin implementation. A new implementation is now required (issue #1565).

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@2043 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2015-03-04 01:00:13 +00:00
Marshall Greenblatt bfac5a1c46 Windows: Add natives_blob.bin and snapshot_blob.bin to binary distribution (issue #1554).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@2036 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2015-03-02 17:06:34 +00:00
Marshall Greenblatt cda8819b62 Improvements to automate-git.py:
- Mac: 32-bit builds are no longer support with 2272 branch and newer (issue #1517).
- Add `--dry-run-platform` flag to simulate execution on a different platform.
- Print the value of all build-related environment variables.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@2025 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2015-02-10 17:08:30 +00:00
Marshall Greenblatt 5c28259c31 cefclient: Organize source files into directories by target process (browser, renderer, common) (issue #1500).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@2014 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2015-01-31 00:55:56 +00:00
Marshall Greenblatt 52b02eb838 cefclient: Mac: Move the mac/ folder to resources/mac/ (issue #1500)
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@2013 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2015-01-30 20:55:28 +00:00
Marshall Greenblatt b5e8914bde - Change ALLOW_UNUSED to ALLOW_UNUSED_TYPE and ALLOW_UNUSED_LOCAL to match Chromium.
- Windows: d3dcompiler_46.dll changed to d3dcompiler_47.dll due to 8.1 SDK update (issue #1484).
- Windows: Fix `local variable is initialized but not referenced` warning with Release build (issue #1484).

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1962 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2015-01-08 02:42:59 +00:00
Marshall Greenblatt 5a5d2caff2 Update to Chromium revision 8cb76f56 (#307671)
- Linux/Mac: Load V8 initial snapshot from external bin files (see http://crbug.com/421063).
- Windows: 8.1 SDK is now required (issue #1470).
- Remove CefDOMDocument::GetSelectionStartNode and GetSelectionEndNode methods(see https://codereview.chromium.org/763043004).
- Rename internal namespace used in base headers to avoid linker conflicts with cef_sandbox.lib.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1956 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2014-12-13 20:18:31 +00:00
Marshall Greenblatt 0fbc37a2fd Fix check for WIN_CUSTOM_TOOLCHAIN (issue #1470).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1952 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2014-12-09 10:30:39 +00:00
Marshall Greenblatt 7eea6d3c18 Windows: Support building with a custom VS toolchain (issue #1470).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1950 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2014-12-08 20:06:16 +00:00
Marshall Greenblatt af31ea83ac Remove build_projects scripts which are no longer used now that non-Ninja builds are no longer supported.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1939 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2014-11-25 23:57:27 +00:00
Marshall Greenblatt b5fd572670 Remove the check_revision.py script since it only works with SVN checkouts and SVN checkouts are no longer supported.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1938 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2014-11-25 23:45:13 +00:00
Marshall Greenblatt 1c2bb1be16 Remove automate.py since SVN download is no longer supported.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1937 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2014-11-25 23:34:48 +00:00
Marshall Greenblatt 3556777a5f Update make_distrib.py to require ninja build on all platforms.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1936 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2014-11-25 23:32:34 +00:00
Marshall Greenblatt 2dfaf00ce4 Remove old project file generation now that CMake generation is stable (issue #1404).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1935 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2014-11-25 23:18:21 +00:00
Marshall Greenblatt eef89ccdd3 Update to Chromium revision 40af916d (#303546).
- Standardize usage of virtual/override specifiers in CEF internals (see http://crbug.com/417463).

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1903 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2014-11-12 19:25:15 +00:00
Marshall Greenblatt 43dac54b44 Improvements to CMake configuration for the binary distribution (issue #1404).
- Add LIBCEF_APPEND_PLATFORM_SOURCES macro definition in libcef_dll/CMakeLists.txt to remove dependency on macros.cmake.
- Don't add the default "lib" prefix to the libcef_dll_wrapper output library name.
- Fix a documentation error in CMakeLists.txt.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1886 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2014-10-27 18:13:01 +00:00
Marshall Greenblatt a91de6d6db Generate CMake configuration for the binary distribution (issue #1404).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1881 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2014-10-22 21:48:11 +00:00
Marshall Greenblatt d15f6abc3a Add support for DevTools inspect element via a new |inspect_element_at| parameter added to CefBrowserHost::ShowDevTools (issue #586).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1870 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2014-10-11 00:12:01 +00:00
Marshall Greenblatt 4fe21a31d8 Linux: Don't use clang for binary release (issue #1390)
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1850 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2014-09-30 17:04:50 +00:00
Marshall Greenblatt d94aec3839 Change automate-git.py to use a Git checkout of depot_tools (issue #1376).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1834 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2014-09-11 21:30:57 +00:00
Marshall Greenblatt 082845619c Windows: Add wow_helper.exe to the 32-bit binary distribution for Vista 64-bit sandbox support (issue #1366).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1827 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2014-09-10 17:22:40 +00:00
Marshall Greenblatt 335ba8031a Add patch_udpater.py support for added files.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1823 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2014-09-09 14:51:22 +00:00
Marshall Greenblatt 0b78461f5b Update to Chromium revision ad468e8b (#292352).
- Building Chromium using SVN is no longer supported.
- Remove CefDOMEvent and CefDOMEventListener (issue #933).
- Remove CefRenderHandler::OnScrollOffsetChanged (http://crbug.com/404656).
- Remove UR_FLAG_REPORT_LOAD_TIMING (https://codereview.chromium.org/451623002/).

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1816 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2014-09-04 17:53:40 +00:00
Marshall Greenblatt cba2e8ac3a Add `--revert` option to patch_updater.py.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1811 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2014-08-25 14:01:13 +00:00
Marshall Greenblatt 828d2f68b2 Fix identification of SVN revision after picking up incremental changes in the remote CEF Git repository.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1802 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2014-08-08 12:40:16 +00:00
Marshall Greenblatt 5587ccbd2d Fix automate-git.py to pick up incremental changes in the remote CEF Git repository.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1799 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2014-08-08 12:25:11 +00:00
Marshall Greenblatt a1fcfe8dc5 Add support for large zip files in make_distrib.py (issue #1350).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1795 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2014-08-07 14:41:41 +00:00
Marshall Greenblatt 9dfcf5c443 Update automate-git.py to explicitly fetch tags required for release branch builds.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1791 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2014-08-07 12:32:51 +00:00