Commit Graph

305 Commits

Author SHA1 Message Date
Marshall Greenblatt 1bb1526985 Fix transparent background for toolbar in DevTools (issue #313).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@351 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-10-31 18:47:01 +00:00
Marshall Greenblatt b45a7175ac Re-register the internal chrome-devtools scheme handler after CefClearSchemeHandlerFactories() is called (issue #398).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@350 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-10-31 17:56:35 +00:00
Marshall Greenblatt 1897d14214 Call ResourceBundle::CleanupSharedInstance() on exit (issue #393).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@348 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-10-31 15:40:54 +00:00
Marshall Greenblatt e6c93810c8 Linux: Fix compile errors due to issue #386 changes.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@347 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-10-31 15:26:47 +00:00
Marshall Greenblatt ef80d4ae6b Use multimap type for storing header values (issue #386).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@346 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-10-28 21:31:26 +00:00
Marshall Greenblatt 0ec9541b78 Add CefFrame::GetV8Context() method for retrieving the V8 context of a frame (issue #344).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@345 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-10-28 20:30:19 +00:00
Marshall Greenblatt 5147a4c7a0 Update to Chromium revision 107708.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@344 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-10-28 19:40:31 +00:00
Marshall Greenblatt 5155483796 Mac: additional repaint fixes related to issue #360.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@342 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-10-26 14:21:49 +00:00
Marshall Greenblatt 7a91ff899f Add initial Linux support (issue #40).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@338 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-10-24 20:20:52 +00:00
Marshall Greenblatt becadcfd16 Add CefSettings.auto_detect_proxy_settings_enabled option for enabling automatic proxy detection on Windows (issue #332).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@337 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-10-21 21:14:50 +00:00
Marshall Greenblatt c422ab5aa8 Allow for cases where CefBrowserImpl::UIT_CreateBrowser() may fail (issue #322).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@336 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-10-21 21:00:59 +00:00
Marshall Greenblatt fb2eb5f4b5 Fix problem calling CefBrowser::SetFocus() from a non-UI thread (issue #320).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@335 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-10-21 20:50:04 +00:00
Marshall Greenblatt 561bb6956b Add support for transparency on Windows (issue #99).
- Enable the use of Skia instead of GDI for text rendering.
- Add a new CefWindowInfo::m_bTransparentPainting member.
- Add transparent popup window and off-screen rendering examples to cefclient.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@334 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-10-21 19:35:19 +00:00
Marshall Greenblatt 34f6a2141e Use cef-error URL for error pages (issue #382).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@333 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-10-21 14:42:21 +00:00
Marshall Greenblatt a8f47d2f33 Don't call OnTitleChange() and OnLoadEnd() for failed provisional loading (issue #381).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@332 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-10-21 14:38:25 +00:00
Marshall Greenblatt 5022adb6ad Add handling for empty V8 exception messages (issue #342).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@331 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-10-21 14:25:14 +00:00
Marshall Greenblatt 2085cc9ce2 Add CefDisplayHandler::OnContentsSizeChange() notificiation (issue #341).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@330 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-10-21 14:09:04 +00:00
Marshall Greenblatt 04c948fd51 Update to Chromium revision 106500.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@329 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-10-20 20:34:13 +00:00
Marshall Greenblatt 026dacda76 Add CefBrowserSettings.load_drops_disabled option for disabling default navigation resulting from drag & drop of URLs (issue #363).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@327 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-10-19 16:37:31 +00:00
Marshall Greenblatt 765e7b4c33 Mac: additional repaint fixes related to issue #360.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@326 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-10-18 20:10:22 +00:00
Marshall Greenblatt 6dee882cf2 Set the product version string using make_version_header.py and the chrome/VERSION file (issue #383).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@323 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-10-18 17:56:10 +00:00
Marshall Greenblatt 7130cc4f26 Add a new NAVTYPE_LINKDROPPED value to the cef_handler_navtype_t enum passed to OnBeforeResourceLoad() that will be passed when navigation is resulting from a drop (issue #363).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@320 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-10-18 00:23:32 +00:00
Marshall Greenblatt 78c23fc30b Mac: fix repaint artifacts introduced by issue #360 when overlapping elements are scrolled.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@319 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-10-18 00:06:44 +00:00
Marshall Greenblatt 9c6dcab73a - Add CefFocusHandler::OnFocusedNodeChanged() notification (issue #379).
- Add CefDOMNode::IsFormControlElement() and CefDOMNode::GetFormControlElementType() methods (issue #379).
- Add space bar handling example to cefclient.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@318 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-10-14 12:40:40 +00:00
Marshall Greenblatt 69331e2064 - Update to Chromium revision 105051.
- Enable use of clang compiler on Mac.
- Add CefSettings.threaded_compositing_enabled option.
- Begin converting NewRunnable usage to base::Bind.
- Avoid assertion when an empty message is passed to OnConsoleMessage().
- Add an "--allow-partial" option to the make_distrib tool.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@316 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-10-12 19:09:15 +00:00
Marshall Greenblatt 07e2c7d348 Win: Look for the chrome.pak file in the module (libcef.dll) directory to match the locale folder location (issue #374).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@314 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-10-12 10:54:21 +00:00
Marshall Greenblatt 1c2f102bb0 Add a FocusSource parameter to OnSetFocus() that indicates where the focus request is originating from (issue #369).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@306 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-10-07 10:30:10 +00:00
Marshall Greenblatt 7a3154c9ba Pass the originating browser to CefSchemeHandlerFactory::Create() (issue #362).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@305 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-10-07 10:13:04 +00:00
Marshall Greenblatt 96f73aadc3 Mac: Fix OnKeyEvent() notification (issue #366).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@303 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-10-06 14:45:36 +00:00
Marshall Greenblatt 6b134b4def - Add CefSettings.local_storage_quota and session_storage_quota options for setting localStorage and sessionStorage quota limits respectively (issue #348).
- Add Cef*Storage() functions and CefStorageVisitor interface for accessing localStorage and sessionStorage data via the native API (issue #361).
- Add a "cache_path" command-line flag option to cef_unittests for running the unit tests with a cache path value (issue #368).

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@302 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-10-06 13:34:47 +00:00
Marshall Greenblatt 50b909a417 - Add a CefBrowser::ClearHistory() method for clearing back/forward browsing history (issue #352).
- Move RegisterDevToolsSchemeHandler() call to CefContext::Initialize() to fix assertion when using multi-threaded message loop on Windows.
- Add new NavigationTest.History test.
- Remove unused RequestTest.HistoryNav test.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@301 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-10-04 11:49:36 +00:00
Marshall Greenblatt fb67a371fe Increase the kDataSize value to the maximum allowed to improve resource loading speed (issue #301).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@300 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-10-03 16:00:51 +00:00
Marshall Greenblatt 9fa941f1d7 - Improve redraw and scrolling performance (issue #360).
- Don't show magenta background when redrawing in release build (issue #300).


git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@299 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-10-03 15:48:32 +00:00
Marshall Greenblatt 9842abc0ab - Add support for loading localized strings from locale .pak files (issue #357).
- Add support for loading DevTools resources from chrome.pak via the chrome-devtools scheme (issue #358).
- Add tools_gyp.patch to fix a bug in GYP.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@295 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-09-30 09:22:54 +00:00
Marshall Greenblatt 42556715b0 Mac: Fix GetLocalizedString() implementation.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@293 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-09-23 00:30:54 +00:00
Marshall Greenblatt 0fc3af0dbb Update to Chromium revision 102269.
- Disable use of clang on Mac for the time being.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@292 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-09-23 00:16:03 +00:00
Marshall Greenblatt 32402b2287 - Fix memory leaks in V8 usage (issue #323).
- Improve performance of V8 string conversions (issue #323).
- Add V8 performance test to cefclient (issue #323).
- Add the ability to return exceptions from V8 accessors (issue #327).
- Return undefined instead of null from a V8 handler if no return value is specified (issue #329).


git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@291 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-09-20 20:41:54 +00:00
Marshall Greenblatt d27343bac5 Rename char16_t to char16 to fix VS2010 compiler errors due to char16_t becoming a built-in type (issue #243).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@289 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-09-18 01:07:28 +00:00
Marshall Greenblatt a412f079d7 Mac: Fix 10.6 SDK compile errors due to delegate protocol requirement.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@287 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-09-16 16:17:19 +00:00
Marshall Greenblatt 44946a7752 Mac: Add context menu support (issue #293).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@286 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-09-12 19:49:38 +00:00
Marshall Greenblatt 588a69ed9b Mac: Fix compile errors due to revision 284 Chromium update.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@285 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-09-10 22:05:55 +00:00
Marshall Greenblatt d260f78cb2 Update to Chromium revision 100584.
- Add a new CefSettings.graphics_implementation option for using different GL implementations.
- Disable accelerated compositing by default due to multiple issues (issue #334, issue #335, issue #337).
- Eliminate the "patcher" project and perform all patching during GYP project generation.
- Fix references to non-existent files in cef.gyp.
- Move BrowserWebKitInit method implementations to a separate .cc file.
- Add support for Flash on Mac (issue #305).

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@284 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-09-10 19:40:03 +00:00
Marshall Greenblatt f636510101 Issue #307:
- Add a CefBrowser::HasDocument() method that tests if a document has been loaded in the browser window.
- Modify ClientHandler::GetDownloadHandler() to demonstrate how to close a download popup window.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@282 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-08-30 16:20:27 +00:00
Marshall Greenblatt 16e468bb8c - [mac] Add selector implementations for edit commands (issue #276).
- [mac] Don't generate character events for arrow key presses (issue #294).
- Call OnSetFocus when the browser view receives focus/becomes first responder (issue #314).

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@281 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-08-27 18:41:21 +00:00
Marshall Greenblatt 723e5877e9 Mac: Add missing canceled_ variable to WebDropTarget.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@280 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-08-23 16:04:40 +00:00
Marshall Greenblatt 1b1255c92d - Add CefDragHandler to support examination of drag data and cancellation of drag requests (issue #297).
- Mac: Fix dragging of URLs by providing a default image if no drag image is supplied.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@279 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-08-22 01:31:55 +00:00
Marshall Greenblatt 88a46e0b44 Support asynchronous continuation of custom scheme handler responses (issue #269).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@278 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-08-17 01:55:07 +00:00
Marshall Greenblatt ad66d3774c Mac: Fix compile error.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@277 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-08-17 01:28:45 +00:00
Marshall Greenblatt 6880d990a8 Mac:
- Don't show the "drop" icon outside of valid drop regions.
- Fix a crash if the WebViewHost is destroyed before the BrowserWebView.
- Remove unused/unnecessary code.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@276 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-08-14 21:54:18 +00:00
Marshall Greenblatt f0d1898928 Check the return value of UIT_CreatePopupWindow() in UIT_ShowDevTools() to avoid a crash when canceling the popup window (issue #285).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@274 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-08-03 16:59:21 +00:00
Marshall Greenblatt dadd852cd3 In CefContext::RemoveBrowser() allow the call to webkit_glue::ClearCache() to be executed immediately if we're already on the UI thread (which is the case when called "from" CefShutdown()), instead of being posted as a delayed task to avoid a thread death race condition (issue #277).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@273 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-08-03 16:24:38 +00:00
Marshall Greenblatt 3b34f0014d Windows: Add support for disabling HTML5 drag from browser by setting CefBrowserSettings.drag_drop_disabled to true (issue #284).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@272 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-08-03 16:16:29 +00:00
Marshall Greenblatt 512b864639 - Clean up implementation of modal window callbacks (issue #281).
- Fix CefBrowser::GoForward documentation typo (issue #291).

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@271 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-08-03 15:35:51 +00:00
Marshall Greenblatt 0f414c8ac8 Mac: Add support for disabling HTML5 drag&drop by setting CefBrowserSettings.drag_drop_disabled to true (issue #140).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@270 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-08-02 17:30:11 +00:00
Marshall Greenblatt 7d006a8dd6 Mac:
- Add HTML5 drag&drop support (issue #140).
- Client application must now provide NSApplication implementing CefAppProtocol and call CefRunMessageLoop() (issue #248).

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@269 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-08-02 16:50:06 +00:00
Marshall Greenblatt b2100d27bd Set the net::LOAD_IGNORE_LIMITS flag when executing synchronous load requests to avoid a deadlock in SyncRequestProxy (issue #192).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@268 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-07-15 20:31:21 +00:00
Marshall Greenblatt c509581239 Disable speech input because it is not currently implemented (issue #282).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@267 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-07-13 13:45:13 +00:00
Marshall Greenblatt f8cc8c6350 Set WebRuntimeFeatures::enableTouch(false) to allow Google Maps API to function correctly (issue #134).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@265 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-07-07 13:51:26 +00:00
Marshall Greenblatt 1542dbe053 Mac:
- Restore missing call to OnBeforeClose().
- Fix assertion when closing popup windows.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@264 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-07-03 02:00:01 +00:00
Marshall Greenblatt da210afca7 Update to Chromium revision 91424.
- Add tools/gyp_cef to satisfy grit_info.py module load requirement.
- Add skia_gpu.patch to work around skia/Angle/WebGL bug.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@263 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-07-03 00:03:30 +00:00
Marshall Greenblatt 64d64738b9 Add support for WebPreferences accelerated_video_enabled, accelerated_drawing_enabled and accelerated_plugins_enabled (entry #278).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@261 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-07-02 18:21:13 +00:00
Marshall Greenblatt 572f9f13d6 Fix OnResourceResponse spelling error (issue #270).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@260 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-07-02 17:57:00 +00:00
Marshall Greenblatt 92cec88ffd Use a file URL for the DevTools path to fix a DevTools load problem on Mac (issue #265).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@259 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-06-14 17:44:19 +00:00
Marshall Greenblatt 0d893166d3 - When running in multi-threaded message loop mode wait for the UI thread to exit before returning from CefContext::Shutdown() (issue #263).
- Fix crash in IME handling when closing the application while content is still loading.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@258 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-06-14 17:10:15 +00:00
Marshall Greenblatt 5c2824a422 Add support for IME-aware applications (issue #254).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@257 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-06-14 16:18:43 +00:00
Marshall Greenblatt 2a0299fc29 Fix bug when dragging to a window before mouse events have been detected (issue #262).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@256 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-06-14 15:45:00 +00:00
Marshall Greenblatt 02d6f3e384 Add support for modal dialogs (issue #250).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@255 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-06-14 15:09:55 +00:00
Marshall Greenblatt d757adb020 Don't call SetFocus(NULL) from WM_KILLFOCUS in CefBrowserImpl (issue #256).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@254 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-06-07 13:33:03 +00:00
Marshall Greenblatt c3fd7e5aed Fix focus on navigation when no CefFocusHandler is provided.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@253 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-06-06 15:38:19 +00:00
Marshall Greenblatt ffec7e754a Restore keyboard focus on window activation (issue #256).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@252 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-06-06 15:14:35 +00:00
Marshall Greenblatt 63aa102a6a Improvements to scheme handling (issue #246).
- Break CefRegisterScheme into separate CefRegisterCustomScheme and CefRegisterSchemeHandlerFactory functions.
- Allow registration of handlers for built-in schemes.
- Supply scheme and request information to CefSchemeHandlerFactory::Create.
- Add CrossOriginWhitelist functions for bypassing the same-origin policy with both built-in and custom standard schemes.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@247 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-05-27 16:20:32 +00:00
Marshall Greenblatt 42b5597214 Add support for setting response header values (issue #246).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@246 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-05-26 18:11:56 +00:00
Marshall Greenblatt 73f4d5a5e6 Add OnResourceReponse and CefContentFilter for viewing and filtering response content (issue #241).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@243 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-05-23 23:39:07 +00:00
Marshall Greenblatt 338b9c0cc9 Add Date type support to CefV8Value (issue #190).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@242 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-05-23 17:43:53 +00:00
Marshall Greenblatt 1b76719711 Fix compile errors.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@240 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-05-21 01:54:51 +00:00
Marshall Greenblatt 2c5534d308 Fix compile errors.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@239 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-05-21 01:49:16 +00:00
Marshall Greenblatt 61be982d09 - Fix Mac compile errors.
- Fix GYP configuration errors.
- Only use angle GL implementation on Windows (not supported on other platforms).

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@238 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-05-20 23:39:33 +00:00
Marshall Greenblatt f5f2189c63 Move cef_* header files that should not be directly included by the client to the "include/internal" folder.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@237 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-05-20 20:52:47 +00:00
Marshall Greenblatt dbe8de277f Significant API changes for issue #218:
- Replace CefHandler with a new CefClient interface and separate handler interfaces.
- Add support for virtual inheritance to allow multiple CefBase parented interfaces to be implemented in the same class.
- Replace CefThreadSafeBase with IMPLEMENT_* macros to support virtual inheritance and to only provide locking implementations when needed.
- Move the CefBrowserSettings parameter from CefInitialize to CreateBrowser.
- Add a new cef_build.h header that provides platform-specific and OS_* defines.
- Introduce the use of OVERRIDE to generate compiler errors on Windows if a child virtual method declaration doesn't match the parent declaration.
- Use NDEBUG instead of _DEBUG because _DEBUG is not defined on Mac. (issue #240).

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@235 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-05-20 14:42:25 +00:00
Marshall Greenblatt 9a69e96950 Add support for navigator.onLine and online/offline window events (issue #234).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@234 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-05-18 15:49:52 +00:00
Marshall Greenblatt abfc77abd1 - Update to Chromium revision 85305.
- Use the angle library for GL support (issue #136).
- Add a workaround for the SyncRequestProxy deadlock problem (issue #192).

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@233 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-05-16 16:56:12 +00:00
Marshall Greenblatt 2c0f941830 - Explicitly load the URL after calling UIT_CreatePopupWindow (issue #215).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@231 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-05-10 16:41:41 +00:00
Marshall Greenblatt 092c4e4a9f Force Flash and Silverlight plugins to use opaque (windowless) mode when rendering off-screen (issue #214).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@230 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-05-10 15:55:18 +00:00
Marshall Greenblatt 82a5bb1259 Force Flash and Silverlight plugins to use opaque (windowless) mode when rendering off-screen (issue #214).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@229 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-05-10 15:47:46 +00:00
Marshall Greenblatt 4bc8e47fad Add CefDOMNode::IsSame() method.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@228 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-05-10 14:17:32 +00:00
Marshall Greenblatt 2669a3b6c3 - Don't load URLs twice for popup windows (issue #215).
- Make the |url| parameter to HandleBeforeCreated constant (issue #215).

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@227 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-05-10 13:55:06 +00:00
Marshall Greenblatt 5923d34661 Handle the WM_GETDLGCODE message on Windows so that the browser receives all keyboard input when used as a dialog window (issue # 223).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@226 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-05-09 15:21:12 +00:00
Marshall Greenblatt bc438a5022 Fix plugin enabled check in ShouldDownload (issue #227).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@225 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-05-09 15:12:13 +00:00
Marshall Greenblatt 06718b4049 Allow custom schemes to cause redirects (issue #98).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@223 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-04-21 18:17:46 +00:00
Marshall Greenblatt f18083e5df - Add support for returning an HTTP status code from HandleBeforeResourceLoad and custom scheme handlers via the CefResponse class (issue #202).
- Add unit tests for custom scheme handlers (issue #221).
- Fix reversed enable/disable of stop and reload buttons in cefclient.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@222 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-04-21 16:46:16 +00:00
Marshall Greenblatt 1f7a4b4566 Mac:
- Implement the WebExternalPopupMenu interface to fix select popup menu display.
- Remove the kCFRunLoopBeforeTimers option from CFRunLoopObserverCreate to reduce CPU usage (issue #211).

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@218 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-04-09 16:54:59 +00:00
Marshall Greenblatt a66c733ab6 - Add cookie get/set support (issue #88).
- Move classes that extend structures to cef_types_wrappers.h and implement using the new CefStructBase template class.
- Change the HandleProtocolExecution |allow_os_execution| argument to pass by reference to maintain consistency with other API functions.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@217 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-04-09 01:05:30 +00:00
Marshall Greenblatt 0419b51036 Make modal popup windows behave the same as non-modal popup windows (issue #216).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@216 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-04-07 18:51:22 +00:00
Marshall Greenblatt 7ec29b5d87 - Add support for entering a V8 context asynchronously (issue #203).
- Add support for V8 accessors (issue #203).

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@215 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-04-07 01:58:49 +00:00
Marshall Greenblatt 71a6f6548b Update to Chromium revision 80310.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@213 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-04-05 16:17:33 +00:00
Marshall Greenblatt 029fbc8865 Fix incorrect screen size information (issue #189).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@212 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-03-25 19:53:01 +00:00
Marshall Greenblatt b8c655fe10 Fix bug in WebWidgetHost::DidInvalidateRect().
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@211 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-03-25 18:24:36 +00:00
Marshall Greenblatt ff983a6e72 - Add off-screen rendering support on Windows. This involves a number of new CefBrowser and CefHandler methods. See the "Off-Screen Rendering Example" in cefclient for example usage.
- Add CefRunMessageLoop() for efficient message loop usage and modify cefclient to use it.
- Add CefHandler::HandleNavStateChange() for back/forward state notifications and modify cefclient to use it.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@208 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-03-24 20:36:47 +00:00
Marshall Greenblatt 658c53e87c Add support for retrieving values from DOM form elements.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@207 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-03-24 15:49:41 +00:00
Marshall Greenblatt 9bd6ea0c0a Add a history entry when navigating to anchors within the same page (issue #207).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@206 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-03-22 23:53:10 +00:00