Commit Graph

1628 Commits

Author SHA1 Message Date
amaitland 5901cb60b0 Remove StreamAdapter - no longer used 2015-09-01 22:07:55 +10:00
amaitland c9f9fdb26a Add missing return 2015-09-01 22:07:44 +10:00
amaitland 0ce2562e1e Update to 2454.1317 2015-09-01 22:07:43 +10:00
amaitland 4a1b4aba18 Remove stray semi colon 2015-09-01 22:07:43 +10:00
amaitland de7f6e186e Remove lock from StreamAdapter (was only used one, so not required)
Remove lock from ResourceHandlerWrapper - seemed kinda pointless and the cef implementation doesn't have one.
https://bitbucket.org/chromiumembedded/cef/src/4a8546efd70700eed1e1f921e85293abf90d2691/libcef_dll/wrapper/cef_stream_resource_handler.cc?at=master#cef_stream_resource_handler.cc-140
2015-09-01 18:59:33 +10:00
Bjarte Skogøy c9d01fa298 Fix issue with disposed tasks in .Net 4.0. 2015-09-01 09:40:07 +02:00
amaitland a63f11e4ea Tweak ThrowIfDisposed to output the first interface of the object - should work for all current classes that inherit from CefWrapper 2015-09-01 15:42:39 +10:00
Jan Kurianski 511b99ae41 Merge pull request #1237 from NumbersInternational/build/enable-cefsharpcore-pdb
Generate CefSharp.Core.pdb file for Release builds
2015-09-01 12:20:24 +10:00
amaitland 72b1bcab49 Add CefWrapper object to abstract some of the boiler plate stuff like ThrowIfDisposed and IsDisposed
Fix up incorrect namespaces (move to Internals)
2015-09-01 12:10:42 +10:00
jankurianski 38268f463d Generate CefSharp.Core.pdb file for Release builds 2015-09-01 11:43:39 +10:00
amaitland 51b699ef56 Add hasparent check to OnAfterCreated when retrieving the popup instance 2015-08-31 14:54:30 +10:00
amaitland ac269e860c Add more IsDispoed properties 2015-08-31 14:41:47 +10:00
amaitland 330e6b38b0 Add IsDisposed property to interface objects
Fixes #1223
2015-08-31 13:32:48 +10:00
amaitland fc4307629b Improve IMenuModel xml documentation
Add NotFound to CefMenuCommand
Strongly type some more of the params for IMenuModel
2015-08-31 12:12:56 +10:00
amaitland fa7728b0d0 Strongly type commandId
Add example of using custom menu id numbers
2015-08-31 11:36:49 +10:00
amaitland 5ec43558c7 Merge branch 'master' of https://github.com/zkovacs1/CefSharp 2015-08-31 11:25:47 +10:00
amaitland c3c68ebff2 Move the LifeSpanHandler.OnBeforeClose call higher in the execution order
Fixes #1228
2015-08-30 20:00:37 +10:00
cefsharp-ms bc70be07f0 made sure that bitmapinfo is created for offscreen popup windows as well 2015-08-27 09:55:12 +02:00
amaitland fa89d306e1 Add CefSettings.SetOffScreenRenderingBestPerformanceArgs helper method based on https://bitbucket.org/chromiumembedded/cef/commits/e3c1d8632eb43c1c2793d71639f3f5695696a5e8 2015-08-27 10:36:41 +10:00
amaitland 0a65fd65a5 Add RegisterSchemeHandlerFactory and ClearSchemeHandlerFactories
Add missing includes to SchemeHandlerFactoryWrapper
2015-08-26 21:39:12 +10:00
amaitland 36bf1c5c58 Refactor GetScreenInfo - add GetViewRect method so closer match cefclient example
Add note about GetViewRect
2015-08-26 20:13:07 +10:00
amaitland 7794fb2712 Remove scaledWidth, scaledHeight just use the values directly 2015-08-26 15:25:15 +10:00
amaitland a3c3d6c51f Untabify RenderClientAdapter
Remove GetPixelPosition method - inline code
Remove redundant else branch from BitmapFactory
2015-08-26 15:21:38 +10:00
amaitland 73e01e09e6 Merge branch 'features/HighDpiAgain' of https://github.com/bjarteskogoy/CefSharp 2015-08-26 15:18:29 +10:00
zkovacs1 43eb12e9c2 Some code beautifying 2015-08-25 04:32:54 +03:00
zkovacs1 cb3455f14f Exposing more methods in IMenuModel to facilitate context menu customizations 2015-08-25 03:28:30 +03:00
amaitland 7687dee583 Merge branch 'implement_drag_drop' of https://github.com/mmamone/CefSharp 2015-08-24 12:16:26 +10:00
Bjarte Skogøy 0c2b0ae7f7 Device/logical coordinates stuff. Now mouse positions and popups are behaving properly. 2015-08-21 10:23:55 +02:00
Bjarte Skogøy 276c05195e Spaces instead of tabs. 2015-08-21 08:58:57 +02:00
mmamone dba5cc4690 Updates post review
Updated the naming conventions in RenderClientAdapter.
Used a DataObject for the drag data (in order to handle text, html, etc
...).
In the future, can support images once GetFileContents is
implemented.
2015-08-20 09:34:32 +10:00
amaitland 2cc2729ba5 Add missing OnOpenURLFromTab implementation 2015-08-19 19:07:58 +10:00
Bjarte Skogøy d68039db3c Seems like the bitmapInfo sent to ReleaseBitmapHandlers sometimes is NULL. 2015-08-19 08:18:02 +02:00
amaitland 4828919a27 Remove unused reference to autolock.h 2015-08-19 13:06:00 +10:00
amaitland 2e75ae32b1 Add some missing override statements (general cleanup) 2015-08-19 13:05:59 +10:00
mmamone cb96ce1437 Implement start drag for WPF browser
Exposed the necessary functions for start drag to work:
* StartDragging (RenderClientAdapter)
* OnDragSourceEndedAt (ManagedCefBrowserAdapter)
* OnDragSourceSystemDragEnded (ManagedCefBrowserAdapter)

