Commit Graph

246 Commits

Author SHA1 Message Date
Marshall Greenblatt 9a5d1c2d35 Set eol-style property on all files. Future commits will use the subversion auto-props configuration at http://code.google.com/p/chromiumembedded/wiki/SubversionProperties
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@111 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2010-10-03 21:24:14 +00:00
Marshall Greenblatt 46b831304c Set eol-style property on all files. Future commits will use the subversion auto-props configuration at http://src.chromium.org/viewvc/chrome/trunk/tools/buildbot/slave/config
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@109 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2010-10-03 21:04:50 +00:00
Marshall Greenblatt 5fc6307a6f Update to Chromium revision 61327.
- Enable accelerated 2D canvas and compositing.
- Add support for request.download_to_file behavior.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@108 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2010-10-03 20:35:06 +00:00
Marshall Greenblatt 4fd793f802 Add CefBrowser::ReloadIgnoreCache() method and MENU_ID_NAV_RELOAD_NOCACHE menu support. (issue #118).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@107 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2010-09-23 16:05:10 +00:00
Marshall Greenblatt de51597b22 Fix back/forward navigation when the history contains pages that failed to load (issue #125).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@106 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2010-09-23 15:11:25 +00:00
Marshall Greenblatt 39553a1947 Add missing dependency for cef_unittests target (issue #128).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@105 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2010-09-23 14:33:31 +00:00
Marshall Greenblatt fb50d145b4 Add support for audio playback with HTML5 video (issue #121).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@104 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2010-09-22 13:42:01 +00:00
Marshall Greenblatt f542076162 Create the FILE thread with IO message loop type because otherwise it will assert during cache access (issue #122).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@103 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2010-09-14 14:07:30 +00:00
Marshall Greenblatt 92197f8046 - Update to Chromium revision 59193.
- Use Mesa for off-screen rendering.
- Add support for the FileSystem API and "blob" schema.
- Set User-Agent product version to "Chrome/7.0.517.0"

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@102 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2010-09-13 01:59:43 +00:00
Marshall Greenblatt e8cc5669f0 - Fix bug in CefV8Value handling of weak references. (issue #72)
- Reintroduce support for CefHandler::HandleJSBinding(). (issue #72)

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@100 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2010-08-31 17:52:34 +00:00
Marshall Greenblatt e70fd64a52 Update cef_handler_menucapabilitybits_t arguments from WebContextMenuData::EditFlags (issue #114).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@99 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2010-08-31 15:33:48 +00:00
Marshall Greenblatt d51d871a52 Allow customization of print options via CefHandler::HandlePrintOptions() (issue #112).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@98 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2010-08-31 15:19:33 +00:00
Marshall Greenblatt 79134a77f2 Check for a valid pointer in all places where GetWebView() and GetWebViewHost() are directly used in order to prevent potential crashes after WM_DESTROY is processed (issue #84).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@97 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2010-08-31 14:10:31 +00:00
Marshall Greenblatt c439ed160f - Add CefHandler::HandleTooltip and default tooltip implementation (issue #61).
- Add Common Controls to cefclient manifest because it's required for the default tooltip implementation.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@96 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2010-08-30 20:54:13 +00:00
Marshall Greenblatt a4776a9dda Carry over modifications to request object in CefHandler::HandleBeforeResourceLoad() (issue #41).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@95 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2010-08-30 20:26:13 +00:00
Marshall Greenblatt af70b21705 Ignore navigation to invalid URLs (issue #104).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@94 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2010-08-09 20:04:13 +00:00
Marshall Greenblatt e5e560c64a Update to Chromium rev 55388. Note that the Windows 7 SDK is now required to build Chromium.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@93 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2010-08-09 19:13:43 +00:00
Marshall Greenblatt 9ab2eca392 Minor improvements to unit test framework.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@92 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2010-07-24 17:28:00 +00:00
Marshall Greenblatt 06ceab7447 - Use base::WaitableEvent for thread synchronization to eliminate Windows dependency.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@91 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2010-07-24 16:49:42 +00:00
Marshall Greenblatt 7ffa037988 - Move to a unified thread model for CEF based on the CEF2 implementation.
- Add the ability to post user-defined tasks for execution on CEF threads (issue #25).
- Update the CEF swap image.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@90 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2010-07-24 01:13:55 +00:00
Marshall Greenblatt 38ded6eec6 - Add window.print() JavaScript support.
- Add File -> Print option to cefclient.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@89 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2010-07-20 13:28:44 +00:00
Marshall Greenblatt 0e29c2e840 - Add find in page support.
- Fix loading of resources from libcef.dll (Issue 76).
- Fix leak of CefMessageLoopForUI object when not in multi threaded message loop mode.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@88 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2010-07-19 22:19:30 +00:00
Marshall Greenblatt ba08f77938 Create and destroy the base::AtExitManager on the UI thread.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@85 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2010-06-22 15:20:38 +00:00
Marshall Greenblatt de4cee4415 - Add CefHandler::HandleConsoleMessage callback for handling console messages (issue #90).
- Normalize newlines in browser_webkit_init.h.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@84 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2010-06-22 14:49:03 +00:00
Marshall Greenblatt 2799fccb7d Fix incorrect content length when loading resource (issue #83).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@83 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2010-06-21 18:09:23 +00:00
Marshall Greenblatt a113522344 libcef: Update due to underlying chromium changes.
- webkit/webkit.gyp moved to webkit/support/webkit_support.gyp.
- Classes moved from base/gfx moved to gfx.
- Changes to plugin creation code path.
- Changes to BrowserResourceLoaderBridge, BrowserAppCacheSystem and BrowserDatabaseSystem.
- Enable push state, notifications, touch and indexed database.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@82 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2010-06-21 18:02:39 +00:00
Marshall Greenblatt 9f779533d1 Fix display of file chooser dialog. Signature of WebViewClient::runFileChooser has changed.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@78 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2010-04-12 13:47:30 +00:00
Marshall Greenblatt 069e877307 Disable Geolocation service to avoid crash (issue #80).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@77 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2010-04-08 15:26:54 +00:00
Marshall Greenblatt 02fa65cefe cefclient:
- Add tests for CefBrowser::GetText() and CefBrowser::GetSource().
- Do not execute calls to CefBrowser::GetText() and CefBrowser::GetSource() on the main application UI thread when running in multi-threaded message loop mode because those calls will block resulting in potential deadlock (issue #79).

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@76 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2010-04-07 20:48:05 +00:00
Marshall Greenblatt 698f146e4c Remove binding_test.cpp/.h from cef.gyp.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@75 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2010-04-07 16:00:34 +00:00
Marshall Greenblatt 6a0f9a6d40 Eliminate the CefBrowser::HandleJSBinding() method to avoid memory leaks (issue #72).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@73 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2010-04-07 14:45:40 +00:00
Marshall Greenblatt 669244ca18 libcef: Update due to underlying chromium changes.
- Calling AddStandardScheme() is now required for custom scheme handlers due to GURL changes.
- Add '--no-circular-check' flag in cef_create_projects.bat to avoid unnecessary GYP failures.
- nphostapi.h moved to third_party/npapi/bindings directory.
- UTF functions moved to base/utf_string_conversions.h
- app/gfx directory moved to gfx
- Add simple cookie jar implementation.
- Enable WebGL support.


git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@72 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2010-03-29 17:53:26 +00:00
Marshall Greenblatt a46069c097 libcef: Update due to underlying chromium changes.
- Database and AppCache changes.
- New cookie policy class.
- Add StdStringToWebString and WebStringToStdString to browser_webkit_glue.{h,cc} because webkit/glue/glue_util.{h,cc} have been deleted.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@71 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2010-02-11 18:33:33 +00:00
Marshall Greenblatt 606b342147 Add support for intercepting key events (Issue #63, patch by cpinfold.joinerysoft)
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@70 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2010-02-03 19:25:11 +00:00
Marshall Greenblatt bd0c16ae31 libcef:
- Fix race condition in CefUrlRequestJob::AsyncResolver. (Issue #65, fix by heshiming)

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@69 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2010-02-03 18:56:17 +00:00
Marshall Greenblatt 431fc0ac73 libcef:
- Fix possible dereference of empty request_ value in RequestProxy. (Issue #70)

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@68 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2010-02-03 18:21:58 +00:00
Marshall Greenblatt 0540f32f24 Add support for file input type (Issue #69, initial patch by tturner)
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@67 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2010-01-20 16:43:47 +00:00
Marshall Greenblatt efd0c6b5fb - Remove non-existing dependency from cef.gyp.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@66 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2010-01-12 15:06:57 +00:00
Marshall Greenblatt 23e155dca1 libcef: Update due to underlying chromium changes.
- WebKit API upstreamed requiring header include path changes.
- AppCache, Database and ResourceLoader updates.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@65 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2010-01-12 01:37:00 +00:00
Marshall Greenblatt 0b9e189154 libcef: Update due to underlying chromium changes.
- Remove unnecessary resource-related glue.
- Remove methods from BrowserWebViewDelegate with default implementations in WebViewClient and WebFrameClient.


git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@64 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2009-11-05 03:48:34 +00:00
Marshall Greenblatt 7e7592b298 libcef: Update due to underlying chromium changes.
- WebKit API changes.
- Delay OnClose actions in WebSocketStreamHandleBridgeImpl.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@63 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2009-11-03 01:39:16 +00:00
Marshall Greenblatt cd500a98a9 libcef:
- Fix 'LOG' macro redefinition warning in browser_webkit_glue.cc.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@62 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2009-10-26 16:53:35 +00:00
Marshall Greenblatt dc602cd0a4 libcef: Update due to underlying chromium changes.
- WebKit API changes.
- Use net::ProxyConfigService in BrowserRequestContext.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@61 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2009-10-25 19:29:12 +00:00
Marshall Greenblatt 5186e4a223 libcef: Update due to underlying chromium changes.
- WebKit API changes.
- Add WebSocketStreamHandleBridge implementation.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@60 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2009-10-21 23:27:29 +00:00
Marshall Greenblatt faabcb28c5 - Remove the generated CEF project files from source control. Run cef_create_projects.bat in your working copy to generate them locally.
libcef:
- Use LPCWSTR instead of LPCTSTR in cef_win.h (issue #58).
- Fix return of document text in CefBrowserImpl::GetText() (issue #59).


git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@59 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2009-10-19 14:03:23 +00:00
Marshall Greenblatt 1bb179d101 libcef: Update due to underlying chromium changes.
- WebKit API changes.
- Use full path for the config.h include to ensure that the correct file is loaded.
- Include features_override.gypi as part of the GYP build command.
- Set the 'resource_include_dirs' value in the 'libcef' GYP target in an attempt to avoid RC1102 internal errors when compiling resources on the build bot.
- Change type of BrowserRequestContext 'cache_path' parameter to FilePath.
- Change in base.gyp project targets.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@58 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2009-10-18 20:39:22 +00:00
Marshall Greenblatt 2148ca4e88 - Add deps file for gclient integration. (try #4)
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@57 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2009-10-13 20:33:56 +00:00
Marshall Greenblatt 2fb9e93e7d - Add deps file for gclient integration. (try #3)
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@56 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2009-10-13 20:18:06 +00:00
Marshall Greenblatt 09a8c28773 libcef: Update due to underlying chromium changes.
- Files moved out of base.
- WebKit API changes.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@53 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2009-10-13 01:39:30 +00:00
Marshall Greenblatt 144e15c966 libcef:
- Fix incorrect result in CefBytesReader::Seek() when SEEK_END argument is specified.
- Return 0 from CefBytesReader::Seek() on success to be consistent with fseek().
- Set URLRequestStatus error code to net::ERR_ABORTED in browser_resource_loader_bridge.cc when HandleBeforeResourceLoad returns RV_HANDLED to avoid a WebKit assert.

unittests:
- Add unit testing framework.
- Add initial unit tests for request, stream and V8.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@52 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2009-10-08 01:26:56 +00:00