Marshall Greenblatt
fc3d05f01d
Fix completion status for asynchronous custom resource handler requests (issue #1066 , issue #1187 ).
...
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1594 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2014-02-06 00:18:33 +00:00
Marshall Greenblatt
931e81549f
Add missing patch file for revision 1592 changes.
...
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1593 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2014-02-05 22:49:14 +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
76f6ca0763
Mac: Fix compile errors.
...
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1591 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2014-01-31 23:35:23 +00:00
Marshall Greenblatt
d47b633121
Revert unintended changes from revision 1582.
...
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1584 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2014-01-30 23:21:58 +00:00
Marshall Greenblatt
c310dc08f5
Revert unintended changes from revision 1582.
...
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1583 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2014-01-30 23:20:10 +00:00
Marshall Greenblatt
2534b67365
- Add MayBlock() method to stream classes which is used as a hint when determining the thread to access the stream from (issue #1187 ).
...
- In cases where MayBlock() returns true have CefStreamResourceReader perform the reads on the FILE thread (issue #1187 ).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1582 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2014-01-30 23:15:55 +00:00
Marshall Greenblatt
89a8832550
Fix crash when using asynchronous continuation with a custom resource handler (issue #1066 ).
...
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1579 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2014-01-30 00:51:52 +00:00
Marshall Greenblatt
b608dae758
Add a new CefURLParts.origin member for retrieving the origin when parsing a URL.
...
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1578 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2014-01-28 19:19:41 +00:00
Marshall Greenblatt
2f8b024797
Add a CefGetMimeType function for retrieving the mime type of a file extension (issue #1098 ).
...
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1577 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2014-01-28 17:26:59 +00:00
Marshall Greenblatt
0c8b381a46
Windows: Fix 64-bit compile errors (issue #1184 ).
...
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1576 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2014-01-28 16:58:44 +00:00
Marshall Greenblatt
0df95ca529
Provide a generic JavaScript message router implementation (issue #1183 ).
...
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1574 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2014-01-27 23:31:03 +00:00
Marshall Greenblatt
78bfefee5e
Add <algorithm> include required by VS2013 (issue #1094 ).
...
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1571 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2014-01-14 19:57:17 +00:00
Marshall Greenblatt
a1b83784ec
Mac: Fix loading of media libraries (issue #1176 )
...
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1570 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2014-01-14 17:37:02 +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
21c8131742
Send the kProductVersion flag to all processes (issue #1149 ).
...
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1561 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2014-01-10 19:49:43 +00:00
Marshall Greenblatt
8a6530db1f
Mac: Allow customization of background color (issue #1161 )
...
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1560 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2014-01-07 18:54:06 +00:00
Marshall Greenblatt
b479cb3aa3
Windows: Allow customization of background color (issue #1161 ).
...
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1559 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2014-01-07 18:04:31 +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
7074154725
Update copyright year in generated files.
...
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1557 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2014-01-06 19:48:18 +00:00
Marshall Greenblatt
30c36156ea
Update to Chromium revision 242756.
...
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1553 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2014-01-02 22:41:11 +00:00
Marshall Greenblatt
9daee785bd
Windows: Improve "view source" implementation.
...
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1550 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-12-17 23:33:01 +00:00
Marshall Greenblatt
099664fba0
Update to Chromium revision 241258.
...
- Update tracing implementation to use the new file-based approach (issue #1157 ).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1549 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-12-17 22:04:35 +00:00
Marshall Greenblatt
992cc56583
Update the CEF logo image in cefclient.
...
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1548 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-12-09 19:03:49 +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
68916c9571
Fix crash when browser window creation is canceled (issue #1147 ).
...
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1543 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-12-07 01:58:36 +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
dda0753fa8
Mac: Fix creation of dSYM files for the Release target by enabling the |mac_strip_release| GYP variable which was disabled in Chromium revision 235601.
...
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1541 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-12-05 19:09:17 +00:00
Marshall Greenblatt
64294f659d
Linux: Apply system font settings (issue #1148 ).
...
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1538 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-12-02 20:07:03 +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
19379d98c2
Mac: Add NSAutoreleasePool in PlatformCreateWindow to make sure CefBrowserHostView is dealloc'ed on window destruction
...
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1534 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-11-26 19:45:45 +00:00
Marshall Greenblatt
4e58096051
Remove the old (non-functional) about:tracing implementation. A new implementation is required due to Chromium changes (issue #1146 ).
...
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1533 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-11-25 23:21:32 +00:00
Marshall Greenblatt
3d218e4442
Update to Chromium revision 237081.
...
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1532 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-11-25 23:04:25 +00:00
Marshall Greenblatt
777e3c440e
Mac: Fix equality test compile error (issue #1013 ).
...
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1529 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-11-25 18:56:22 +00:00
Marshall Greenblatt
527f1aa5da
Use file_util::WriteFile instead of ofstream (issue #1013 ).
...
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1527 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-11-25 18:53:13 +00:00
Marshall Greenblatt
43d2ca32fa
Support file uploads in CefURLRequests originating from the browser process (issue #1013 ).
...
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1525 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-11-25 17:31:59 +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
ba3615324d
Enable print option in context menu (issue #1127 ).
...
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1521 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-11-21 21:47:40 +00:00
Marshall Greenblatt
7428e45dd2
Restore CefRenderProcessHandler::OnBeforeNavigation (issue #1076 ). This method is still needed for some use cases due to issue #1129 .
...
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1519 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-11-21 20:59:28 +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
395f443215
Wait for the debugger as early in process initialization as possible.
...
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1517 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-11-12 17:43:39 +00:00
Marshall Greenblatt
7e1fbaca6a
Update to Chromium revision 234212
...
- The CefBrowserSettings.user_style_sheet_location option is no longer supported in Blink.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1516 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-11-11 17:29:52 +00:00
Marshall Greenblatt
81f336f4bb
Fix error in TaskTest.PostDelayedTask1 test.
...
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1513 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-11-11 16:57:20 +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
d789d84c30
Remove CefBrowserHost::GetDevToolsURL(). It is now possible to use DevTools without remote debugging, and the ability to load a remote debugging URL without first loading the discovery page is no longer supported (issue #659 ).
...
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1511 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-11-08 16:27:22 +00:00
Marshall Greenblatt
d2dfded03a
- Support DevTools without remote debugging via CefBrowserHost::ShowDevTools and CloseDevTools methods (issue #659 ).
...
- Fix loading of DevTools frontend from chrome-devtools scheme (issue #1095 ).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1510 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-11-08 16:06:06 +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
601c2b0ee9
Set "User-Agent" and "Accept-Language" headers for requests sent using CefURLRequest (issue #1125 ).
...
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1502 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-10-30 17:42:05 +00:00
Marshall Greenblatt
78cfa155c6
Fix a crash when closing an off-screen browser with no references (issue #1121 ).
...
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1500 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-10-29 22:19:51 +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