1540 Commits

Author SHA1 Message Date
Marshall Greenblatt
edbfb207b8 Windows: Fix behavior of frameless windows with Views.
- Don't set InitParams::TRANSLUCENT_WINDOW. Setting this resulted in
  the WS_EX_COMPOSITED style being added and the WS_THICKFRAME style
  being removed, which disabled Aero Snap.
- Remove the non-client border to get a completely frameless window.
  Having a border is problematic because the top is drawn by Windows
  while the rest is drawn black. Having Windows draw part of the
  border is required to enable the window drop shadow (see
  HWNDMessageHandler::SetDwmFrameExtension).
- Delete the remove_caption patches which are no longer required.
2016-12-14 16:57:43 +01:00
Marshall Greenblatt
d7f087e766 Windows: Fix missing InsertAllocatorDispatch symbol in cef_sandbox.lib (issue #2044) 2016-11-30 19:51:05 -05:00
Marshall Greenblatt
7f76148993 Windows: Fix x64 build conversion from 'size_t' to 'int' error (issue #2054) 2016-11-30 15:25:08 -05:00
Marshall Greenblatt
7843d6cdff Update to Chromium version 55.0.2883.59 2016-11-30 00:00:09 -05:00
Marshall Greenblatt
a8ecb191da Add option to enable/disable net security expiration (issue #1994)
- Net security (CT, HSTS) expiration based on build age is now
  disabled by default.
- Add new enable_net_security_expiration option to CefSettings and
  CefRequestContextSettings.
2016-11-18 16:18:03 -05:00
Marshall Greenblatt
6064e023ff Windows: Fix x64 build conversion from 'size_t' to 'int' error (issue #2043) 2016-11-18 14:30:26 -05:00
Marshall Greenblatt
a841c0a319 Mac: Fix resource copy when building the binary distrib with Ninja (issue #1632) 2016-11-18 13:46:41 -05:00
Marshall Greenblatt
fbe14a56a8 Rename unittests to ceftests (issue #1632) 2016-11-18 13:46:41 -05:00
Marshall Greenblatt
a76670a3ed Add unittests target to the binary distribution (issue #1632)
- Move all tests from the top-level directory to tests/.
- Move files shared by cefclient and unittests to tests/shared/.
- Add a fused (single header/source file) version of gtest in
  tests/gtest/ with associated CMake configuration.
- Test-only headers are now exposed in include/test/. Unit test
  targets must define UNIT_TEST in order to access them.
- Replace usage of USING_CEF_SHARED with WRAPPING_CEF_SHARED for
  clarity (only the libcef_dll_wrapper target should define it).
- Remove the RENAME_DIRECTORY CMake macro which is no longer used.
- Remove C++11 usage from unittests sources for compatibility with
  the binary distribution configuration.
- Windows: Fix build errors due to chrome_elf.dll and imm32.lib
  missing from the CMake configuration.
2016-11-18 13:46:40 -05:00
Marshall Greenblatt
fe419c09ec Remove Chromium target dependencies for unit tests (issue #1632) 2016-11-18 13:46:40 -05:00
Marshall Greenblatt
0187add5ae Remove Chromium includes in unit tests (issue #1632) 2016-11-18 13:46:39 -05:00
Marshall Greenblatt
9610905541 Remove usage of ui::KeyboardCode in unit tests (issue #1632) 2016-11-18 13:46:39 -05:00
Marshall Greenblatt
ac9d105c5d Add CefWaitableEvent interface for unit tests (issue #1632) 2016-11-18 13:46:39 -05:00
Marshall Greenblatt
9c76128317 Add CefScopedTempDir and file utility functions for unit tests (issue #1632) 2016-11-18 13:46:39 -05:00
Marshall Greenblatt
b462c19db1 Remove usage of gfx in unit tests (issue #1632) 2016-11-18 13:46:39 -05:00
Marshall Greenblatt
53b3f1c274 Remove usage of base::StringPrintf in unit tests (issue #1632) 2016-11-18 13:46:39 -05:00
Marshall Greenblatt
cc0e7d207c Remove usage of base::WrapUnique in unit tests (issue #1632) 2016-11-18 13:46:39 -05:00
Marshall Greenblatt
648b7b243f Add CefThread interface (issue #1632) 2016-11-18 13:46:39 -05:00
Marshall Greenblatt
b099f8cb79 Update to Chromium version 55.0.2883.44 2016-11-10 16:13:41 -05:00
Marshall Greenblatt
aeeb51361b Fix memory leak with IME on macOS (see http://crbug.com/654695) 2016-11-10 16:13:14 -05:00
Marshall Greenblatt
7a2765f89c Add initial WebUI support (issue #2037)
- Visit chrome://webui-hosts for the list of supported hosts.
2016-11-08 20:39:23 -05:00
Marshall Greenblatt
3beb937bcb Fix cef_time_t.year documentation (issue #1913) 2016-11-04 17:06:34 -04:00
Marshall Greenblatt
d59682018c Change index parameter type from int to size_t (issue #1491) 2016-11-04 15:28:37 -04:00
Marshall Greenblatt
5cea4e312b Add test for history navigation of pages containing dynamically created iframes (issue #2022) 2016-11-04 13:54:29 -04:00
Marshall Greenblatt
f7014becfa Standardize IME callbacks for off-screen rendering (issue #1675) 2016-11-03 21:12:41 -04:00
Marshall Greenblatt
e30a588a4c Fix DCHECK while running PDF unit tests (issue #2032) 2016-11-03 12:48:02 -04:00
Marshall Greenblatt
6e2177b6fa Disable channel ID support (issue #1912) 2016-11-02 15:15:30 -04:00
Marshall Greenblatt
666341d24e Update to Chromium version 55.0.2883.28 2016-11-01 12:45:33 -04:00
Marshall Greenblatt
afbd288efa Remove mention of automatic type conversion in cef_v8.h (issue #1089) 2016-10-28 20:54:07 -04:00
Marshall Greenblatt
814fe1e069 Mac: Always set enable_dsyms=true (issue #2027) 2016-10-28 20:31:52 -04:00
Marshall Greenblatt
ebddf7c5f3 Remove unhelpful context debug checks (issue #1954) 2016-10-28 16:05:13 -04:00
Marshall Greenblatt
713ddcc96d Fix URL comparison errors in CefRequest (issue #1967) 2016-10-28 14:17:30 -04:00
Marshall Greenblatt
ed84471e8a Fix CefMenuModelDelegate methods missing from the CAPI (issue #2006) 2016-10-28 13:18:56 -04:00
Marshall Greenblatt
99e95ca434 Fix crash when persisting user preferences (issue #2017) 2016-10-28 12:39:57 -04:00
Marshall Greenblatt
a6c42a74b1 Fix translator error with X509CertificateList (issue #1824) 2016-10-27 15:45:53 -04:00
Marshall Greenblatt
67eba55c79 Minor fixes for output consistency 2016-10-27 14:47:47 -04:00
Marshall Greenblatt
97fe56d30c Add callback for custom certificate selection (issue #1824) 2016-10-27 14:47:47 -04:00
Marshall Greenblatt
f3598b5ab0 Add V8 interceptor support (issue #1159) 2016-10-27 14:47:47 -04:00
Marshall Greenblatt
dd8daeb8c9 Fix shutdown assertion with authentication whitelist preferences (issue #1150) 2016-10-27 14:47:47 -04:00
Marshall Greenblatt
8fc370c9be Add authentication whitelist preferences (issue #1150) 2016-10-27 14:47:47 -04:00
Marshall Greenblatt
499813b294 Allow CefV8Context::Eval to bypass CSP (issue #2024) 2016-10-27 14:47:47 -04:00
Marshall Greenblatt
3a77b243a3 Windows: Fix crash when AVX instructions are not supported (issue #1999) 2016-10-27 14:47:47 -04:00
Marshall Greenblatt
0ad5d2918b Add patch tool enhancements (issue #2016) 2016-10-27 14:47:46 -04:00
Marshall Greenblatt
37753febf5 Fix PDF rendering with OSR (issue #1689) 2016-10-27 14:47:46 -04:00
Marshall Greenblatt
5cd77e8491 Fix missing browser.enable_spellchecking pref registration (issue #1996) 2016-10-27 14:47:46 -04:00
Marshall Greenblatt
287664d85f Update to Chromium version 55.0.2883.21 2016-10-25 20:19:54 -04:00
Marshall Greenblatt
c9e81c082f Update to Chromium revision 614d31da (#423768)
- Fix PDF extension loading after showing the plugin placeholder (issue #2020)
2016-10-25 15:34:33 -04:00
Marshall Greenblatt
07d12b78e1 Update to Chromium revision 9cedf753 (#418732)
- Simplify usage of OnBeforePluginLoad (issue #2015)
- Switch crash reporting from crashpad to breakpad on Windows and OS X.
  Adds a new chrome_elf.dll dependency on Windows (issue #1995)
- Remove CefTextfield::GetPlaceholderTextColor() method which is no
  longer supported by Chromium.
2016-10-20 16:54:25 -04:00
Marshall Greenblatt
a1fc6f1ad0 Add CefRegisterWidevineCdm function and remove component updater support (issue #2009)
Mac: Check in widevinecdmadapter.plugin binary until Widevine GN build errors are resolved (https://crbug.com/626436).
2016-10-17 14:16:31 -04:00
Marshall Greenblatt
b338bf9392 Linux: Don't generate GN configs for missing sysroots 2016-10-17 14:08:55 -04:00