Commit Graph

353 Commits

Author SHA1 Message Date
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