Commit Graph

183 Commits

Author SHA1 Message Date
Alex Maitland bb83e54481 Change IsMainBrowser to use CefRefPtr instead of IBrowser instance
IBrowser might be disposed before we can perform the Identifier check
2023-04-01 07:29:36 +10:00
Alex Maitland 12012b8baa Rename IsHostedBrowser to IsMainBrowser 2023-03-31 14:27:32 +10:00
Alex Maitland eea5a8a223 Core - ClientAdapter improve HasParent checks
- HasParent check has now been replaced with IsHostedBrowser
  which has additional check to make sure the internal
  IWebBrowser.Set* methods are only called for a IBrowser
  instance that's directly associated with a ChromiumWebBrowser instance
  This resolves issues with DevTools being opened for a popup hosted
  in a ChromiumWebBrowser instance.

Related discussion https://github.com/cefsharp/CefSharp/discussions/4438
2023-03-31 14:13:13 +10:00
Alex Maitland bf7b73419c Core - ClientAdapter::OnFrameCreated called before OnAfterCreated
- The very first call to ClientAdapter::OnFrameCreated happens
  before OnAfterCreated leaving us with a IBrowser instance that's null
  Create an IBrowser instance that's scoped to the method call
2023-03-31 11:49:57 +10:00
Alex Maitland c1be4d8ea1 Core - Improve ClientAdapter::GetBrowserWrapper logic
Simplify the logic

- For non popup return immediately (most common scenario)
- Check for IBrowser instance for matching popup
- Check for HasParent and return the browser Instance
- Return nullptr if no matching IBrowser wrapper found
2023-03-31 11:00:20 +10:00
Alex Maitland 3ce76eb191 CEF Issue Tracker moved to GitHub
- Update some of the internal links

Issue #4430
2023-03-24 10:52:58 +10:00
Alex Maitland f14ecb69b9 Core - Remove Cef.EnableHighDPISupport
Resolves #4417
2023-03-15 18:26:35 +10:00
Alex Maitland 7cdab11dc3 Upgrade to 111.2.2+g1b83ff6+chromium-111.0.5563.65 / Chromium 111.0.5563.65 2023-03-12 16:53:52 +10:00
Alex Maitland 05fc069837 Upgrade to 111.1.2+g6926287+chromium-111.0.5563.64 / Chromium 111.0.5563.64 2023-03-09 12:35:33 +10:00
Alex Maitland 4f6fdf85c8 Upgrade to 111.0.11+geb023d1+chromium-111.0.5563.50 / Chromium 111.0.5563.50 2023-03-04 10:19:50 +10:00
Alex Maitland f7cc1d4b63 Upgrade to 110.0.28+g16a2153+chromium-110.0.5481.104 / Chromium 110.0.5481.104 2023-02-22 05:53:01 +10:00
Alex Maitland 7edc164206 Upgrade to 110.0.25+g75b1c96+chromium-110.0.5481.78 / Chromium 110.0.5481.78 2023-02-10 06:17:40 +10:00
Alex Maitland 91d9981ff2 Upgrade to 110.0.22+gb3f93d5+chromium-110.0.5481.77 / Chromium 110.0.5481.77 2023-02-06 12:08:02 +10:00
Alex Maitland ee0c75368c Core - Update IPopupFeatures
Upstream change see https://github.com/chromiumembedded/cef/commit/d04b5d4f8747ec68370740729922a9cd6868b8f5#diff-447d40892c51b4ffc870cf1a28bab2ae2d411752216be4750a17193e6675b26bL2182

Resolves #4383
2023-02-02 11:27:51 +10:00
Alex Maitland 2cb65efeed Upgrade to 110.0.21+g6054757+chromium-110.0.5481.52 / Chromium 110.0.5481.52 2023-02-02 11:13:47 +10:00
Alex Maitland 17173587fe Core - Improve IBrowser.MainFrame and IBrowser.FocusedFrame null handling
- When CEF added CefFrameManager support the lifespan of a frame changed, it's now possible for MainFrame/FocusedFrame
  to be null when the browser is closed.

Issue #4368
2023-01-24 10:55:02 +10:00
Alex Maitland a51cdd3723 Core - OnSelectClientCertificate copy certificate vector
- Attempt to fix AccessViolationException by making a copy of
  the vector

