amaitland
048c594cf3
Remove IsLoadingChangedEventArgs
...
Conflicts:
CefSharp.OffScreen/ChromiumWebBrowser.cs
CefSharp.WinForms/ChromiumWebBrowser.cs
CefSharp.Wpf/ChromiumWebBrowser.cs
2015-06-16 18:58:12 +10:00
amaitland
39c8194b49
rename lowerCaseJavascriptNames to camelCaseJavascriptNames - more accurate description of what's going on
2015-04-16 16:31:54 +10:00
Alex Maitland
d7525280d8
Merge pull request #923 from exinferis/master
...
Added parameter for lowercasing JS functions (or not)
2015-04-10 15:44:21 +10:00
Alex Maitland
3d9841517f
Merge pull request #913 from amaitland/bug/wpf-isloading
...
Resolve: IsLoaded is unreliable
2015-04-10 15:40:06 +10:00
amaitland
fb4f0bbc05
Mark IsLoadingChanged Obsolete in OffScreen and WinForms versions
2015-04-10 08:26:26 +10:00
amaitland
89b02583e8
Remove method overloads and use optional param instead
2015-04-07 20:30:15 +10:00
Exinferis
8581c3f03b
Added parameter for lowercasing JS functions (or not)
2015-04-02 15:37:12 +02:00
rassilon
48c2550011
Fix #918 by adding extension method to cast from IntPtr to Int32
2015-03-31 10:26:09 -04:00
rassilon
1dd0fd3c35
Given focus fixes take 5, DefaultFocusHandler probably needs to be public instead of internal so that you can subclass and reuse the tricky default OnGotFocus implementation.
...
Add doc comment warnings about the danagers of overriding IFocusHandler.OnGotFocus for WinForm ChromiumWebBrowsers.
2015-03-18 11:54:20 -04:00
amaitland
a503365073
Indent case statement
...
Remove unused using statements
2015-03-18 17:50:40 +10:00
amaitland
1d496fa692
No need to set IsActivating - bools always default to false
2015-03-18 17:49:16 +10:00
rassilon
4cb60e6c34
Merge pull request #791 from rassilon/focus_take5
...
Focus improvements, take 5...
2015-03-17 09:57:46 -04:00
rassilon
8bd76e1db9
Further cleanups based on comments.
2015-03-17 09:39:40 -04:00
rassilon
b27b7d8fdf
Remove debugging logic, and add some additional commentary.
2015-03-15 12:42:15 -04:00
rassilon
cc8e51dced
Don't .Activate ChromiumWebBrowser during activation if the ChromiumWebBrowser was the .ActiveControl before the app was deactivated.
...
This will allow WinForm's .ActiveControl logic to occur properly.
Update address bar logic to deal with BackColor being in yellow whenever the control has focus.
2015-03-06 02:31:05 -05:00
amaitland
1e78265aeb
Remove redundant namespace qualifier
2015-03-06 06:23:18 +10:00
amaitland
602ba52ad5
Change Load behaviour to only call LoadUrl if the browser has been initialized, otherwise set Address which in an ideal world will be passed into the constructor.
...
Ignoring threading issues for now (if required user should wait for IsBrowserInitializedChanged event to fire and then call Load if experiencing timing issues, must invoke Load on the UI thread in IsBrowserInitializedChanged).
2015-03-06 06:21:27 +10:00
rassilon
340d671b1f
Move WM_ACTIVATE logging from MovingListener to Interceptor.
2015-03-03 02:07:28 -05:00
rassilon
1ef60f366e
Update to master/HEAD
...
Merge remote-tracking branch 'origin/master' into focus_take5
Conflicts:
CefSharp.WinForms/ChromiumWebBrowser.cs
2015-03-03 02:00:04 -05:00
rassilon
a04d3c6eb8
Rename IResourceHandler to IResourceHandlerFactory.
2015-03-02 23:08:04 -05:00
amaitland
cbe4abd327
Explicitly dispose parentFormMessageInterceptor
2015-02-24 14:41:06 +10:00
amaitland
113512c3db
Re-add Browser.IsBrowserInitialized check (IsBrowserInitialized is now set to false when disposing, so just avoids any potential null pointer exceptions)
2015-02-24 13:30:26 +10:00
amaitland
9060ca8183
Resharper inspired cleanups
...
Change line wrapping slightly (no need to be so aggressive when wrapping when < 132 columns)
2015-02-24 13:28:14 +10:00
amaitland
e649e2e64b
Moving event was removed, now calls NotifyMoveOrResizeStarted directly
2015-02-24 13:22:34 +10:00
amaitland
a17e29d1b9
Merge branch 'issue-672' of https://github.com/rassilon/CefSharp
2015-02-24 13:21:00 +10:00
rassilon
6b51d5759d
Notify browser control directly instead of using an event.
2015-02-23 22:15:37 -05:00
amaitland
5002b8cb51
Set IsBrowserInitialized to false when disposing and then simplify null checks for managedCefBrowserAdapter
...
It's now initialized in the constructor, the relevant check is has the browser been initialized?
2015-02-15 17:35:56 +10:00
Trever Jones
ea83684f18
Check for null object to prevent NullException in SetFocus
2015-02-13 23:41:47 -06:00
rassilon
7c3dcb656e
* Code Review changes
...
* Add float right select drop down for additional move test.
2015-02-11 17:30:33 -05:00
rassilon
2cea50989c
Actually invoke MovingListener on this branch.
2015-02-06 08:53:59 -05:00
rassilon
e200b6e06d
Readd ServiceModel reference in this branch.
2015-02-05 23:41:27 -05:00
rassilon
47916e5639
Focus improvements, take 5, a hopeful fix with lots of extra debugging goo so other people can more easily verify the changes.
...
The additions to MovingListener (and the fields it sets on ChromiumWebBrowser) are ONLY there for debugging related purposes. They will disappear when folks are happy with the results.
2015-02-05 23:31:20 -05:00
rassilon
7a8498bb69
Add System.ServiceModel reference.
2015-02-04 20:14:12 -05:00
rassilon
0507ca52db
Straightforward code review fixes, and correctly attach to newForm.HandleCreated/newForm.HandleDestroyed events.
2015-02-04 19:58:28 -05:00
rassilon
0279c41d3c
Much improved MovingListener that:
...
* Tries to handle any possible cases where the ChromiumWebBrowser.Parent gets changed. (WinForms.Examples doesn't currently need this, btw)
* Expose RefindParentForm as public so that the calling control has control over the call to .FindForm().
* Only indicate movement when there is actual x/y movement and we're not going from Maximized to non-Maximized since this logic ends up being handled elsewhere.
* Add some debugging logic so that other folks can experiment with this scary looking change.
* Cave after realizing that every ChromiumWebBrowser needs to be notified of any kind of movement. (and not JUST the visible tabs from WinForm.Examples)
This means we DO NOT check ParentControl.Visible on purpose.
This was tested by creating two tabs in Winforms.Example, point both at TooltipTest.html (from the custom scheme) and move/resizing around and testing both tabs after the move/resize finished.
2015-02-04 17:24:42 -05:00
rassilon
e921b1b818
Add new file to project.
2015-02-04 02:04:05 -05:00
rassilon
b73e7003d5
Add forgotten copyright header.
2015-02-04 01:46:49 -05:00
rassilon
7894ac61d1
#672 : Notify CEF when our owning form moves (WM_MOVE or WM_MOVING) just like cefclient.
2015-02-04 01:44:54 -05:00
Bill Tutt
7c7ba1dbb6
#785 : Fix IDisposable pattern usage in WinForms ChromiumWebBrowser and WinForms.Example BrowserTabUserControl.
2015-02-03 19:50:16 -05:00
amaitland
bd6ae9751e
Fix spacing
2015-02-03 22:41:43 +10:00
amaitland
b0bff1356b
Merge remote-tracking branch 'remotes/upstream/master' into enhancement/focus-take4
2015-02-03 22:35:57 +10:00
amaitland
c1d44dbcbb
Add Cef.Initialize check in constructor of WinForms and OffScreen implementations - makes them consistent with the WPF version.
2015-02-02 18:17:40 +10:00
amaitland
4405d55221
Create BrowserSettings in WinForms constructor and explicitly Dispose as it wraps an unmanaged object.
2015-02-02 07:42:25 +10:00
amaitland
6e30c097dd
Another attempt at getting focus to work correctly - Simplest approach possible this time
2015-01-29 20:58:47 +10:00
pushplay
aba800a9c3
Implement CefGeolocationHandler::OnRequestGeolocationPermission delegating the request to a CefSharp.IGeolocationHandler implementation. This allows CefSharp to permit geolocation requests.
2015-01-26 14:16:46 -08:00
amaitland
584baa2170
Remove User32.cs and implement Focused methods in NativeMethodWrapper
2014-12-30 16:23:36 +10:00
amaitland
f9821ae549
Add offScreenRendering param to ManagedCefBrowserAdapter and create the relevant Client Adapter as required.
2014-12-30 08:53:16 +10:00
amaitland
3a2dc3ff44
Merge remote-tracking branch 'remotes/upstream/master' into cef/2171
2014-12-22 16:51:23 +10:00
amaitland
9ce2c07888
Reanme SetNavState to SetLoadingStateChange (Internal method rename, to keep inline with Cef API, no external naming changes so shouldn't affect user, just makes it a little easier when looking at the Cef documentation)
2014-12-22 16:48:54 +10:00
amaitland
c7fe363126
Renamed CanReload param on SetNavState to isLoading as that's the value passed through from Cef
...
Add IsLoading property to NavStateChangedEventArgs (inverse of CanReload)
Whilst `CanReload` is the inverse of `IsLoading` I think from a support point of view it's easier to have both as users are looking for some sort of loading flag
2014-12-22 16:44:05 +10:00