Implemented IRenderWebBrowser.StartDragging for the WPF
ChromiumWebBrowser.

TODO: Would like to add an adorner layer for the dragged text (using the
supplied fragment html), but feels like a project for later.
2015-08-19 13:03:18 +10:00
amaitland f04f7c7595 Fix typo - newRedirectUrl 2015-08-19 09:34:08 +10:00
amaitland fb2f2efa11 Add CanSetCookie and CanGetCookie method stubs, look at implementing later 2015-08-19 08:53:09 +10:00
Bjarte Skogøy 9834bee0d3 Seems to scale properly now. 2015-08-18 23:48:25 +02:00
Bjarte Skogøy c7c0dad0d4 Init bitmap infos when scale info is available 2015-08-18 23:33:10 +02:00
Bjarte Skogøy 4bbd9e7b09 A start. Need to test popups and test on high dpi screen. 2015-08-18 14:17:20 +02:00
amaitland 65d44b3962 Only send register IPC message of there are is a bound object 2015-08-18 09:29:50 +10:00
amaitland ad336a8928 First draft of sslinfo
Conflicts:
	CefSharp.Core/CefSharp.Core.vcxproj.filters
	CefSharp.Example/RequestHandler.cs
2015-08-17 14:49:47 +10:00
amaitland a49848347b Remove _javascriptCallbackFactories dictionary
Should be required as the OnProcessMessageReceived IPC handler should be called on the relevant browser instance
2015-08-17 14:29:50 +10:00
amaitland 0e2078e288 Send bound objects in the new OnRenderViewReady method 2015-08-17 14:22:57 +10:00
amaitland 315e345582 Add OnOpenUrlFromTab and OnRenderViewReady 2015-08-17 13:59:48 +10:00
amaitland b780568544 Add DoClose to ILifeSpanHandler 2015-08-17 13:49:10 +10:00
amaitland be6046276b Add OnContextMenuCommand and OnContextMenuDismissed handlers 2015-08-17 13:40:56 +10:00
amaitland 75ff0ed3e4 Add IMenuModel
Refactor to reflect actual underlying Cef Model (Remove return bool)
2015-08-17 13:33:27 +10:00
amaitland 6e1c9ad778 Add OnResetDialogState and OnDialogClosed to IJsDialogHandler 2015-08-17 13:16:45 +10:00
amaitland e19edc6ce0 Default return value for OnConsoleMessage is false, so revert to using the default 2015-08-17 12:11:40 +10:00