Commit Graph

966 Commits

Author SHA1 Message Date
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
Marshall Greenblatt b64c1b3dd2 Use scoped_refptr<> instead of raw pointer
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1495 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-10-29 19:14:52 +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 74fea9e2b9 Fix memory corruption in browser-initiated CefURLRequests (issue #1118).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1487 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-10-24 21:43:47 +00:00
Marshall Greenblatt 4fa7a4d806 Linux: Fix clang compile errors.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1485 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-10-24 21:40:32 +00:00
Marshall Greenblatt c7d7b9fbbf Add search/find support (issue #513).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1482 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-10-23 22:44:12 +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 f248b937f9 Windows: Fix VS2012 compile error (issue #1109).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1474 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-10-18 17:27:17 +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 56c1a740aa Mac: Fix compile/build errors due to Chromium update
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1468 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-10-17 15:13:25 +00:00
Marshall Greenblatt d816fde859 Update to Chromium revision 228917.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1467 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-10-16 23:09:07 +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 b80d75f07d Update to Chromium revision 224845.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1461 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-10-16 01:07:40 +00:00
Marshall Greenblatt 4c3bd0b724 Update to Chromium revision 224895.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1460 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-10-16 00:25:38 +00:00
Marshall Greenblatt 901528b4a5 Mac: Fix "format string is not a string literal" error when building with clang and 10.7 SDK.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1458 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-10-14 19:29:39 +00:00
Marshall Greenblatt 52d374bc9a Remove the CEF1 trunk folder. Any future development will be in the 1453 branch.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1454 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-10-11 14:49:52 +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 43a5dccec1 Fix windows 64-bit compile errors (issue #1079).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1448 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-09-17 09:17:12 +00:00
Marshall Greenblatt f9bed78d56 Fix AssertNoURLRequests due to pending proxy connections during shutdown (issue #1037).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1445 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-09-17 08:13:02 +00:00
Marshall Greenblatt e8c2c80f70 Remove unused variable (issue #1079).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1444 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-09-16 15:29:21 +00:00
Marshall Greenblatt 8adb86e7e6 Remove CefRenderProcessHandler::OnBeforeNavigation (issue #1076).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1443 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-09-16 15:26:08 +00:00
Marshall Greenblatt 71125f76d8 Expose CefLoadHandler in the render process (issue #1077).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1442 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-09-12 23:36:54 +00:00
Marshall Greenblatt c577293d96 Initial changes to allow use of CefLoadHandler in the render process (issue #1077).
- Move OnLoadingStateChange from CefDisplayHandler to CefLoadHandler.
- Move OnRenderProcessTerminated and OnPluginCrashed from CefLoadHandler to CefRequestHandler.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1441 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-09-12 20:34:18 +00:00
Marshall Greenblatt 4eafb2ea24 Add CefRequestHandler::OnBeforeBrowse callback (issue #1076).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1440 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-09-12 17:44:54 +00:00
Marshall Greenblatt 2b6285b701 - Only update back/forward state for committed navigations.
- Don't change the frame URL for failed loads.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1437 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-09-12 17:27:59 +00:00