Marshall Greenblatt
a9449d612c
Fix keyboard shortcut handling on Windows (issue #615 ) and Mac (issue #618 ).
...
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@675 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-06-07 17:38:12 +00:00
Marshall Greenblatt
06bc30a802
Clear the input array passed to CefBrowser::GetFrameIdentifiers so that the correct values are returned via the C/C++ wrapper API, and add a test (issue #626 ).
...
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@665 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-06-04 17:03:31 +00:00
Marshall Greenblatt
af01dd2d82
Fix misspelling of the Referer HTTP header (issue #619 ).
...
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@660 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-06-01 17:41:30 +00:00
Marshall Greenblatt
38f216a9c2
Update to Chromium revision 139606.
...
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@658 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-05-31 15:19:33 +00:00
Marshall Greenblatt
584bd26331
Windows: Allow the JS dialog message hook to be shared across multiple browser windows (issue #605 ).
...
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@654 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-05-29 18:06:22 +00:00
Marshall Greenblatt
71773b5bbc
Windows: Avoid resizing the child window to 0x0 when the parent window is minimized (issue #606 ).
...
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@653 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-05-29 17:39:39 +00:00
Marshall Greenblatt
b3f982dd73
Avoid crash due to missing prerenderer support (issue #608 ).
...
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@652 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-05-29 17:18:33 +00:00
Marshall Greenblatt
19e96f94fe
Fix CefContextMenuParamsImpl::GetYCoord() to return the correct value (issue #602 ).
...
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@642 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-05-22 21:10:00 +00:00
Marshall Greenblatt
0b003c55a9
Pass target URL to OnBeforePopup (issue #596 ).
...
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@633 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-05-18 21:37:42 +00:00
Marshall Greenblatt
8b1748bbf5
Destroy CefResponseManager on the correct thread (issue #570 ).
...
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@632 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-05-18 21:18:01 +00:00
Marshall Greenblatt
9c9711c2d8
Update to Chromium revision 137849.
...
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@631 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-05-18 20:32:28 +00:00
Marshall Greenblatt
761187a673
- Update to Chromium revision 136953.
...
- Add chrome-devtools scheme handler implementation.
- Change the CefBrowser::GetDevToolsURL() method to allow retrieval of both http and chrome-devtools URLs.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@630 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-05-18 15:04:56 +00:00
Marshall Greenblatt
808e89e01e
Fix usage of ReadRawData return value in ResourceRequestJob implementation (issue #534 ).
...
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@619 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-05-04 18:36:45 +00:00
Marshall Greenblatt
0ceab51f94
Fix StringPrintf format error.
...
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@614 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-05-02 16:28:22 +00:00
Marshall Greenblatt
4158d13cce
Fix compile error.
...
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@613 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-05-02 15:56:15 +00:00
Marshall Greenblatt
10a336e500
Update to Chromium revision 134688.
...
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@612 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-05-01 17:47:54 +00:00
Marshall Greenblatt
dfd4a8ba99
Fix StringPrintf format error.
...
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@611 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-04-27 22:18:57 +00:00
Marshall Greenblatt
db3a9817ed
Add direct DOM access (issue #511 ).
...
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@610 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-04-27 21:19:06 +00:00
Marshall Greenblatt
4fe0ddf640
Add ability to directly retrieve plugin information (issue #575 ).
...
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@609 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-04-27 19:12:01 +00:00
Marshall Greenblatt
9017c0e74e
- Update to Chromium revision 133962.
...
- Mac: Fix path discovery for non-native frameworks (issue #576 ).
- Avoid loading Chrome-specific pack files (issue #578 ).
- Make DevTools remote debugging URLs harder to guess (issue #583 )
- Add CefBrowser::GetDevToolsURL() method (issue #583 ).
- Add DevTools example to cefclient (must run with --remote-debugging-port=XXXX command-line flag) (issue #583 ).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@608 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-04-26 22:20:18 +00:00
Marshall Greenblatt
7987af5acf
Fix memory leak when returning zero-length strings from V8 (issue #581 ).
...
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@604 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-04-25 20:01:10 +00:00
Marshall Greenblatt
6c8f4644aa
- Update to Chromium revision 133430.
...
- Move custom scheme registration to CefApp::OnRegisterCustomSchemes(). This is required by the introduction of ContentClient::AddAdditionalSchemes() and fixes a race condition when registering standard schemes in different processes.
- Execute V8 functions using V8Proxy. This is required for inspector instrumentation to work correctly and fixes an assertion in WebCore related to V8RecursionScope.
- Enable verbose V8 TryCatch logging.
- Mac: Expose UnderlayOpenGLHostingWindow interface that should be used for all CEF windows.
- Add CefSettings.remote_debugging_port option.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@602 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-04-24 18:01:48 +00:00
Marshall Greenblatt
fdbabb4378
Add context menu support (issue #509 ):
...
- Add new CefContextMenuHandler, CefContextMenuParams and CefMenuModel classes.
- Add cef_strings.grd and related infrastructure for supporting translation of CEF strings.
- Generate include/cef_pack_resources.h and include/cef_pack_strings.h files at build time that include all IDs used by CEF pack files.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@597 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-04-19 21:28:12 +00:00
Marshall Greenblatt
effbca00e2
Add context menu support (issue #509 ):
...
- Add new CefContextMenuHandler, CefContextMenuParams and CefMenuModel classes.
- Add cef_strings.grd and related infrastructure for supporting translation of CEF strings.
- Generate include/cef_pack_resources.h and include/cef_pack_strings.h files at build time that include all IDs used by CEF pack files.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@596 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-04-19 21:18:22 +00:00
Marshall Greenblatt
7bc494880f
Add context menu support (issue #509 ):
...
- Add new CefContextMenuHandler, CefContextMenuParams and CefMenuModel classes.
- Add cef_strings.grd and related infrastructure for supporting translation of CEF strings.
- Generate include/cef_pack_resources.h and include/cef_pack_strings.h files at build time that include all IDs used by CEF pack files.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@595 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-04-19 20:31:46 +00:00
Marshall Greenblatt
07bba96106
Add support for JavaScript alert, confirm, prompt and onbeforeunload dialogs (issue #507 ).
...
- Add CefJSDialogHandler and CefJSDialogCallback interfaces.
- Add default dialog implementations for Windows and Mac OS-X.
- Add "JavaScript Dialogs" example to cefclient.
- Change TestHandler::AddResource to ignore the query component when matching URLs.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@594 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-04-16 21:15:27 +00:00
Marshall Greenblatt
7ce5e9924e
Don't DCHECK the |value| argument passed to cef_string_list_append().
...
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@593 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-04-13 15:23:52 +00:00
Marshall Greenblatt
9d200c109a
- Update to Chromium revision 131752.
...
- Add support for multi_threaded_message_loop run mode on Windows (issue #522 ).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@586 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-04-11 18:00:55 +00:00
Marshall Greenblatt
f94336aade
CEF3: Update to Chromium revision 130586.
...
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@578 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-04-04 18:18:09 +00:00
Marshall Greenblatt
0b3ef6e2cd
CEF3: Add CefCookieManager::SetSupportedSchemes method which supports cookie storage for non-http(s) schemes (issue #567 ).
...
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@577 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-04-03 22:14:28 +00:00
Marshall Greenblatt
34adee805c
Branch CEF3 files from /branches/cef3 to /trunk/cef3 (issue #564 ).
...
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@571 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-04-03 01:34:16 +00:00
Marshall Greenblatt
b568f160d9
Rename CEF1 files from /trunk to /trunk/cef1 (issue #564 ).
...
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@570 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-04-03 01:27:13 +00:00
Marshall Greenblatt
0a1fd8b040
Avoid calling OnSetFocus multiple times (issue #563 ).
...
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@569 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-04-02 19:05:42 +00:00
Marshall Greenblatt
b59fc7633d
Execute the CefFocusHandler::OnSetFocus callback for calls to CefBrowser::SetFocus and mouse clicks on the view (issue #563 ).
...
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@568 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-04-02 16:28:56 +00:00
Marshall Greenblatt
0872b047a4
Fix problem with CefBrowser::GetMainFrame() clearing the frame URL value (issue #556 ).
...
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@561 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-03-30 17:18:31 +00:00
Marshall Greenblatt
3b23cc1815
Fix race condition in CefCookieManagerImpl constructor (issue #542 ).
...
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@556 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-03-29 16:51:31 +00:00
Marshall Greenblatt
4f1dd4f96c
Fix compile errors.
...
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@546 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-03-23 00:19:51 +00:00
Marshall Greenblatt
c814366421
- Add CefCookieManager interface and CefRequestHandler::GetCookieManager for custom cookie handling (issue #542 ).
...
- Support getting and setting cookies with custom scheme handlers (issue #555 ).
- Support calling CefFrame::GetIdentifier and CefFrame::GetURL on any thread (issue #556 ).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@542 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-03-22 22:08:05 +00:00
Marshall Greenblatt
e258cbc536
Revert revision 534 changes: Add CefCookieManager interface and CefRequestHandler::GetCookieManager for custom cookie handling (issue #542 ).
...
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@541 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-03-21 16:14:14 +00:00
Marshall Greenblatt
ef43df264a
Add CefCookieManager interface and CefRequestHandler::GetCookieManager for custom cookie handling (issue #542 ).
...
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@534 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-03-15 22:38:02 +00:00
Marshall Greenblatt
97d6924f7e
Invalidate the entire scroll rect when using off-screen rendering mode (issue #469 ).
...
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@526 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-03-13 15:05:56 +00:00
Marshall Greenblatt
52aade3759
Update to Chromium revision 122508.
...
- CefDragData::GetFileExtension() has been removed.
- Audio playback no longer works (issue #530 ).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@509 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-02-18 00:19:52 +00:00
Marshall Greenblatt
a3e0935ce3
Update to Chromium revision 119867.
...
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@504 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-02-17 14:51:20 +00:00
Marshall Greenblatt
c04103744c
Setting the OnBeforeResourceLoad redirectUrl value should behave the same as using request->SetURL() (issue #529 ).
...
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@502 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-02-16 20:13:07 +00:00
Marshall Greenblatt
1a092a0c1a
Add the ability to (issue #236 ):
...
1. Disable pack file loading via CefSettings.pack_loading_disabled.
2. Customize pack file load paths via CefSettings.pack_file_path and CefSettings.locales_dir_path.
3. Provide custom resource bundle handling via CefResourceBundleHandler.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@501 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-02-16 17:11:49 +00:00
Marshall Greenblatt
def9fdb540
Fix memory leak in CefV8ValueImpl::ExecuteFunctionWithContext (issue #526 ).
...
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@497 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-02-15 16:19:59 +00:00
Marshall Greenblatt
55b363354f
Mac: Fix the "no autorelease pool in place" error by initializing an NSAutoreleasePool on every thread (issue #502 ).
...
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@482 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-02-10 16:22:47 +00:00
Marshall Greenblatt
9bcab6db78
Linux: Remove the gdk_drag_context_get_suggested_action accessor that requires gtk+ 2.21 or greater.
...
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@481 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-02-08 16:45:40 +00:00
Marshall Greenblatt
3309ccf917
Linux: Add gdk.h include to hopefully fix compile errors on some distros.
...
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@480 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-02-08 15:24:27 +00:00
Marshall Greenblatt
2497090b12
- Linux: Add support for HTML5 drag&drop (issue #40 ).
...
- Linux: Fix GTK cefclient to properly shutdown on CTRL+c (issue #40 ).
- Linux: Fix compile error due to v8_impl.cc revision 469 changes.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@475 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-01-23 19:04:54 +00:00
Marshall Greenblatt
4fde292443
Mac: Fix compile error due to revision 469 changes.
...
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@471 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-01-20 14:44:09 +00:00
Marshall Greenblatt
5a112a21dd
Don't add the "--expose-gc" V8 flag by default for all CEF users (issue #483 ).
...
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@470 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-01-19 19:12:15 +00:00
Marshall Greenblatt
0352efec64
Add methods to CefV8Value for specifying the amount of externally allocated memory associated with the V8 object (issue #478 ).
...
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@469 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-01-19 18:52:59 +00:00
Marshall Greenblatt
9f53a6dae6
Add missing svn:eol-style attribute to browser_devtools_scheme_handler.[h|cc]
...
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@467 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-01-19 15:43:50 +00:00
Marshall Greenblatt
1073577d03
Make CEF compliant with Google/Chromium style (issue #473 ).
...
- Add a new check_style tool based on Google's cpplint that can be used to verify compliance of pending changes and specific files/directories.
- Update existing CEF source code to be compliant with the style requirements.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@463 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-01-09 23:46:23 +00:00
Marshall Greenblatt
2cc21dbb2f
Remove unneeded header include from request_impl.cc.
...
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@460 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-01-05 19:48:14 +00:00
Marshall Greenblatt
b8ba27a671
Add the ability to restrict V8 extension loading by frame using a new CefPermissionHandler::OnBeforeScriptExtensionLoad() callback (issue #471 ).
...
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@457 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-01-05 19:34:20 +00:00
Marshall Greenblatt
3d734d9f90
Linux: Fix window destruction crash.
...
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@449 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-12-31 00:57:52 +00:00
Marshall Greenblatt
8d6c760bbd
- Add support for running unit tests without multi-threaded message loop mode (issue #338 ).
...
- Mac: Fix unit test expectations.
- Mac: cef_time_t.day_of_week is not supported.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@448 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-12-30 20:55:16 +00:00
Marshall Greenblatt
8ece0ba240
Update to Chromium revision 115967.
...
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@445 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-12-29 20:26:26 +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
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
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
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
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
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
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
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
Marshall Greenblatt
7a6abdbbf2
Windows: Fix selection of multiple files with long combined paths (issue #423 ).
...
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@384 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-11-17 19:39:10 +00:00
Marshall Greenblatt
40edde7f3f
Mac: Fix compile errors due to revision 381 changes (issue #427 ).
...
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@383 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-11-17 19:09:15 +00:00
Marshall Greenblatt
e7e289a7c6
Make navigator.language return the same value as CefSettings.locale (issue #429 ).
...
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@382 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-11-17 18:52:16 +00:00
Marshall Greenblatt
268675fdbe
Add additional error checking for CefV8Value methods (issue #427 ).
...
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@381 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-11-16 22:12:54 +00:00
Marshall Greenblatt
1fcda77625
Mac: Fix handling of numeric pad characters. Don't send character events for non-character numeric and function keys (issue #426 ).
...
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@379 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-11-16 20:40:57 +00:00
Marshall Greenblatt
cc175e4fbe
- Expose command line parsing support with a new CefCommandLine class (issue #422 ).
...
- cefclient: Add the ability to specify CefSettings and CefBrowserSettings values on the command line.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@378 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-11-14 23:43:52 +00:00
Marshall Greenblatt
0e4c6a648c
Mac: use regions to improve painting performance (issue #360 ).
...
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@377 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-11-14 17:47:21 +00:00
Marshall Greenblatt
69226efeb6
Remove unneeded WebWorker stub code (issue #230 ).
...
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@376 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-11-14 15:49:26 +00:00
Marshall Greenblatt
1dab15313a
Linux: Fix gcc 4.6 and 64 bit compile errors (issue #40 ).
...
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@374 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-11-12 00:06:03 +00:00
Marshall Greenblatt
82da0fbb38
Update to Chromium revision 109626.
...
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@373 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-11-11 17:21:19 +00:00
Marshall Greenblatt
ccb42a7623
Win: Use the module path for loading resources instead of hard-coding "libcef.dll" (issue #416 ).
...
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@372 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-11-10 23:25:12 +00:00
Marshall Greenblatt
28f171b26f
Introduce CefV8Exception for returning detailed exception information from CefV8Value::ExecuteFunction*() and add the ability to re-throw exceptions. (issue #317 ).
...
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@371 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-11-10 22:57:23 +00:00
Marshall Greenblatt
cee94a1db9
Linux: Fix revision 369 compile error.
...
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@370 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-11-10 20:25:00 +00:00
Marshall Greenblatt
9d2dbef101
Don't generate update tasks while layout is occurring.
...
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@369 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-11-09 23:13:26 +00:00
Marshall Greenblatt
587eb7871d
- Win: Improve redraw and scrolling performance (issue #360 ).
...
- Win: Fix CefBrowser::GetImage() and add "Get Image" example to cefclient (issue #377 ).
- Pass the list of dirty rectangles to CefRenderHandler::Paint(). (issue #415 ).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@368 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-11-09 20:09:24 +00:00
Marshall Greenblatt
09bf0b039f
Mac: additional repaint fixes related to issue #360 .
...
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@364 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-11-08 16:19:03 +00:00
Marshall Greenblatt
8257177763
Add support for specifying custom V8 flags via a new CefSettings.javascript_flags configuration option (issue #413 ).
...
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@363 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-11-07 22:46:34 +00:00
Marshall Greenblatt
8e45560a02
Pass the |redirectUrl| parameter to GetResponseHeaders() instead of ProcessRequest() (issue #414 ).
...
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@362 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-11-07 22:23:51 +00:00
Marshall Greenblatt
ae5371dd09
Move CEF V8 internal attributes to hidden values and add a test to verify safety (issue #316 ).
...
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@361 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-11-07 21:39:57 +00:00
Marshall Greenblatt
53a2f21ba4
Update to Chromium revision 108684.
...
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@360 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-11-04 23:12:18 +00:00
Marshall Greenblatt
73699e71cd
Mac: Fix OS-X 10.5 compile errors due to issue #403 changes.
...
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@359 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-11-04 19:52:14 +00:00
Marshall Greenblatt
c451702e0c
- Hide CEF internal V8 attributes from JavaScript (issue #316 ).
...
- Add a PropertyAttribute parameter to CefV8Value::SetValue() (issue #412 ).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@358 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-11-04 19:34:14 +00:00
Marshall Greenblatt
3e18b2e64c
Mac: Add the NSUnifiedTitleAndToolbarWindowMask flag for popup windows and increase the default size (issue #411 ).
...
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@357 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-11-04 18:34:31 +00:00
Marshall Greenblatt
058e9ef2f2
- Add new call to OnKeyEvent() to allow handling of keyboard events before they're passed to the renderer (issue #406 ).
...
- Windows: only scroll with middle mouse button when the cursor is over the view (issue #410 ).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@356 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-11-04 18:19:14 +00:00
Marshall Greenblatt
6d8e46fb63
Win: Fix assertion when selecting input text in reverse order due to revision #344 changes.
...
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@355 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-11-03 16:26:07 +00:00
Marshall Greenblatt
c54c5e1e81
Mac: Add file chooser support (issue #403 ).
...
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@354 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-11-03 15:10:37 +00:00
Marshall Greenblatt
28adf8908a
Add CefSetCookiePath() and CefSetStoragePath() functions for changing cookie and localStorage locations while CEF is running (issue #347 ).
...
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@353 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-11-02 19:50:00 +00:00
Marshall Greenblatt
7a4cb9dd20
Add the ability to specify full plugin matching parameters including multiple mime types and file extensions via CefPluginInfo (issue #401 ).
...
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@352 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-11-01 16:04:57 +00:00
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