Marshall Greenblatt
f82acbf9e0
Improve the documentation for CefBrowerHost::GetDevToolsURL (issue #583 ).
...
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@647 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-05-24 14:19:43 +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
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
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
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
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
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
c24c257eb8
Use includes instead of forward class declarations in header files to simplify usage (issue #142 ).
...
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@506 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-02-17 17:31:19 +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
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
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
9cc61f448b
Add #ifndef guards in cef_build.h to avoid conflicts with other projects using Chromium code.
...
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@461 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2012-01-05 20:16:27 +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
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
62aedf6b30
Mac: Fix compile errors due to revision 442 changes.
...
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@443 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-12-23 18:04:12 +00:00
Marshall Greenblatt
ff976bc07f
Break cef.h into multiple headers (issue #142 ).
...
- Move wrapper classes from cef_wrapper.h to wrapper/ directory.
- Move C API functions/classes from cef_capi.h to capi/ directory.
- Move global function implementations from cef_context.cc to *_impl.cc files.
- Output auto-generated file paths in cef_paths.gypi.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@442 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-12-23 17:36:30 +00:00
Marshall Greenblatt
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
bdb588b77a
Update to Chromium revision 115322.
...
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@435 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-12-21 18:35:55 +00:00
Marshall Greenblatt
ec797bafe5
Make the |url| parameter to OnBeforePopup() optional.
...
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@434 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-12-20 22:07:45 +00:00
Marshall Greenblatt
9fadd1724f
Make the realm parameter to GetAuthCredentials() optional (issue #355 ).
...
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@425 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-12-16 13:50:15 +00:00
Marshall Greenblatt
ef19285349
Add CefBrowserSettings.fullscreen_enabled flag for enabling fullscreen mode. (issue #457 ).
...
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@424 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-12-16 12:33:16 +00:00
Marshall Greenblatt
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
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
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
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
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
c18ea9200d
Clarify the behavior of local schemes and XMLHttpRequest in cef.h documentation.
...
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@385 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2011-11-18 00:15:22 +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
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
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
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
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
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