Commit Graph

266 Commits

Author SHA1 Message Date
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
Marshall Greenblatt 0800cba74d libcef: Update due to underlying chromium changes.
- More webkit API refactoring.
- Webkit GYP projects moved upstream.
- Add ImplementsThreadSafeReferenceCounting() for all classes that use runnable methods.
- Enable application cache and databases.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@51 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2009-10-03 01:36:52 +00:00
Marshall Greenblatt d7f7f45147 Move to GYP-based project file generation (issue #48).
- Add cef_create_projects.bat to generate the CEF project files.
- Change include paths to be relative to the root CEF directory.
- Add patch_build configuration and build.patch to modify the Chromium build system for required CEF dependencies.
- Remove old .vcproj and .vsprops files.
- Eliminate use of precompiled headers.
- Commit generated project files (these will go away in the near future).

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@50 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2009-10-02 17:59:38 +00:00
Marshall Greenblatt 8635aeb5cf libcef:
- Fix a leak of CachedResource objects due to the Cache never being cleared (issue #15).
- Fix a crash when the main application exits while popup windows exist due to a race condition when deleting CefBrowser objects.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@49 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2009-09-26 01:22:33 +00:00
Marshall Greenblatt 07e81ab0a0 libcef: Update due to underlying chromium changes.
- WebEditingClient merged into WebViewClient requiring changes to BrowserWebViewDelegate.
- Remove webkit_glue_plugins.patch for RegisterInternalPlugin() issue 173107 which has been committed as Chromium rev 26595.


git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@48 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2009-09-22 16:34:27 +00:00
Marshall Greenblatt 51181e1004 libcef: Update due to underlying chromium changes.
- Reorganization of BrowserWebViewDelegate due to WebViewDelegate being separated into different interfaces.
- icu38 renamed to icu with related project and namespace changes.
- New implementation of BrowserAppCacheSystem that integrates with BrowserResourceLoaderBridge.
- New webkit_glue_plugins.patch for RegisterInternalPlugin() issue 173107. Manually reverting the webkit/glue/plugins directory may be necessary before building.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@42 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2009-09-17 16:56:32 +00:00
Marshall Greenblatt d8b1d13a74 libcef: Update due to underlying chromium changes.
- Add the appcache project dependency and related changes.
- SSL code structure changes in browser_request_context.cc.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@41 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2009-08-25 16:35:18 +00:00
Marshall Greenblatt d7c54d6514 cefclient:
- Add the User Interface App Example that demonstrates two-way JavaScript communication between the page and an embedded plugin implemented using OpenGL.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@40 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2009-08-21 19:43:37 +00:00
Marshall Greenblatt 2b7e69d200 libcef:
- Add CefReadHandler and CefWriteHandler classes for creating streams handled by the client.

cefclient:
- Add a CefReadHandler test.
- Move tests out of cefclient.cpp and into separate implementation files.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@39 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2009-08-21 17:41:09 +00:00
Marshall Greenblatt b821811c08 libcef:
- Parse request headers and pass to the scheme handler.
- Fix memory leak in scheme handler implementation.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@38 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2009-08-21 14:21:15 +00:00
Marshall Greenblatt 087319efdb libcef:
- Add support for custom scheme handlers (entry #49, initial version by heshiming).

cefclient:
- Add custom scheme handler test.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@37 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2009-08-21 02:14:47 +00:00
Marshall Greenblatt f341b9f439 Revert the rev 34 change to webkit_glue::GetLocalizedString() which broke resource loading.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@36 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2009-08-21 02:01:13 +00:00
Marshall Greenblatt 65b06ebf66 libcef: Update due to underlying chromium changes.
- Printing fix was committed as Chromium rev 23338, so the patches are no longer required.
- Add a patch for plugin loading support that was broken in Chromium rev 23501.
- NPAPI::PluginList static methods are replaced with methods provided by the singleton instance.
- WebPreferences now has an Apply() method.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@35 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2009-08-20 17:53:30 +00:00
Marshall Greenblatt cbb3124475 libcef: Update due to underlying chromium changes.
- Modifications due to WebFrame moving from webkit/glue to webkit/api
- Remove the ATL dependency from browser_drag_delegate.cc
- Use scoped_refptr instead of scoped_ptr for BrowserWebViewDelegate pointers in CefBrowserImpl.
- Allow cancellation of redirects before they're sent in browser_resource_loader_bridge.cc
- Enable remote fonts, local storage and session storage in context.cc
- Add vsprops files to the libcef project that used to exist in the webkit/build directory

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@34 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2009-08-13 17:23:08 +00:00
Marshall Greenblatt ea3a49abe1 Update all files to use Windows CRLF (\r\n) line endings (issue #45).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@33 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2009-07-24 19:11:01 +00:00
Marshall Greenblatt 6a7b6d5038 libcef: Update due to underlying chromium changes.
- Add the printing project and delete duplicated files from the CEF printing directory.
- Add media-related projects and support for <video> and <image> tags.
- Use WebKit::WebHTTPBody instead of net::UploadData for web requests.
- Numerous changes due to continued cleanup of webkit/glue and webkit/api/public.
- Use a separate BrowserWebViewDelegate instance for popup windows.

libcef:
- Add support for printing to file.
- Use WebFrame::GetFullPageHtml() instead of webkit_glue::GetDocumentString().
- Parse extra header values in RequestProxy for passing to CefHandler::HandleBeforeResourceLoad().
- Add urlmon.lib dependency in libcef.vsprops.

tools:
- Add the patch application tool (patcher.py).

patch:
- New project for applying required patches to the Chromium source tree (issue #47).
- Add webkit_glue.patch for http://codereview.chromium.org/160004

cefclient:
- Add new test for submitting and handling requests.
- Don't change navigation button state for popup windows.
- Fix problem on Vista where the string returned by EM_GETLINE is not NULL-terminated.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@32 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2009-07-24 18:37:00 +00:00
Marshall Greenblatt 0a92d27cc1 libcef:
- change 'void *' arguments to 'void* ' to match style requirements.

translator:
- add support for const virtual methods. (Issue # 36)
- output const vector argument types as 'struct _class_t* const*' (cons array, non-const members) instead of 'const struct _class_t**' (non-const array, const members) (Issue # 36)
- always add the 'enum' qualifier when outputting C API enum attribute types. (Issue # 38)
- update translated files.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@31 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2009-06-25 15:59:48 +00:00
Marshall Greenblatt 8a04c0f0c1 - Add the CEF translator tool for generating the C API header and cpptoc/ctocpp wrapper files.
- Update to files generated by the CEF translator tool.  This introduces minor changes in cef.h and cef_capi.h for naming and translation consistency.
- C API global function names that were previously in the cef_create_classname*() format are now in the cef_classname_create*() format.
- cef_frame_t::get_frame_names() now returns void instead of size_t.
- cef_frame_t::execute_javascript() has been renamed to cef_frame_t::execute_java_script().
- The 'arguments' attribute of CefV8Handler::Execute() and CefV8Value::ExecuteFunction() is now const.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@30 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2009-06-20 22:09:28 +00:00
Marshall Greenblatt d953faf7f8 Add a CefHandler::HandleSetFocus() callback that gets called when the browser control or a child widget requests focus. This callback gives the client an opportunity to cancel the focus change. (Issue #34, initial patch by tux316).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@29 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2009-06-16 13:52:35 +00:00
Marshall Greenblatt ff7e8379fb libcef: Update due to underlying chromium changes.
- Underlying chromium changes fix Issue #27.
- Navigation-related changes to work with WebDataSource.
- Cookie-related changes for ResourceLoaderBridge.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@28 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2009-06-02 23:27:47 +00:00
Marshall Greenblatt a0a0ae326c libcef:
- Initialize WebKit in the UI thread to avoid asserts due to WTF::isMainThread() returning false. (Issue #21, Issue #24).

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@27 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2009-06-01 14:12:34 +00:00
Marshall Greenblatt c295931b1e - Move frame-related methods from CefBrowser into a new CefFrame class.
- Add CefBrowser::Get*Frame() methods for retrieving the appropriate CefFrame instance.
- Add a CefFrame attribute to CefHandler callback methods where appropriate.
- Add support for V8 JavaScript extensions and values via CefV8Value and CefV8Handler.  Native C++ and user-defined JavaScript object hierarchies may now be created and accessed using the CEF API.
- Remove the CefHandler and CefVariant classes and related CefBrowser methods that have been obsoleted by the addition of CEF V8 support.
- Add the CefRegisterExtension() function for registering system-wide V8 extensions.
- Add the CefHandler::HandleJSBinding() callback method for attaching V8 values to the global frame JavaScript object.  This method replaces the previous technique of calling CefBrowser::AddJSHandler().
- Add new wrapper template methods for simplifying DLL wrapper implementations.
- Move cef_string* files from libcef_dll to libcef so that projects can link libcef statically without errors.
- Fix crashes when CEF exits due to object constructors being executed on non-UI threads if the application is closed while a page is still loading.
- Update the cefclient project to reflect changes and demonstrate the new APIs.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@26 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2009-05-28 00:31:21 +00:00
Marshall Greenblatt 94dfad49d9 libcef_dll:
- Eliminate the dependency on base/logging.h for libcef_dll_wrapper.  libcef.lib and libcef_dll_wrapper.lib are now the only required components for linking a CEF-based application.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@25 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2009-05-15 17:45:24 +00:00
Marshall Greenblatt 0a98edff56 libcef:
- Fix ASSERT in CefBrowserImpl::UIT_GetPagesCount() when no default printer is configured (Issue #20).
- Remove non-existent WebFrame objects while iterating over the bound object list in CefJSContainer::BindToJavascript().  WebFrame objects are destroyed when navigating from a page with more frames to a page with less frames.  If we don't remove the non-existent frames they will remain in the list until the browser window is destroyed.
- Don't call UIT_* functions from class destructors as destruction may occur on a different thread.

libcef: Update due to underlying chromium changes.
- Header file locations changed from third_party/WebKit/WebKit to webkit/api as a result of WebKit unforking.
- Project file locations changed due to GYP now being used for WebKit builds.
- Add simple_clipboard_impl.cc in the libcef directory because it has been moved from webkit/glue to test_shell.
- Changes related to navigation.
- New parameters added to WebViewDelegate methods.

libcef_dll: Update due to underlying chromium changes.
- webkit_resources.rc and webkit_strings_en-US.rc moved from grit_derived_sources to obj/global_intermediate/webkit.


git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@24 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2009-05-15 15:09:51 +00:00
Marshall Greenblatt 52196814b2 libcef: Update due to underlying chromium changes.
- Add WebKit-based printing support.
- Add re-sizable text area support.
- In release build, only log error messages and above.
- Modify cef.sln to point at new file locations for dynamically generated project files.
- More webkit_glue and webkit_init reorganization.
- Movement towards using Web* basic types.
- Include WebKit headers using the full path.
- Add app cache support in ResourceLoaderBridge.
- Method/member changes in WebViewDelegate.
- Simplify code in PrintSettings.
- Remove the WM_DESTROY and WM_NCDESTROY cases in WebWidgetHost::WndProc() to avoid a crash when closing a browser window via a DestroyWindow() call on a parent window.

libcef_dll:
- Add webkit_resources.rc and webkit_strings_en-US.rc to the project in order to support localized strings.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@23 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2009-04-28 00:29:14 +00:00
Marshall Greenblatt 3f5a01e969 libcef: Update due to underlying chromium changes.
- Add unique IDs for browser instances because ResourceLoaderBridge::Create() now receives a routing ID instead of a WebFrame pointer.  The unique ID is assigned to a browser in CefContext::AddBrowser() and attached to a request in  BrowserWebViewDelegate::WillSendRequest().
- Add upload progress notification support to resource loader bridge.
- WebFrame::ExecuteJavaScript() changed to WebFrame::ExecuteScript().
- More functions moved into webkit_glue::WebKitClientImpl.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@22 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2009-03-24 15:06:38 +00:00
Marshall Greenblatt d942863661 libcef: Update due to underlying chromium changes.
- security_info attribute added to OnCompletedRequest() in ResourceLoaderBridge.
- More functions moved into webkit_glue::WebKitClientImpl.
- First parameter of WebViewDelegate::RunJavaScript*() methods changed from WebView pointer to WebFrame pointer.
- np_v8object.h renamed to NPV8Object.h and other related naming changes.
- Add support for v8 gears and interval extensions.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@21 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2009-03-09 19:38:59 +00:00
Marshall Greenblatt 74bb6d6e74 - Add #ifdef _DEBUG around the DebugObjCt DCHECK() calls to avoid compile errors in release build (Fix by: vridosh, Issue #1).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@20 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2009-03-09 13:23:07 +00:00
Marshall Greenblatt 08a19d5384 libcef:
- Add the CefBrowser::CreateBrowserSync() method for synchronously creating a browser instance. (Issue #13, Suggested implementation by: vridosh)
- Add CefBrowser::SetFocus() and CefHandler::HandleTakeFocus() methods to deal with keyboard focus changes. (Issue #13, Suggested implementation by: vridosh)
- Add CefHandler::HandleBeforeWindowClose() to perform actions immediately before the browser window is destroyed. (Issue #13, Suggested implementation by: vridosh)
- Replace windows-specific address resolution code with GURL() in CefBrowserImpl::UIT_LoadURLForRequest(), CefBrowserImpl::UIT_LoadHTML() and CefBrowserImpl::UIT_LoadHTMLForStreamRef(), and move the methods from browser_impl_win.cc to browser_impl.cc. (Issue #13, Suggested implementation by: vridosh)
- Fix reference counting bugs, class definition problems and CefContext::Shutdown() bug resulting in Cef object leaks. (Issue #15)
- Add WebKit dependancy to libcef project.
- Add basic object count debugging for CefCToCpp and CefCppToC classes.

cefclient:
- Initialize the strPtr parameter to avoid URLs suffixed with garbage. (Issue #13, Fix by: vridosh)

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@19 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2009-03-08 02:26:16 +00:00
Marshall Greenblatt 3aa0d4c0fa libcef:
- Add support for specifying the cache location (file path or in-memory) via a new 'cache_path' parameter to CefInitialize().
- Create popup windows with a NULL parent window handle so that they don't stay on top of the original application window.

cefclient:
- Properly handle address change and title change for popup windows.
- Add a test for creating a popup window.
- Define TEST_SINGLE_THREADED_MESSAGE_LOOP by default.


git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@18 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2009-03-06 19:20:44 +00:00
Marshall Greenblatt a5bdcddd1e libcef: Update due to underlying chromium changes.
- Fix problem displaying select lists due to ordering of focus events in WebWidgetHost::MouseEvent()  (issue #17).
- Add new BrowserWebKitInit class and related webkit_glue changes.
- Add webkit_glue::InitializeTextEncoding() function called from the main thread in CefContext::Initialize() to avoid an assert in  third_party\WebKit\WebCore\platform\text\TextEncodingRegistry.cpp buildBaseTextCodecMaps().
- V8NPObject::v8_object member renamed to V8NPObject::v8Object.
- Add WebKit project dependency.

libcef_dll:
- Fix crash when creating a popup window due to not duplicating the m_windowName member in cpptoc\handler_cpptoc.cc handler_handle_before_created().

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@17 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2009-03-05 17:14:16 +00:00