Skip to content

Commit a4bbfbe

Browse files
committed
Making .NET Interactions device classes public
Fixes issue #3989.
1 parent d59647e commit a4bbfbe

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

dotnet/src/webdriver/Interactions/KeyInputDevice.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// <copyright file="KeyInputDevice.cs" company="WebDriver Committers">
1+
// <copyright file="KeyInputDevice.cs" company="WebDriver Committers">
22
// Licensed to the Software Freedom Conservancy (SFC) under one
33
// or more contributor license agreements. See the NOTICE file
44
// distributed with this work for additional information
@@ -27,7 +27,7 @@ namespace OpenQA.Selenium.Interactions
2727
/// <summary>
2828
/// Represents a key input device, such as a keyboard.
2929
/// </summary>
30-
internal class KeyInputDevice : InputDevice
30+
public class KeyInputDevice : InputDevice
3131
{
3232
/// <summary>
3333
/// Initializes a new instance of the <see cref="KeyInputDevice"/> class.

dotnet/src/webdriver/Interactions/PointerInputDevice.cs

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// <copyright file="PointerInputDevice.cs" company="WebDriver Committers">
1+
// <copyright file="PointerInputDevice.cs" company="WebDriver Committers">
22
// Licensed to the Software Freedom Conservancy (SFC) under one
33
// or more contributor license agreements. See the NOTICE file
44
// distributed with this work for additional information
@@ -29,7 +29,7 @@ namespace OpenQA.Selenium.Interactions
2929
/// <summary>
3030
/// Represents the origin of the coordinates for mouse movement.
3131
/// </summary>
32-
internal enum CoordinateOrigin
32+
public enum CoordinateOrigin
3333
{
3434
/// <summary>
3535
/// The coordinate origin is the origin of the view port of the browser.
@@ -50,7 +50,7 @@ internal enum CoordinateOrigin
5050
/// <summary>
5151
/// Specifies the type of pointer a pointer device represents.
5252
/// </summary>
53-
internal enum PointerKind
53+
public enum PointerKind
5454
{
5555
/// <summary>
5656
/// The pointer device is a mouse.
@@ -71,7 +71,7 @@ internal enum PointerKind
7171
/// <summary>
7272
/// Specifies the button used during a pointer down or up action.
7373
/// </summary>
74-
internal enum MouseButton
74+
public enum MouseButton
7575
{
7676
/// <summary>
7777
/// The button used is the primary button.
@@ -92,7 +92,7 @@ internal enum MouseButton
9292
/// <summary>
9393
/// Represents a pointer input device, such as a stylus, mouse, or finger on a touch screen.
9494
/// </summary>
95-
internal class PointerInputDevice : InputDevice
95+
public class PointerInputDevice : InputDevice
9696
{
9797
private PointerKind pointerKind;
9898

0 commit comments

Comments
 (0)