David Serfozo
5e2fff4e15
modified stringutils to accept ienumerable and cookiemanager to use it
2015-07-30 08:23:22 +02:00
David Serfozo
f7200064f3
added missing license headers
2015-07-29 22:56:46 +02:00
David Serfozo
abd1f9a89e
added missing method in ICookieManager and removed now unnecessary methods from Cef.h
2015-07-29 22:55:35 +02:00
David Serfozo
648ec6888a
added ICookieManager implementation
2015-07-29 22:47:10 +02:00
amaitland
2b34f80e7c
Quick fix to make sure the correct IBrowser instance is used
2015-07-28 18:23:53 +10:00
amaitland
4ce9bc5463
Add IBrowser param to ILifeSpanHandler.OnAfterCreated
2015-07-28 17:19:50 +10:00
amaitland
9a0d7688a0
Merge branch 'cef/2272'
2015-07-28 17:17:12 +10:00
amaitland
19f0d61896
Add extra check for HasParent otherwise the browser window won't be closed accordingly - need to investigate why handles don't match
2015-07-28 17:07:25 +10:00
amaitland
ce2521c986
Add IWebBrowserInternal.HasParent property so we know when there is a parent - OnAfterCreated is handled different for popup with a parent
2015-07-28 16:59:59 +10:00
amaitland
d7edc64b13
Remove IsOffScreen param - will use the IPopupHandler events instead
2015-07-28 16:18:54 +10:00
amaitland
d843e96407
Merge branch 'cef/2272' of https://github.com/jamespearce2006/CefSharp into cef/2272
2015-07-28 15:59:30 +10:00
amaitland
bc8e2e6429
Fix minor mistake in OnResourceRedirect - was attempting to get the popup browser instance - still need to rewrite this at some point so it's cleaner
2015-07-28 13:50:28 +10:00
Alex Maitland
a672d239eb
Merge pull request #1137 from amaitland/features/add2357
...
Add Features related to 2357 Update
2015-07-28 11:17:35 +10:00
amaitland
03fa6e52c2
Add target_disposition and user_gesture params to ILifeSpanHandler.OnBeforePopup
2015-07-28 11:14:06 +10:00
amaitland
580faf9d90
Fix bug in OnFaviconURLChange - incorrectly passes in true for IsPopup when it's the main window
...
Should probably rewrite the function to simplify
2015-07-24 14:50:09 +10:00
amaitland
118182f537
Add modifiers param to SendMouseWheelEvent
...
Add SendKeyEvent to IBrowserHost including mapping struct classes
2015-07-24 12:23:29 +10:00
amaitland
92694e1852
Fix compiler warning when casting from int to bool - simply check if == 0
2015-07-24 12:16:56 +10:00
amaitland
dbf16a4973
Add IBrowserHost.SetFocus
...
Add IBrowserHost.SendFocusEvent
Add ThrowIfDisposed for each method call in CefBrowserHostWrapper
2015-07-24 11:20:42 +10:00
amaitland
1ca9d90bd8
By default enable system wide PPAPI support
...
Can be overridden by modifying CefCommandLineArgs and setting the value of `enable-system-flash` to `0`
2015-07-23 19:30:42 +10:00
Alex Maitland
8a1eb320bd
Merge pull request #1142 from NumbersInternational/fixes/callback-use-after-dispose
...
Ignore callback usage after dispose
2015-07-23 18:59:10 +10:00
amaitland
0379632c3b
Add CefGitHash property - useful for determining which git commit the build is based on
2015-07-23 15:52:24 +10:00
jankurianski
338133a98d
Change 'if' style for null _callback check
2015-07-23 15:52:08 +10:00
jankurianski
2fcf5b345b
Use MCefRefPtr::get() to check for null reference
2015-07-23 15:48:43 +10:00
jankurianski
de1a46766f
Ignore callback usage after dispose rather than crashing with NullReferenceException
...
Users have no way to determine whether a callback has been disposed.
Resulting in the following crash if the callback is fired. This change
silently ignores the methods. Another approach would have been to add
an IsDisposed flag that users must check but this seems error-prone.
Exception: System.NullReferenceException
Message: 'Object reference not set to an instance of an object.'
Source: CefSharp.Core
Stacktrace:
at CefSharp.CefCallbackWrapper.Continue()
at ...
2015-07-23 13:50:12 +10:00
amaitland
8afb090f06
Add Timeout to Cef.GetPlugins
...
Made TaskExtensions public otherwise the c++ code cannot access it
Add try catch to CefExample to handle task being cancelled
2015-07-23 09:57:24 +10:00
amaitland
7169d904e7
Pedantic code cleanup - mostly just formatting and rearrange some if statements
...
Fixed one minor issue with OnBeforeResourceLoad - wouldn't have been called for a popup if RequestHandler was null
2015-07-22 15:36:44 +10:00
amaitland
a88ca171c9
Add IBrowser param to OnFaviconUrlChange
...
Add IBrowser param to OnResourceRedirect
Update comment so hopefully it's clearer that the browserControl param is the ChromiumWebBrowser instance
2015-07-22 14:53:34 +10:00
amaitland
1aba3b59e6
Add Request param to OnResourceRedirect
2015-07-22 14:47:28 +10:00
amaitland
2a0b7a9ed6
Add AcceptLanguageList to BrowserSettings and CefSettings
...
Resolves #1055
2015-07-22 14:32:28 +10:00
Alex Maitland
3735150cdc
Merge pull request #1135 from amaitland/feature/requestcontext2
...
Add basic RequestContext Implementation
2015-07-22 14:27:07 +10:00
amaitland
42d51980ef
Add nullptr check and return NULL for implicitor operator when object is not initialized
2015-07-22 14:19:50 +10:00
amaitland
50af1575cc
Dispose of the RequestContextSettings when the RequestContext is disposed of
2015-07-22 14:11:44 +10:00
amaitland
4ce93ba555
Add RequestContextSettings wrapper
2015-07-22 14:09:20 +10:00
amaitland
0c031a1a3b
Split RequestContext out from BrowserSettings
2015-07-22 13:51:16 +10:00
jankurianski
d8891c7f50
ManagedCefBrowserAdapter can now be disposed before initialization
...
This fixes a crash when disposing a ChromiumWebBrowser prior to
initialization.
2015-07-22 13:16:59 +10:00
amaitland
265ab37620
Assign cachePath
...
TODO create a wrapper around CefRequestContextSettings
2015-07-21 23:57:24 +10:00
Tommaso Ercole
a3e869b542
Add basic CefRequestContext wrapper
2015-07-21 23:51:49 +10:00
jankurianski
5e658fccb5
Upgraded to use local 3.2357.1274 NuGet packages and fixed breaking changes
2015-07-21 15:16:25 +10:00
amaitland
c88952a9fa
Merge remote-tracking branch 'remotes/upstream/master' into feature/postdata
2015-07-10 16:55:46 +10:00
amaitland
c201454905
Merge branch 'cefipcjscallbacks' of https://github.com/arsher/CefSharp into feature/replacewcf2
2015-07-10 10:12:53 +10:00
David Serfozo
e0d5dcd283
added error handling when browser id has no match in render process
2015-07-09 23:36:31 +02:00
amaitland
d766cc826e
The Message should be sent on the corresponding browser, not just the first browser - handle popups
...
Remove browserId from the message as it shouldn't be required now
2015-07-09 12:01:44 +10:00
amaitland
7ec1d78205
Don't send message if browser->IsDisposed - shouldn't be throwing exceptions in destructor/finalizer blocks
2015-07-09 11:14:58 +10:00
amaitland
60f98cb55d
Fix formatting
2015-07-09 11:06:42 +10:00
amaitland
7053eebae3
Reduce nesting for if statement
2015-07-09 11:06:36 +10:00
amaitland
9192bdfb4b
Convert BrowserWrapper into a basic property - simpler
2015-07-09 11:05:00 +10:00
David Serfozo
5c9681e62e
renamed javascriptcallbackimpl
2015-07-08 18:41:04 +02:00
David Serfozo
798d90ade2
constructors/destructors moved to .h;;little changes to make code more consistent
2015-07-08 18:29:46 +02:00
David Serfozo
33cd908fdd
dded explicit accessors
2015-07-08 18:21:47 +02:00
David Serfozo
2feeac690a
changed jscallback implementation to use cefsharpbrowserwrapper
2015-07-07 19:30:47 +02:00