Commit Graph

502 Commits

Author SHA1 Message Date
Marshall Greenblatt 943bfb9103 Fix race condition during V8 proxy initialization (issue #912).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1252 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-05-08 18:21:18 +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 6a50db3e49 Support cross-origin XMLHttpRequest loads and redirects for custom standard schemes when enabled via the cross-origin whitelist (issue #950).
- Call WebSecurityPolicy::registerURLSchemeAsCORSEnabled() for custom standard schemes.
- Explicitly check the cross-origin whitelist in CefResourceDispatcherHostDelegate::OnRequestRedirected() and add the appropriate CORS headers.
- Improve the CefAddCrossOriginWhitelistEntry() documentation to mention the top-level domain requirement for sub-domain matching.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1235 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-04-18 17:58:23 +00:00
Marshall Greenblatt 62290279d5 Continue resource loading asynchronously to avoid issues during ResourceScheduler stack unwinding.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1230 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-04-17 20:42:39 +00:00
Marshall Greenblatt 19d9ebd063 Fix crash during window close when no CefClient is provided.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1228 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-04-17 18:33:26 +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 0f8af86b79 Destroy CefMenuCreator on the UI thread thread (issue #887).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1224 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-04-16 17:34:13 +00:00
Marshall Greenblatt bb6eeee686 Update to Chromium revision 194165.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1221 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-04-15 22:16:01 +00:00
Marshall Greenblatt 0ffaf01b5b Remove V8 worker bindings (issue #451).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1209 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-04-11 20:46:04 +00:00
Marshall Greenblatt 67d59cb2b9 Add CefBrowserHost::WasHidden() method for notifying a windowless browser that it has been hidden or shown (issue #909).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1180 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-04-05 17:37:40 +00:00
Marshall Greenblatt 0343aa5236 Add CefBrowserHost::SetMouseCursorChangeDisabled() method for disabling mouse cursor changes (issue #884).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1178 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-04-05 17:05:37 +00:00
Marshall Greenblatt f70030adab Add support for the V8 LoadTimes extension (issue #917).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1177 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-04-04 18:10:17 +00:00
Marshall Greenblatt 9e0ba3801e Add CefRequestHandler::OnCertificateError() callback (issue #345).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1176 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-04-04 17:50:35 +00:00
Marshall Greenblatt 03e5a75ea4 Update to Chromium revision 190564.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1168 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-04-02 17:21:37 +00:00
Marshall Greenblatt 7ded60a218 - Change the way that application shutdown works in order to support JavaScript 'onbeforeunload' handling (issue #853). See comments in cef_life_span_handler.h for a detailed description of the new shutdown process.
- Fix a crash on Linux during window destruction (issue #681).

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1149 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-03-19 22:59:33 +00:00
Marshall Greenblatt 25e54b1800 Add new CefNowFromSystemTraceTime() method (issue #908).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1147 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-03-15 19:57:20 +00:00
Marshall Greenblatt f0abe2369c Mac: Fix compile errors due to Chromium update.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1138 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-03-12 21:46:38 +00:00
Marshall Greenblatt c3b02b7231 Update to Chromium revision 187216.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1136 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-03-12 20:23:24 +00:00
Marshall Greenblatt 485244b1bb Disable WebKit MediaStream feature if WebRTC support is disabled (issue #531).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1133 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-03-08 00:52:57 +00:00
Marshall Greenblatt 63f6b6b09a Add support for x-webkit-speech (issue #758).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1132 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-03-08 00:41:26 +00:00
Marshall Greenblatt 920ee60499 Fix WebRTC support (issue #531).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1131 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-03-07 01:20:24 +00:00
Marshall Greenblatt 9b9c283ec2 Make sure RenderViewCreated is called at least one time since it does not appear to currently be called for popup windows (issue #892).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1128 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-03-05 18:27:46 +00:00
Marshall Greenblatt c10f203620 Update to Chromium revision 184577.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1111 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-02-27 17:56:03 +00:00
Marshall Greenblatt d9a4c5690b Fix proxy V8 initialization failure resulting from Chromium update.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1110 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-02-26 22:54:26 +00:00
Marshall Greenblatt 83f568d071 Mac: Fix compile errors
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1107 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-02-23 01:46:13 +00:00
Marshall Greenblatt 6f922731b4 Update to Chromium revision 181864.
- Adds support for chrome://view-http-cache/*, chrome://appcache-internals/, chrome://blob-internals/, chrome://tcmalloc/ and chrome://histograms/

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1106 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-02-23 00:43:28 +00:00
Marshall Greenblatt a9d458f345 Add new CefSettings.ignore_certificate_errors option to ignore errors related to invalid SSL certificates (issue #).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1102 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-02-13 23:43:16 +00:00
Marshall Greenblatt 7f3d1ccf78 Add a new CefBrowserHost::StartDownload method for starting a download that can then be handled via CefDownloadHandler (issue #883).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1100 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-02-13 22:47:04 +00:00
Marshall Greenblatt d65179c135 Add the ability to persist session cookies (issue #881).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1098 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-02-13 19:53:41 +00:00
Marshall Greenblatt bb3a804033 Fix crash when destroying the browser window while a context menu is displayed.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1096 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-02-13 17:11:50 +00:00
Marshall Greenblatt 6604af5462 Fix popup window behavioral errors introduced by revision 1085 changes (issue #816).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1093 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-02-09 22:38:24 +00:00
Marshall Greenblatt c5b0633bdd Send OnTitleChange() notifications when navigating history (issue #766).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1087 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-02-08 16:42:22 +00:00
Marshall Greenblatt 02587eba55 Add a new CefLifeSpanHandler::CanCreatePopup() method for canceling the creation of popup windows (issue #816).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1085 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-02-08 00:07:41 +00:00
Marshall Greenblatt 830182196c Improve the way that settings are specified (issue #878).
- Change CefBrowserSettings members that previously used a boolean to instead use a cef_state_t enumeration with default, enabled and disabled states.
- Remove CefBrowserSettings members that are unlikely to be used and that can also be set using Chromium command-line switches.
- Change the CEF command-line switch naming pattern to match Chromium and move the implementation out of cefclient.
- Improve documentation by listing the command-line switch, if any, associated with each setting.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1083 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-02-07 19:59:40 +00:00
Marshall Greenblatt 81d27df883 Introduce chrome proxy implementation based on command-line flags (issue #600).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1080 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-02-06 20:41:54 +00:00
Marshall Greenblatt bccce6258f When running in single-process mode wait for the render thread to stop before shutting down the context (issue #570).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1078 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-02-02 00:21:59 +00:00
Marshall Greenblatt 9d07fba418 Revert revision 978 changes: When running in single-process mode wait for the render thread to stop before shutting down the context (issue #570).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1076 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-02-01 20:02:10 +00:00
Marshall Greenblatt 52c203d4cf Windows: Avoid assertion when entering zero-length text in the default JavaScript prompt dialog (issue #862).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1045 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-01-18 22:46:05 +00:00
Marshall Greenblatt 29108bda5f Linux: Emit "delete_event" signal instead of calling gtk_widget_destroy (issue #780).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1038 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-01-18 20:18:25 +00:00
Marshall Greenblatt fc0fd84371 Fix assertion when returning NULL from CefClient::GetGeolocationHandler (issue #857).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1019 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-01-18 17:09:48 +00:00
Marshall Greenblatt 43d44578ba Linux: Fix compile errors (issue #852).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@997 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-01-16 20:20:09 +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 2acdc55727 Update to Chromium revision 173683.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@981 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-01-14 19:21:17 +00:00
Marshall Greenblatt 60319f0cea Avoid re-registration of a RenderViewHost with NotificationRegistrar which can occur after a renderer crashes.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@980 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-01-11 23:20:13 +00:00
Marshall Greenblatt 7d3bac19a9 Windows: Improvements to off-screen rendering support (issue #518).
- Implement support for transparency. Change the backing store to use Skia instead of GDI and to keep alpha values.
- Implement support for select popups. Requires a patch to Chromium (content_popups.patch).
- Implicitly disable accelerated compositing when using off-screen rendering.
- Introduce a new CefMouseEvent structure for representing mouse event information passed to CefBrowser methods.
- Merge cef_key_event_modifiers_t into cef_event_flags_t.
- Add a new argument to CefBrowser::Invalidate telling the browser whether to invalidate the select popup or the main view.
- Add a new cefclient "transparent-painting-enabled" command-line flag to test transparent off-screen rendering.
- Add a new cefclient "Transparency" test.
- Fix the cefclient off-screen rendering rotation effect to work even when the underlying web content is not updating.
- Add unit tests for transparent painting and select popups.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@979 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-01-11 23:00:39 +00:00
Marshall Greenblatt a463095bd9 When running in single-process mode wait for the render thread to stop before shutting down the context (issue #570).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@978 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-01-06 16:39:25 +00:00
Marshall Greenblatt 10ed5d699f Fix an assertion when exiting the browser after a popup window has been canceled (issue #830).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@975 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-01-04 12:36:39 +00:00
Marshall Greenblatt afe3cb1d67 Support custom V8 bindings on WebWorker threads (issue #451).
- Add CefRenderProcessHandler callbacks for WebWorker context creation, release and uncaught exceptions.
- Add CefTaskRunner class that supports posting of tasks to standard threads and WebWorker threads.
- Organize V8 internal state information on a per-thread/per-Isolate basis.
- Add webkit_451.patch that provides the WebKit implementation.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@972 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-01-03 17:24:24 +00:00
Marshall Greenblatt dc5c4c50ac Remove NOTREACHED assertion in CefRegisterSchemeHandlerFactory because it may be hit during registration of internal schemes if CEF is shut down quickly (issue #571).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@970 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-01-03 12:55:42 +00:00
Marshall Greenblatt d67415aefd Simplify code by moving WebKit initialization from CefRenderProcessObserver to CefContentRendererClient.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@968 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-12-31 10:41:15 +00:00