Commit Graph

895 Commits

Author SHA1 Message Date
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 6983ac5ae3 Linux: Update the drag&drop implementation to match other platforms (issue #876).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1074 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-02-01 17:54:45 +00:00
Marshall Greenblatt 868fa28fa1 Linux: Fix drag/drop crash in WebCore::DragData::modifierKeyState (issue #875).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1070 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-02-01 17:43:19 +00:00
Marshall Greenblatt 9ed494e647 Linux: Fix drag/drop crash in WebCore::DragData::modifierKeyState (issue #875).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1066 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-01-30 16:38:12 +00:00
Marshall Greenblatt 2344b20e38 Windows: Change CefBrowser::SetOSModalLoop to CefSetOSModalLoop because the functionality is not connected with any particular browser (issue #194).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1062 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-01-28 18:48:54 +00:00
Marshall Greenblatt f39b3d7f90 Windows: update the binary distribution usage instructions.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1060 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-01-26 03:28:15 +00:00
Marshall Greenblatt ee6faa0706 - Remove cefclient dependency on ATL.
- Allow more cefclient tests to work in the off-screen rendering example.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1058 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-01-26 03:19:50 +00:00
Marshall Greenblatt 26fb351f4a Fix header include paths.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1056 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-01-24 22:33:23 +00:00
Marshall Greenblatt 0ab1178b99 Windows: Add default implementation for JavaScript prompt dialog (issue #861).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1049 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-01-18 23:19:40 +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 c333f29373 Linux: Improve label for JavaScript dialogs (issue #488).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1043 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-01-18 21:53:10 +00:00
Marshall Greenblatt ff577b4e4f Mac: Add default implementation for JavaScript confirm/prompt dialogs (issue #795).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1041 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-01-18 21:37:07 +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 e8fd7a97b8 Linux: Emit "delete_event" signal instead of calling gtk_widget_destroy (issue #780).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1037 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-01-18 20:18:03 +00:00
Marshall Greenblatt 57174f07d4 Set SVN properties on gyp_cef.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1034 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-01-18 20:12:20 +00:00
Marshall Greenblatt 709eeb68ab Set SVN properties on gyp_cef.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1033 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-01-18 20:11:41 +00:00
Marshall Greenblatt 762ce24da4 Show time value on load in cefclient dialogs.html.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1031 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-01-18 20:04:16 +00:00
Marshall Greenblatt df3537658b Linux: Add default implementation for JavaScript alert/confirm/prompt/filechooser dialogs.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1029 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-01-18 20:00:45 +00:00
Marshall Greenblatt 3998917e10 Windows: Display select filters based on the "accept" attribute for input type="file" (issue #791).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1027 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-01-18 18:00:25 +00:00
Marshall Greenblatt c720dbdb23 Mac: Call makeFirstResponder:nil from windowDidResignKey: in cefclient to remove focus from the browser view when the window becomes inactive (issue #565).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1025 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-01-18 17:30:48 +00:00
Marshall Greenblatt 3b834de6bb Mac: Fix crash with input element of type "file" when the default file name is empty (issue #823).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1023 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-01-18 17:23:56 +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 9f2399e918 Linux: Fix compile error due to fwrite() and warn_unused_result.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1017 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-01-17 22:25:57 +00:00
Marshall Greenblatt 8f95df96c7 Allow empty |browser| parameter to CefSchemeHandlerFactory::Create (issue #834).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1015 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-01-17 21:27:39 +00:00
Marshall Greenblatt 5e014e1f34 Add new CefDisplayHandler::OnFaviconURLChange callback (issue #779).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1013 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-01-17 21:13:43 +00:00
Marshall Greenblatt df3ca9e022 Fix documentation error in CefRequestHandler (issue #836).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1011 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-01-17 19:05:04 +00:00
Marshall Greenblatt f1ebd3561f Enable IME for all text input types (issue #765).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1009 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-01-17 19:00:57 +00:00
Marshall Greenblatt 53d8a95c98 Allow empty |mimeType| argument to GetDownloadHandler (issue #405).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1007 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-01-17 18:46:41 +00:00
Marshall Greenblatt e91039b864 Update copyright year on auto-generated files.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1005 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-01-17 18:39:09 +00:00
Marshall Greenblatt e842db12ba Specifying the 'force-clean' flag to the automate script should remove the build output directory.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1004 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-01-17 18:16:15 +00:00
Marshall Greenblatt 933e01fb0e Specifying the 'force-clean' flag to the automate script should remove the build output directory.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1003 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-01-17 18:15:42 +00:00
Marshall Greenblatt 4c44ce466e Windows: Fix make_distrib.py for libcef.dll.pdb rename (issue #856).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1000 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-01-16 20:28:35 +00:00
Marshall Greenblatt 9a051fa002 Windows: Fix make_distrib.py for libcef.dll.pdb rename.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@999 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-01-16 20:28:00 +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 55729ae7f9 Mac: Remove temporary workaround for an Xcode 4 build error.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@992 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-01-15 22:46:04 +00:00
Marshall Greenblatt 463258f668 Mac: Remove temporary workaround for an Xcode 4 build error.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@991 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-01-15 22:45:49 +00:00
Marshall Greenblatt 8ebca9e04d Linux: Fix compile errors.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@989 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-01-15 22:38:36 +00:00
Marshall Greenblatt 3b9cb32e4a Update to Chromium revision 176706.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@988 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-01-15 21:38:59 +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 5061db7c1b Update to Chromium revision 173683.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@982 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-01-14 21:38:54 +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