Issue #2948
2023-01-17 10:22:59 +10:00
Alex Maitland 2ee7e9d442 Upgrade to 109.1.11+g6d4fdb2+chromium-109.0.5414.87 / Chromium 109.0.5414.87 2023-01-14 07:16:02 +10:00
Alex Maitland ceb347988d Upgrade to 109.1.8+g44ba3e7+chromium-109.0.5414.87 / Chromium 109.0.5414.87 2023-01-13 20:35:52 +10:00
Alex Maitland c2edd111eb Core - Remove IRequestHandler.OnQuotaRequest
persistent quota is no longer supported (see https://crbug.com/1208141)

Resolves #4357
2023-01-08 11:53:54 +10:00
Alex Maitland 4e2612a3be Upgrade to 109.1.7+gb7b1fdc+chromium-109.0.5414.74 / Chromium 109.0.5414.74 2023-01-08 11:53:53 +10:00
Alex Maitland d5813846fc Upgrade to 108.4.13+ga98cd4c+chromium-108.0.5359.125 / Chromium 108.0.5359.125 2022-12-16 11:59:03 +10:00
Alex Maitland f025e9d00d Upgrade to 108.4.12+g2e23ced+chromium-108.0.5359.71 / Chromium 108.0.5359.71 2022-12-03 14:24:05 +10:00
Alex Maitland 2e7dbef9ef Core - Update PdfPrintSettings
Resolves #4311
2022-11-21 15:10:19 +10:00
Alex Maitland 7f02409c37 Upgrade to 108.4.10+g8d6f4e3+chromium-108.0.5359.48 / Chromium 108.0.5359.48 2022-11-21 11:50:16 +10:00
Alex Maitland 3866af03ca Upgrade to 107.1.9+g1f0a21a+chromium-107.0.5304.110 / Chromium 107.0.5304.110 2022-11-14 14:16:09 +10:00
Alex Maitland 0243bfa1f4 Upgrade to 107.1.5+g58ed78e+chromium-107.0.5304.88 / Chromium 107.0.5304.88 2022-11-14 14:15:45 +10:00
Alex Maitland c11b92912a Core - Cef.Initialize exception wording improvements 2022-11-08 14:57:59 +10:00
Alex Maitland 766ebbc8f6 Core - IFrame.IsMain remove ThrowIfFrameInvalid guard
- Calling IsMain on an invalid frame is allowable
2022-11-03 11:14:12 +10:00
Alex Maitland 91b79262fa Upgrade to 107.1.4+geb36a79+chromium-107.0.5304.68 / Chromium 107.0.5304.68 2022-10-30 13:07:15 +10:00
Alex Maitland 60df304c93 Upgrade to 106.0.29+gc10d419+chromium-106.0.5249.119 / Chromium 106.0.5249.119 2022-10-16 12:03:40 +10:00
Alex Maitland bda48d4c6e Upgrade to 106.0.26+ge105400+chromium-106.0.5249.91 / Chromium 106.0.5249.91 2022-10-05 11:45:32 +10:00
Alex Maitland 252f2cd99b Upgrade to 106.0.25+gf7fefe5+chromium-106.0.5249.61 / Chromium 106.0.5249.61 2022-10-04 10:54:08 +10:00
Alex Maitland da94de224e Upgrade to 106.0.20+g354064a+chromium-106.0.5249.12 / Chromium 106.0.5249.12 2022-09-21 10:02:14 +10:00
Alex Maitland 0ad6310e87 Upgrade to 105.3.39+g2ec21f9+chromium-105.0.5195.127 / Chromium 105.0.5195.127 2022-09-19 16:35:45 +10:00
Alex Maitland f3676bed4e Upgrade to 105.3.33+gd83f874+chromium-105.0.5195.102 / Chromium 105.0.5195.102 2022-09-08 11:17:33 +10:00
Alex Maitland beca2863a8 Core - Migrate from CefTime to CefBaseTime (CookieManger Tests)
- Add basic xUnit test
- Don't set Creation/LastAccess on cookie creation, these are set internally in Chromium
  and are left uninitialized until the cookie is read back from the browser

I haven't tested though I suspect Cookie.Expiry was incorrectly set when Local/Unspecified DateTime was used
cookies are always in GMT

Issue #4234
2022-09-07 10:56:29 +10:00
Alex Maitland 416ed308c2 Core - Migrate from CefTime to CefBaseTime (Execution/Binding)
- Convert more of the methods used by JavaScript binding/execution
- Fix naming of FromDateTimeToBaseTime

Issue #4234
2022-09-06 19:39:43 +10:00
Alex Maitland 1a8c7cf09e Core - Migrate from CefTime to CefBaseTime (CefCookie)
- Add new method for conversion from DateTime to CefBaseTime
- Change Cookie.SetCreationDate and Cookie.SetLastAccessDate to take Long

Issue #4234
2022-09-06 15:03:36 +10:00
Alex Maitland 5f73ce568b Core - Migrate from CefTime to CefBaseTime (CefNavigationEntry)
- Add new method to convert from CefBaseTime to DateTime

Issue #4234
2022-09-06 14:21:11 +10:00
Alex Maitland 4d78c70793 Core - Migrate from CefTime to CefBaseTime (CefDownloadItem)
- Add new method to convert from CefBaseTime to nullable DateTime

Issue #4234
2022-09-06 14:11:45 +10:00
Alex Maitland b97dae0b61 Core - Merge DateTimeUtils into CefTimeUtils
Issue #4234
2022-09-06 13:50:25 +10:00
Alex Maitland a395b5d234 Core - Convert CefTime to CefBaseTime
- Interim step before replacing CefTime with CefBaseTime.

Issue #4234
2022-09-06 11:09:42 +10:00
Alex Maitland 6be92988d2 Upgrade to 105.3.25+g0ca6a9e+chromium-105.0.5195.54 / Chromium 105.0.5195.54 2022-09-04 10:40:53 +10:00
Alex Maitland 01310244ee Upgrade to 104.4.24+gdf482f6+chromium-104.0.5112.102 / Chromium 104.0.5112.102 2022-08-21 13:31:04 +10:00
Alex Maitland e064878d0a Core - CefValueWrapper add DebuggerDisplay 2022-08-19 11:07:05 +10:00
Alex Maitland 1ae9e01b41 Core - PermissionHandler followup
- Rename enums (remove cef prefix)
- Fix typos
- Slightly improve docs
2022-08-08 14:18:54 +10:00
Алексей f92687b7cc Core - Add support PermissonHandler
https://bitbucket.org/chromiumembedded/cef/issues/3352/add-cefpermissionhandler-callback-for-the
2022-08-08 13:59:32 +10:00
Alex Maitland d413f481dd Upgrade to 104.4.18+g2587cf2+chromium-104.0.5112.81 / Chromium 104.0.5112.81 2022-08-08 11:18:43 +10:00
Alex Maitland 30f9d8db2c Core - CefRunContextMenuCallbackWrapper use cef_event_flags_t as typedef was removed
- Change to use cef_event_flags_t
- Fix some xml doc

https://github.com/chromiumembedded/cef/commit/d9b764860aa0c1dfad58b123474bc133c4e43d39
2022-08-02 13:33:52 +10:00