@@ -91,7 +91,7 @@ public partial class ChromiumWebBrowser : Control, IRenderWebBrowser, IWpfWebBro
91
91
/// </summary>
92
92
private readonly string initialAddress ;
93
93
/// <summary>
94
- /// Has the underlying Cef Browser been created (slightly different to initliazed in that
94
+ /// Has the underlying Cef Browser been created (slightly different to initialized in that
95
95
/// the browser is initialized in an async fashion)
96
96
/// </summary>
97
97
private bool browserCreated ;
@@ -336,7 +336,7 @@ static ChromiumWebBrowser()
336
336
if ( CefSharpSettings . ShutdownOnExit )
337
337
{
338
338
//Use Dispatcher.FromThread as it returns null if no dispatcher
339
- //is avaliable for this thread.
339
+ //is available for this thread.
340
340
var dispatcher = Dispatcher . FromThread ( Thread . CurrentThread ) ;
341
341
if ( dispatcher == null )
342
342
{
@@ -401,7 +401,7 @@ private static void OnApplicationExit(object sender, ExitEventArgs e)
401
401
402
402
/// <summary>
403
403
/// Required for designer support - this method cannot be inlined as the designer
404
- /// will attempt to load libcef.dll and will subsiquently throw an exception.
404
+ /// will attempt to load libcef.dll and will subsequently throw an exception.
405
405
/// </summary>
406
406
[ MethodImpl ( MethodImplOptions . NoInlining ) ]
407
407
private static void CefPreShutdown ( )
@@ -411,7 +411,7 @@ private static void CefPreShutdown()
411
411
412
412
/// <summary>
413
413
/// Required for designer support - this method cannot be inlined as the designer
414
- /// will attempt to load libcef.dll and will subsiquently throw an exception.
414
+ /// will attempt to load libcef.dll and will subsequently throw an exception.
415
415
/// </summary>
416
416
[ MethodImpl ( MethodImplOptions . NoInlining ) ]
417
417
private static void CefShutdown ( )
@@ -437,10 +437,10 @@ public ChromiumWebBrowser()
437
437
/// Initializes a new instance of the <see cref="ChromiumWebBrowser"/> class.
438
438
/// Use this constructor to load the browser before it's attached to the Visual Tree.
439
439
/// The underlying CefBrowser will be created with the specified <paramref name="size"/>.
440
- /// CEF requires posative values for <see cref="Size.Width"/> and <see cref="Size.Height"/>,
440
+ /// CEF requires positive values for <see cref="Size.Width"/> and <see cref="Size.Height"/>,
441
441
/// if values less than 1 are specified then the default value of 1 will be used instead.
442
442
/// You can subscribe to the <see cref="LoadingStateChanged"/> event and attach the browser
443
- /// to it's parent control when Loading is complete (<see cref="LoadingStateChangedEventArgs.IsLoading"/> is false).
443
+ /// to its parent control when Loading is complete (<see cref="LoadingStateChangedEventArgs.IsLoading"/> is false).
444
444
/// </summary>
445
445
/// <param name="parentWindowHwndSource">HwndSource for the Window that will host the browser.</param>
446
446
/// <param name="initialAddress">address to be loaded when the browser is created.</param>
@@ -488,7 +488,7 @@ public ChromiumWebBrowser(string initialAddress)
488
488
/// <summary>
489
489
/// Constructor logic has been moved into this method
490
490
/// Required for designer support - this method cannot be inlined as the designer
491
- /// will attempt to load libcef.dll and will subsiquently throw an exception.
491
+ /// will attempt to load libcef.dll and will subsequently throw an exception.
492
492
/// </summary>
493
493
[ MethodImpl ( MethodImplOptions . NoInlining ) ]
494
494
private void NoInliningConstructor ( )
@@ -604,7 +604,7 @@ protected virtual void Dispose(bool disposing)
604
604
/// </summary>
605
605
/// <param name="disposing"><see langword="true" /> to release both managed and unmanaged resources; <see langword="false" /> to release only unmanaged resources.</param>
606
606
/// <remarks>
607
- /// This method cannot be inlined as the designer will attempt to load libcef.dll and will subsiquently throw an exception.
607
+ /// This method cannot be inlined as the designer will attempt to load libcef.dll and will subsequently throw an exception.
608
608
/// </remarks>
609
609
[ MethodImpl ( MethodImplOptions . NoInlining ) ]
610
610
private void InternalDispose ( bool disposing )
@@ -645,7 +645,7 @@ private void InternalDispose(bool disposing)
645
645
646
646
browser = null ;
647
647
648
- // Incase we accidentally have a reference to the CEF drag data
648
+ // In case we accidentally have a reference to the CEF drag data
649
649
currentDragData ? . Dispose ( ) ;
650
650
currentDragData = null ;
651
651
@@ -767,7 +767,7 @@ bool IRenderWebBrowser.GetScreenPoint(int viewX, int viewY, out int screenX, out
767
767
screenX = 0 ;
768
768
screenY = 0 ;
769
769
770
- //We manually claculate the screen point as calling PointToScreen can only be called on the UI thread
770
+ //We manually calculate the screen point as calling PointToScreen can only be called on the UI thread
771
771
// in a sync fashion and it's easy for users to get themselves into a deadlock.
772
772
if ( DpiScaleFactor > 1 )
773
773
{
@@ -1321,7 +1321,7 @@ private static void OnTitleChanged(DependencyObject d, DependencyPropertyChanged
1321
1321
/// The zoom level at which the browser control is currently displaying.
1322
1322
/// Can be set to 0 to clear the zoom level (resets to default zoom level).
1323
1323
/// NOTE: For browsers that share the same render process (same origin) this
1324
- /// property is only updated when the browser changes it's visible state.
1324
+ /// property is only updated when the browser changes its visible state.
1325
1325
/// If you have two browsers visible at the same time that share the same render
1326
1326
/// process then zooming one will not update this property in the other (unless
1327
1327
/// the control is hidden and then shown). You can isolate browser instances
@@ -2420,7 +2420,7 @@ private void ZoomReset()
2420
2420
/// </summary>
2421
2421
/// <param name="newDpi">new DPI</param>
2422
2422
/// <remarks>.Net 4.6.2 adds HwndSource.DpiChanged which could be used to automatically
2423
- /// handle DPI change, unforunately we still target .Net 4.5.2</remarks>
2423
+ /// handle DPI change, unfortunately we still target .Net 4.5.2</remarks>
2424
2424
public virtual void NotifyDpiChange ( float newDpi )
2425
2425
{
2426
2426
//Do nothing
0 commit comments