Commit Graph

433 Commits

Author SHA1 Message Date
Marshall Greenblatt 2779179489 Change comment format to support automatic document generation using the CppDoc application.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@249 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-05-31 17:12:37 +00:00
Marshall Greenblatt 3a6ddf782a Fix documentation on CefSettings.extra_plugin_paths.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@248 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-05-31 13:32:21 +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 81b0a9a362 Add current thread expectations to content_filter_unittest.cc
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@245 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-05-25 16:57:28 +00:00
Marshall Greenblatt 387b24e382 Remove the url check from life_span_handler_on_before_popup because the URL will be NULL when clicking a link with target="_blank" (issue #247).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@244 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-05-25 13:20:20 +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 26d7f043e2 Fix compile error.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@241 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-05-23 13:57:32 +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 a42e73848d Change to using OS_* defines in cef_*.h platform files.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@236 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-05-20 20:15:57 +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 e0210a78b4 Add make_version_header tool for populating libcef.dll version number and copyright year via version.h header file (issue #108).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@224 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-05-09 15:01:41 +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 f9c9c9318c Give cookie unit tests a far future test date.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@221 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-04-21 15:25:58 +00:00
Marshall Greenblatt 10d3df1efd Support parsing of virtual methods with default implementations.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@220 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-04-20 15:20:31 +00:00
Marshall Greenblatt 026193a513 Add standard argument checks as part of translator code generation.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@219 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-04-18 23:25:17 +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 36f3f3d021 - Use libjpeg_turbo instead of libjpeg (fixes Mac GYP error).
- Fix incorrect assertion in cefclient_mac.mm.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@214 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-04-06 01:45:02 +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 122366e89e Slow down the off-screen rendering timer to avoid excessive CPU usage.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@210 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-03-25 15:26:50 +00:00
Marshall Greenblatt b90978f659 Fix GYP file typo.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@209 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-03-24 22:32:17 +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
Marshall Greenblatt c480b409cd Fix next browser ID value reset (issue #204).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@205 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-03-22 23:11:26 +00:00
Marshall Greenblatt 27496a992a Fix Mac settings to allow both Xcode debugging and app execution (issue #199).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@204 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-03-22 22:59:02 +00:00
Marshall Greenblatt 0e3f74b199 Fix CHROMIUM_BUILD_COMPATIBILITY.txt dates (issue #206).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@203 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-03-15 13:47:20 +00:00
Marshall Greenblatt 327ad9d9de - HandleAddressChange and HandleTitleChange will always be called for the main frame and only the main frame (issue #200).
- The |frame| parameter to HandleLoadStart and HandleLoadEnd will always be non-empty. The CefFrame::IsMain() method can be used to check if the notification is for the main frame. The |isMainContent| parameter has been removed.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@202 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-03-08 19:33:18 +00:00
Marshall Greenblatt 11b831119a Mac:
- Fix compile errors.
- Add support for creating hidden windows and TEST_REDIRECT_POPUP_URLS.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@201 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-03-08 03:54:50 +00:00
Marshall Greenblatt 7b1166b18a - Respect the WS_VISIBLE flag when creating browser windows (issue #201).
- Add a CefBrowser::CloseBrowser() method.
- Add a TEST_REDIRECT_POPUP_URLS test to cefclient.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@200 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-03-08 01:07:47 +00:00
Marshall Greenblatt 1f01d6b2a8 Allow registration of non-standard schemes (issue #195).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@199 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-03-04 17:56:01 +00:00