amaitland
264be0e753
Store a reference to IBrowser in ClientAdapter rather than trying to access it through the BrowserAdapter
2016-01-12 14:11:49 +10:00
amaitland
f74bef6921
Instead of passing in the BrowserId on OnAfterBrowserCreated pass in the IBrowser
2016-01-12 13:42:35 +10:00
amaitland
bae3c28e92
Update copyright to 2016
2016-01-11 14:11:30 +10:00
amaitland
c18f951a97
Move OnContextCreated from IRequestHandler to IRenderProcessMessageHandler
...
Manually resolve some merge conflicts
2015-12-09 11:32:24 +10:00
amaitland
af02212217
Merge branch 'feature/oncontextcreated' of https://github.com/amaitland/CefSharp
2015-12-09 11:26:07 +10:00
amaitland
d33c41ec5d
Remove unused include
...
No need to wrap bool in gcroot
Move command line parsing into c# land - can be reused in a few places.
Reduce code duplication in OnProcessMessageReceived - kOnFocusedNodeChanged handler
Minor changes for code consistency/formatting
2015-12-09 11:23:06 +10:00
Rich McNeary
5784444f43
Merge remote-tracking branch 'refs/remotes/cefsharp/master' into focus-changed-1256
...
# Conflicts:
# CefSharp/IRequestHandler.cs
2015-12-08 09:36:44 -05:00
Rich McNeary
7d4e074ef4
Move OnFocusedNodeChanged into new IRenderProcessMessageHandler.
2015-12-08 09:32:54 -05:00
Rich McNeary
443804084e
Changed to specifically request FocusNodeChanged messages.
2015-12-08 09:04:22 -05:00
amaitland
7782490513
Add IRequestHandler.OnResourceLoadComplete
...
https://bitbucket.org/chromiumembedded/cef/commits/ced449a0efbb39e7ff36af844a4d067935dc324b
2015-12-08 10:46:27 +10:00
Rich McNeary
8d013feb9f
Replace gcnew String() with StringUtils::ToClr().
2015-12-07 10:52:57 -05:00
Rich McNeary
ae49a5385b
Fix: tabs to spaces, if and for braces, use frame ID.
2015-12-07 09:48:57 -05:00
Rich McNeary
1ecf2d57b0
Initial implementation complete.
...
Add support for when an element node in the DOM gets focus. Also invoked
when focus passes from an element node to an non-element node or
nothing.
2015-12-04 16:01:26 -05:00
Rich McNeary
34f7554023
Added initial implementation to IRequestHandler.
2015-12-03 16:08:34 -05:00
Rich McNeary
ce79f71275
When OnFocusedNodeChanged data is passed from render to browser process.
2015-12-03 15:59:27 -05:00
amaitland
8cd491562d
Reorder params for SetInt64, SetJsCallback and SetCefTime - they're not in a logical order
2015-12-02 19:20:54 +10:00
amaitland
6f272833fb
Add IRequestHandler.OnContextCreated handler
...
Send an IPC message when OnContextCreated is called in the render process
Currently only called for the main frame
Should be possible to hook the DOMContentLoaded event
2015-12-02 19:04:19 +10:00
amaitland
263ac29a40
Reorder serializer params - now slightly more logical
2015-11-18 18:49:12 +10:00
amaitland
94b77750e6
Fix #1357
...
In GetBrowserWrapper check if _cefBrowser has a valid pointer
Add ManagedCefBrowserAdapter IsDisposed check in JavascriptCallbackProxy::GetBrowser
Add CanExecute to check if underlying resources are still available
2015-10-26 12:04:54 +10:00
amaitland
7aa128781d
Add IsDisposed checks
...
Resolves #1307
2015-10-13 19:46:38 +10:00
amaitland
b1053cb6a5
Merge remote-tracking branch 'remotes/upstream/master' into enhancement/v8contextperframe
2015-10-13 14:08:32 +10:00
amaitland
514d7e275d
Add IContextMenuHandler.RunContextMenu
2015-10-12 08:08:41 +10:00
amaitland
20b8aa5732
Add IDragHandler.OnDraggableRegionsChanged
2015-10-12 07:16:33 +10:00
amaitland
2f3d9f868f
Make js callbacks and async methods Frame aware - add FrameId so they can be executed on a specific frame
...
Resolves a problem where multiple contexts are created and only the first one is dealt with properly (each frame has it's own V8 context)
2015-10-11 20:41:17 +10:00
amaitland
c2b712f06c
Update to CEF 3.2454.1326
...
Remove IRequestHandler.OnBeforePluginLoad (was moved on the upstream API, will need to be re-added)
Fixes #1306
2015-10-01 20:21:21 +10:00
amaitland
b9ee476e8e
Fix up some of the vc++ include mess that we had going
...
Cleanup using namespace statements as well
2015-09-29 16:26:06 +10:00
Alex Maitland
d95083ae4e
Merge pull request #1284 from amaitland/bug/popupjsb
...
Add support for JSB in Popups
2015-09-29 08:16:13 +10:00
amaitland
d9c3569bd7
Add IRequestHandler.OnResourceResponse
2015-09-29 08:03:54 +10:00
amaitland
cb989648cb
Keep a WeakReference to IBrowserAdapter instead of IBrowser and lookup the browser by it's Id for callbacks
2015-09-24 21:00:53 +10:00
amaitland
8a8da5b35a
Async JSB now working in popups
...
Still have the issue of callbacks not working as expect, for some reason it can't find the context
2015-09-24 20:08:15 +10:00
amaitland
a93e9e51e5
Only send kJavascriptRootObjectRequest when main browser is created (OnRenderViewReady)
...
Remove IsPopup check from async binding
2015-09-24 19:50:48 +10:00
amaitland
63157b8e1b
Add IDisplayHandler.OnFullscreenModeChange
...
No sample implementation as yet
2015-09-04 12:21:09 +10:00
amaitland
c9f9fdb26a
Add missing return
2015-09-01 22:07:44 +10:00
amaitland
51b699ef56
Add hasparent check to OnAfterCreated when retrieving the popup instance
2015-08-31 14:54:30 +10:00
amaitland
fa7728b0d0
Strongly type commandId
...
Add example of using custom menu id numbers
2015-08-31 11:36:49 +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
2cc2729ba5
Add missing OnOpenURLFromTab implementation
2015-08-19 19:07:58 +10: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
amaitland
02ae218cfc
Simplify nesting for OnBeforeResourceLoad, OnBeforeBrowse, OnPreKeyEvent, OnKeyEvent
2015-08-17 12:10:49 +10:00
amaitland
9616f5dc57
Add note and remove TODO
2015-08-17 12:05:01 +10:00