Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
botder authored Aug 15, 2023
1 parent 2e95a8a commit 52bdc7f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Client/cefweb/CWebView.h
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ class CWebView : public CWebViewInterface,
bool GetProperty(const SString& strKey, SString& outProperty);

void InjectMouseMove(int iPosX, int iPosY);
void InjectMouseDown(eWebBrowserMouseButton mouseButton, int count = 1);
void InjectMouseDown(eWebBrowserMouseButton mouseButton, int count);
void InjectMouseUp(eWebBrowserMouseButton mouseButton);
void InjectMouseWheel(int iScrollVert, int iScrollHorz);
void InjectKeyboardEvent(const CefKeyEvent& keyEvent);
Expand Down
2 changes: 1 addition & 1 deletion Client/mods/deathmatch/logic/CClientWebBrowser.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class CClientWebBrowser : public CClientTexture, public CWebBrowserEventsInterfa
bool GetProperty(const SString& strKey, SString& outValue);

void InjectMouseMove(int iPosX, int iPosY);
void InjectMouseDown(eWebBrowserMouseButton mouseButton, int count = 1);
void InjectMouseDown(eWebBrowserMouseButton mouseButton, int count);
void InjectMouseUp(eWebBrowserMouseButton mouseButton);
void InjectMouseWheel(int iScrollVert, int iScrollHorz);

Expand Down
2 changes: 1 addition & 1 deletion Client/sdk/core/CWebViewInterface.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class CWebViewInterface
virtual bool GetProperty(const SString& strKey, SString& outProperty) = 0;

virtual void InjectMouseMove(int iPosX, int iPosY) = 0;
virtual void InjectMouseDown(eWebBrowserMouseButton mouseButton, int count = 1) = 0;
virtual void InjectMouseDown(eWebBrowserMouseButton mouseButton, int count) = 0;
virtual void InjectMouseUp(eWebBrowserMouseButton mouseButton) = 0;
virtual void InjectMouseWheel(int iScrollVert, int iScrollHorz) = 0;

Expand Down

0 comments on commit 52bdc7f

Please sign in to comment.