Commit Graph

517 Commits

Author SHA1 Message Date
Marshall Greenblatt 62aedf6b30 Mac: Fix compile errors due to revision 442 changes.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@443 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-12-23 18:04:12 +00:00
Marshall Greenblatt ff976bc07f Break cef.h into multiple headers (issue #142).
- Move wrapper classes from cef_wrapper.h to wrapper/ directory.
- Move C API functions/classes from cef_capi.h to capi/ directory.
- Move global function implementations from cef_context.cc to *_impl.cc files.
- Output auto-generated file paths in cef_paths.gypi.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@442 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-12-23 17:36:30 +00:00
Marshall Greenblatt 97add0e3b7 Remove empty /mac/data directory (issue #460).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@441 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-12-22 17:11:01 +00:00
Marshall Greenblatt cc3a3a68d8 Remove CefV8Value::CreateObject variant that accepts only one argument (issue #449).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@440 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-12-22 17:08:35 +00:00
Marshall Greenblatt 7b24eeeeb0 Linux: Fix compile errors due to Chromium update.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@439 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-12-21 21:48:04 +00:00
Marshall Greenblatt ed9d640f12 Mac: Fix compile errors due to Chromium update.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@438 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-12-21 20:02:39 +00:00
Marshall Greenblatt feab13e9fb Include CEF and Chromium version information in binary distributions (issue #325).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@436 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-12-21 19:22:33 +00:00
Marshall Greenblatt bdb588b77a Update to Chromium revision 115322.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@435 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-12-21 18:35:55 +00:00
Marshall Greenblatt ec797bafe5 Make the |url| parameter to OnBeforePopup() optional.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@434 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-12-20 22:07:45 +00:00
Marshall Greenblatt 6b195a8739 Add support to check_revision.py for building release branches (issue #325).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@432 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-12-20 16:35:15 +00:00
Marshall Greenblatt 59d7310ac7 Windows: Update the libcef.dll version number to include the Chrome branch version (issue #325).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@429 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-12-19 23:21:42 +00:00
Marshall Greenblatt 9cc8ea09dc Add support to automate.py for building release branches (issue #325).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@428 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-12-19 23:11:56 +00:00
Marshall Greenblatt eff39b0f11 Update to Chromium revision 113143.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@426 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-12-16 14:51:10 +00:00
Marshall Greenblatt 9fadd1724f Make the realm parameter to GetAuthCredentials() optional (issue #355).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@425 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-12-16 13:50:15 +00:00
Marshall Greenblatt ef19285349 Add CefBrowserSettings.fullscreen_enabled flag for enabling fullscreen mode. (issue #457).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@424 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-12-16 12:33:16 +00:00
Marshall Greenblatt 87507e875c - Reduce CPU usage with requestAnimationFrame by maintaining a consistent 60fps frame rate (issue #456).
- (Win) Reduce memory/CPU usage with UpdateInputMethod by restricting tasks to every 100ms (issue #454).

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@423 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-12-16 12:24:09 +00:00
Marshall Greenblatt 10b3b3cc41 Revert: Improve CPU usage by ignoring ScheduleAnimation() and ScheduleComposite() calls when not using accelerated compositing (issue #456).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@422 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-12-15 16:47:38 +00:00
Marshall Greenblatt 198d63cd2a Fix crash introduced by revision 419 changes.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@421 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-12-15 16:42:28 +00:00
Marshall Greenblatt bbe2a2f2d3 Improve CPU usage by ignoring ScheduleAnimation() and ScheduleComposite() calls when not using accelerated compositing (issue #456).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@420 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-12-15 16:06:02 +00:00
Marshall Greenblatt 2bbd89f97d Correct implementation of the ability to observe and modify resource redirects (issue #346).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@419 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-12-15 14:47:23 +00:00
Marshall Greenblatt bd84c988cf Check that DOMStorageContext is non-NULL in UIT_SetStoragePath before dereferencing.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@418 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-12-15 12:59:44 +00:00
Marshall Greenblatt 84a40f0820 Add the ability to observe and modify resource redirects (issue #346).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@417 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-12-12 18:01:13 +00:00
Marshall Greenblatt bfcc2dbb8c Add the ability to observe and modify resource redirects (issue #346).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@416 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-12-12 17:34:24 +00:00
Marshall Greenblatt 956073100e Mac: Create a real dSYM that includes file/line info in make_distrib.py.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@415 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-12-09 14:02:32 +00:00
Marshall Greenblatt 8a1b694797 Mac: The MessageLoop::AutoRunState scope in Run() never exits so clear the state_ variable in the CefMessageLoopForUI destructor to avoid an assertion in the MessageLoop destructor (issue #443).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@413 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-12-08 15:18:19 +00:00
Marshall Greenblatt fe80635c69 Add CefQuitMessageLoop function (issue #443).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@412 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-12-08 13:25:26 +00:00
Marshall Greenblatt 08fcdfc9d1 Mac: Fix compile error due to revision 409 changes.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@411 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-12-08 13:15:55 +00:00
Marshall Greenblatt 64f91d5d9b Expose unique identifiers for frames and the ability to retrieve a frame's parent frame (issue #450).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@410 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-12-08 11:44:30 +00:00
Marshall Greenblatt ef64033467 - Revert: Change index parameter types from int to size_t to make 0-based range implicit.
- Add checks that index values are >= 0.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@409 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-12-08 10:22:15 +00:00
Marshall Greenblatt 64e08c2918 - Auto-generate all C/C++ translation code (issue #33).
- Change index parameter types from int to size_t to make 0-based range implicit.
- Make CefPrintOptions and CefMenuInfo proper wrapper classes.
- Normalize the naming of menu-related types.
- Remove unused command_line variable from test_suite.cc.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@408 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-12-08 01:38:30 +00:00
Marshall Greenblatt b4653ce1da Win: Fix drag&drop breakage caused by revision 401 changes.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@407 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-12-08 01:11:08 +00:00
Marshall Greenblatt 83e6bfbaa1 Allow media hosting from all schemes (issue #446).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@406 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-12-06 10:43:19 +00:00
Marshall Greenblatt 8433529a00 Implement ResourceLoaderBridge::SetDefersLoading (issue #448).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@405 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-12-06 10:37:43 +00:00
Marshall Greenblatt a254639d2b Fix BrowserFileSystem context creation race condition between UI and IO threads (issue #442).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@404 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-12-06 10:16:51 +00:00
Marshall Greenblatt 1d6de4e8b9 Fix problem where images loaded using the background-image CSS attribute sometimes do not display on Mac after browsing back to the page (issue #447).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@403 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-12-06 08:49:22 +00:00
Marshall Greenblatt de192555cc Disable stats, histogram and event tracing to avoid memory leaks (issue #328).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@402 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-12-02 18:06:28 +00:00
Marshall Greenblatt 47217b00d4 Check that UIT_GetWebView() is non-NULL before dereferencing (issue #441).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@401 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-12-01 17:11:45 +00:00
Marshall Greenblatt 9fd169d16c Fix crash on shutdown due to CefProcess not being destroyed immediately (issue #277).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@400 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-11-30 17:00:24 +00:00
Marshall Greenblatt 8bf0248429 Generate release build debug symbols and package them with the make_distrib.py script.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@399 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-11-29 18:37:57 +00:00
Marshall Greenblatt dd144bf903 Fix a crash due to m_resource being released while SubresourceLoader::didFinishLoading is executing (issue #439).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@398 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-11-29 16:38:31 +00:00
Marshall Greenblatt d351bc538c Fix crash caused by V8Proxy::retrieveFrameForCallingContext() returning 0 in V8DOMWindowCustom::handlePostMessageCallback (issue #436).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@397 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-11-29 01:48:03 +00:00
Marshall Greenblatt 559caafd1d Revert revision 395 changes to print_settings.cc.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@396 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-11-23 23:24:01 +00:00
Marshall Greenblatt f53b15ca11 Mac: Fix compile errors due to revision 394 changes.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@395 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-11-23 23:22:01 +00:00
Marshall Greenblatt 7361732f92 - Add a new CefApp interface that provides global handlers and gets passed to CefInitialize() (issue #399).
- Add a new CefProxyHandler interface to allow applications to resolve proxy information (issue #389).

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@394 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-11-23 22:47:09 +00:00
Marshall Greenblatt 8c5b56cbf5 Add CefBrowserSettings.history_disabled option to disable history back/forward navigation (issue #419).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@393 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-11-23 17:55:33 +00:00
Marshall Greenblatt 605753c3b8 Replace JSBindingHandler with a new V8ContextHandler interface that contains callbacks for V8 context creation and release (issue #359).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@392 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-11-21 21:21:55 +00:00
Marshall Greenblatt ead9b4508c - Allow registration of V8 extensions with no native function handler (issue #433).
- Add a CefV8Context::InContext() method to test if V8 is currently in a context (issue #427).
- Verify that a current context exists when creating V8 arrays, functions and objects (issue #427).
- Add a v8::HandleScope in GetCurrentContext() and GetEnteredContext() to avoid "Cannot create a handle without a HandleScope" V8 errors (issue #427).

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@391 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-11-21 19:01:22 +00:00
Marshall Greenblatt 3279ee3adf Update to Chromium revision 110703.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@388 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-11-18 22:10:53 +00:00
Marshall Greenblatt 48d5da7827 Add check for failed V8 function creation in CefV8Value::CreateFunction().
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@387 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-11-18 17:43:12 +00:00
Marshall Greenblatt 3f2735909a Verify that libcef build revision and API/header revision match when initializing CEF (issue #431).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@386 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-11-18 17:30:55 +00:00