Commit Graph

379 Commits

Author SHA1 Message Date
Marshall Greenblatt 06bc30a802 Clear the input array passed to CefBrowser::GetFrameIdentifiers so that the correct values are returned via the C/C++ wrapper API, and add a test (issue #626).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@665 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-06-04 17:03:31 +00:00
Marshall Greenblatt af01dd2d82 Fix misspelling of the Referer HTTP header (issue #619).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@660 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-06-01 17:41:30 +00:00
Marshall Greenblatt 38f216a9c2 Update to Chromium revision 139606.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@658 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-05-31 15:19:33 +00:00
Marshall Greenblatt 584bd26331 Windows: Allow the JS dialog message hook to be shared across multiple browser windows (issue #605).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@654 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-05-29 18:06:22 +00:00
Marshall Greenblatt 71773b5bbc Windows: Avoid resizing the child window to 0x0 when the parent window is minimized (issue #606).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@653 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-05-29 17:39:39 +00:00
Marshall Greenblatt b3f982dd73 Avoid crash due to missing prerenderer support (issue #608).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@652 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-05-29 17:18:33 +00:00
Marshall Greenblatt 19e96f94fe Fix CefContextMenuParamsImpl::GetYCoord() to return the correct value (issue #602).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@642 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-05-22 21:10:00 +00:00
Marshall Greenblatt 0b003c55a9 Pass target URL to OnBeforePopup (issue #596).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@633 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-05-18 21:37:42 +00:00
Marshall Greenblatt 8b1748bbf5 Destroy CefResponseManager on the correct thread (issue #570).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@632 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-05-18 21:18:01 +00:00
Marshall Greenblatt 9c9711c2d8 Update to Chromium revision 137849.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@631 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-05-18 20:32:28 +00:00
Marshall Greenblatt 761187a673 - Update to Chromium revision 136953.
- Add chrome-devtools scheme handler implementation.
- Change the CefBrowser::GetDevToolsURL() method to allow retrieval of both http and chrome-devtools URLs.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@630 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-05-18 15:04:56 +00:00
Marshall Greenblatt 808e89e01e Fix usage of ReadRawData return value in ResourceRequestJob implementation (issue #534).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@619 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-05-04 18:36:45 +00:00
Marshall Greenblatt 0ceab51f94 Fix StringPrintf format error.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@614 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-05-02 16:28:22 +00:00
Marshall Greenblatt 4158d13cce Fix compile error.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@613 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-05-02 15:56:15 +00:00
Marshall Greenblatt 10a336e500 Update to Chromium revision 134688.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@612 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-05-01 17:47:54 +00:00
Marshall Greenblatt dfd4a8ba99 Fix StringPrintf format error.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@611 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-04-27 22:18:57 +00:00
Marshall Greenblatt db3a9817ed Add direct DOM access (issue #511).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@610 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-04-27 21:19:06 +00:00
Marshall Greenblatt 4fe0ddf640 Add ability to directly retrieve plugin information (issue #575).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@609 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-04-27 19:12:01 +00:00
Marshall Greenblatt 9017c0e74e - Update to Chromium revision 133962.
- Mac: Fix path discovery for non-native frameworks (issue #576).
- Avoid loading Chrome-specific pack files (issue #578).
- Make DevTools remote debugging URLs harder to guess (issue #583)
- Add CefBrowser::GetDevToolsURL() method (issue #583).
- Add DevTools example to cefclient (must run with --remote-debugging-port=XXXX command-line flag) (issue #583).

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@608 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-04-26 22:20:18 +00:00
Marshall Greenblatt 7987af5acf Fix memory leak when returning zero-length strings from V8 (issue #581).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@604 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-04-25 20:01:10 +00:00
Marshall Greenblatt 6c8f4644aa - Update to Chromium revision 133430.
- Move custom scheme registration to CefApp::OnRegisterCustomSchemes(). This is required by the introduction of ContentClient::AddAdditionalSchemes() and fixes a race condition when registering standard schemes in different processes.
- Execute V8 functions using V8Proxy. This is required for inspector instrumentation to work correctly and fixes an assertion in WebCore related to V8RecursionScope.
- Enable verbose V8 TryCatch logging.
- Mac: Expose UnderlayOpenGLHostingWindow interface that should be used for all CEF windows.
- Add CefSettings.remote_debugging_port option.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@602 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-04-24 18:01:48 +00:00
Marshall Greenblatt fdbabb4378 Add context menu support (issue #509):
- Add new CefContextMenuHandler, CefContextMenuParams and CefMenuModel classes.
- Add cef_strings.grd and related infrastructure for supporting translation of CEF strings.
- Generate include/cef_pack_resources.h and include/cef_pack_strings.h files at build time that include all IDs used by CEF pack files.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@597 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-04-19 21:28:12 +00:00
Marshall Greenblatt effbca00e2 Add context menu support (issue #509):
- Add new CefContextMenuHandler, CefContextMenuParams and CefMenuModel classes.
- Add cef_strings.grd and related infrastructure for supporting translation of CEF strings.
- Generate include/cef_pack_resources.h and include/cef_pack_strings.h files at build time that include all IDs used by CEF pack files.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@596 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-04-19 21:18:22 +00:00
Marshall Greenblatt 7bc494880f Add context menu support (issue #509):
- Add new CefContextMenuHandler, CefContextMenuParams and CefMenuModel classes.
- Add cef_strings.grd and related infrastructure for supporting translation of CEF strings.
- Generate include/cef_pack_resources.h and include/cef_pack_strings.h files at build time that include all IDs used by CEF pack files.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@595 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-04-19 20:31:46 +00:00
Marshall Greenblatt 07bba96106 Add support for JavaScript alert, confirm, prompt and onbeforeunload dialogs (issue #507).
- Add CefJSDialogHandler and CefJSDialogCallback interfaces.
- Add default dialog implementations for Windows and Mac OS-X.
- Add "JavaScript Dialogs" example to cefclient.
- Change TestHandler::AddResource to ignore the query component when matching URLs.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@594 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-04-16 21:15:27 +00:00
Marshall Greenblatt 7ce5e9924e Don't DCHECK the |value| argument passed to cef_string_list_append().
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@593 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-04-13 15:23:52 +00:00
Marshall Greenblatt 9d200c109a - Update to Chromium revision 131752.
- Add support for multi_threaded_message_loop run mode on Windows (issue #522).

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@586 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-04-11 18:00:55 +00:00
Marshall Greenblatt f94336aade CEF3: Update to Chromium revision 130586.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@578 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-04-04 18:18:09 +00:00
Marshall Greenblatt 0b3ef6e2cd CEF3: Add CefCookieManager::SetSupportedSchemes method which supports cookie storage for non-http(s) schemes (issue #567).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@577 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-04-03 22:14:28 +00:00
Marshall Greenblatt 34adee805c Branch CEF3 files from /branches/cef3 to /trunk/cef3 (issue #564).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@571 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-04-03 01:34:16 +00:00
Marshall Greenblatt b568f160d9 Rename CEF1 files from /trunk to /trunk/cef1 (issue #564).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@570 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-04-03 01:27:13 +00:00
Marshall Greenblatt 0a1fd8b040 Avoid calling OnSetFocus multiple times (issue #563).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@569 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-04-02 19:05:42 +00:00
Marshall Greenblatt b59fc7633d Execute the CefFocusHandler::OnSetFocus callback for calls to CefBrowser::SetFocus and mouse clicks on the view (issue #563).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@568 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-04-02 16:28:56 +00:00
Marshall Greenblatt 0872b047a4 Fix problem with CefBrowser::GetMainFrame() clearing the frame URL value (issue #556).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@561 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-03-30 17:18:31 +00:00
Marshall Greenblatt 3b23cc1815 Fix race condition in CefCookieManagerImpl constructor (issue #542).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@556 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-03-29 16:51:31 +00:00
Marshall Greenblatt 4f1dd4f96c Fix compile errors.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@546 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-03-23 00:19:51 +00:00
Marshall Greenblatt c814366421 - Add CefCookieManager interface and CefRequestHandler::GetCookieManager for custom cookie handling (issue #542).
- Support getting and setting cookies with custom scheme handlers (issue #555).
- Support calling CefFrame::GetIdentifier and CefFrame::GetURL on any thread (issue #556).

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@542 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-03-22 22:08:05 +00:00
Marshall Greenblatt e258cbc536 Revert revision 534 changes: Add CefCookieManager interface and CefRequestHandler::GetCookieManager for custom cookie handling (issue #542).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@541 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-03-21 16:14:14 +00:00
Marshall Greenblatt ef43df264a Add CefCookieManager interface and CefRequestHandler::GetCookieManager for custom cookie handling (issue #542).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@534 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-03-15 22:38:02 +00:00
Marshall Greenblatt 97d6924f7e Invalidate the entire scroll rect when using off-screen rendering mode (issue #469).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@526 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-03-13 15:05:56 +00:00
Marshall Greenblatt 52aade3759 Update to Chromium revision 122508.
- CefDragData::GetFileExtension() has been removed.
- Audio playback no longer works (issue #530).

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@509 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-02-18 00:19:52 +00:00
Marshall Greenblatt a3e0935ce3 Update to Chromium revision 119867.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@504 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-02-17 14:51:20 +00:00
Marshall Greenblatt c04103744c Setting the OnBeforeResourceLoad redirectUrl value should behave the same as using request->SetURL() (issue #529).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@502 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-02-16 20:13:07 +00:00
Marshall Greenblatt 1a092a0c1a Add the ability to (issue #236):
1. Disable pack file loading via CefSettings.pack_loading_disabled.
2. Customize pack file load paths via CefSettings.pack_file_path and CefSettings.locales_dir_path.
3. Provide custom resource bundle handling via CefResourceBundleHandler.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@501 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-02-16 17:11:49 +00:00
Marshall Greenblatt def9fdb540 Fix memory leak in CefV8ValueImpl::ExecuteFunctionWithContext (issue #526).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@497 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-02-15 16:19:59 +00:00
Marshall Greenblatt 55b363354f Mac: Fix the "no autorelease pool in place" error by initializing an NSAutoreleasePool on every thread (issue #502).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@482 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-02-10 16:22:47 +00:00
Marshall Greenblatt 9bcab6db78 Linux: Remove the gdk_drag_context_get_suggested_action accessor that requires gtk+ 2.21 or greater.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@481 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-02-08 16:45:40 +00:00
Marshall Greenblatt 3309ccf917 Linux: Add gdk.h include to hopefully fix compile errors on some distros.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@480 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-02-08 15:24:27 +00:00
Marshall Greenblatt 2497090b12 - Linux: Add support for HTML5 drag&drop (issue #40).
- Linux: Fix GTK cefclient to properly shutdown on CTRL+c (issue #40).
- Linux: Fix compile error due to v8_impl.cc revision 469 changes.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@475 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-01-23 19:04:54 +00:00
Marshall Greenblatt 4fde292443 Mac: Fix compile error due to revision 469 changes.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@471 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-01-20 14:44:09 +00:00