-
Notifications
You must be signed in to change notification settings - Fork 0
Feat/add wpf offscreen browser #3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
|
|
||
| if (DpiScaleFactor > 1.0) | ||
| { | ||
| rect = rect.ScaleByDpi(DpiScaleFactor); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hier meckert er bei mir, weil rect nicht initalisiert wurde
| var host = new OutOfProcessHost(fullPath, cachePath, offScreenRendering); | ||
|
|
||
| host.Init(); | ||
| host.Init(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
styling
| /// </summary> | ||
| /// <param name="browserId">browser Id</param> | ||
| void NotifyMoveOrResizeStarted(int browserId); | ||
| /// <param name="browserId">Position and size of the window. Only required in offscreen mode.</param> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
param name rect
| <RootNamespace>CefSharp.OutOfProcess.Wpf.HwndHost.Example</RootNamespace> | ||
| <StartupObject>CefSharp.OutOfProcess.Wpf.HwndHost.Example.App</StartupObject> | ||
| <PlatformTarget>AnyCPU</PlatformTarget> | ||
| <PlatformTarget>AnyCPU</PlatformTarget> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
styling
No description provided.