Commit Graph

8 Commits

Author SHA1 Message Date
Bill Tutt 7776438ea0 Remove IBrowserAdapterNative, and add nullptr checks for GetCefBrowser return value. 2015-05-02 04:37:48 -04:00
Bill Tutt e1e58a5da6 Add IFrame interface as the public face of CefFrameWrapper.
IRequestHandler: Pass IFrame instances instead of isMainFrame.
Support EvaluateJavaScriptAsync from a frame.
IBrowserAdapter, IBrowserAdapterNative: Dependency breaking between CefFrameWrapper and ManagedCefBrowserAdapter.
Add IBrowserAdapter.BrowserAdapter to IWebBrowserInternal and implment for all controls.

This builds, but hasn't been tested yet. Thoughts?
2015-05-02 00:01:31 -04:00
Bill Tutt 26ec64e587 Copy/Paste frame APIs from CefBrowser into ManagedCefBrowserAdapter.*
Start stubbing out some implementations in CefFrameWrapper.h

(This doesn't build yet, don't bother trying... )
2015-04-29 01:13:50 -04:00
rassilon cf25cc0518 Merge remote-tracking branch 'origin/master' into cef/2272
Conflicts:
	CefSharp.Core/ManagedCefBrowserAdapter.h
2015-04-23 19:38:41 -04:00
amaitland e23fef14e2 Missed adding this in previous commit - rename IsKeyDown 2015-04-23 09:12:05 +10:00
rassilon 1a31b991ac Move rest of non-simple functions to .cpp file.
Rename private GetZoomLevel to GetZoomLevelOnUI to further indicate what thread it should run on.

Make WPARAM keyboard related functions private:
  isKeyDown and GetCefKeyboardModifiers.
2015-04-22 10:46:07 -04:00
rassilon 701d391c59 Adding .Net enum of CefThreadId (mostly to be able to call .ToString()).
Added license headers on new files.
Remove sync version of GetZoomLevel on ManagedCefBrowserAdapter.
Updated callers to call GetZoomLevelAsync() but in a blocking sync manner.

Added CurrentlyOn/EnsureOn static methods to CefTaskScheduler.
2015-04-22 08:19:36 -04:00
rassilon c96f8a82d6 Add TaskFactories in the main process for UI/File/IO, and utilize the UI task factory for GetZoomLevel, and implement GetZoomLevelAsync. 2015-04-22 00:14:29 -04:00