Exemplo n.º 1
0
 /// <summary>
 ///The same as sendMouseEvent but ensures that the event is dispatched to
 /// this DOM window or one of its children.
 /// </summary>
 public void SendMouseEventToWindow(string aType, float aX, float aY, GeckoMouseButton aButton, int aClickCount, int aModifiers, bool aIgnoreRootScrollFrame, float aPressure, ushort aInputSourceArg)
 {
     using (nsAString type = new nsAString(aType))
     {
         _windowUtils.Instance.SendMouseEventToWindow(type, aX, aY, (int)aButton, aClickCount, aModifiers, aIgnoreRootScrollFrame, aPressure, aInputSourceArg, false, 10);
     }
 }
Exemplo n.º 2
0
 /// <summary>
 ///The same as sendMouseEvent but ensures that the event is dispatched to
 /// this DOM window or one of its children.
 /// </summary>		
 public void SendMouseEventToWindow(string aType, float aX, float aY, GeckoMouseButton aButton, int aClickCount, int aModifiers, bool aIgnoreRootScrollFrame, float aPressure, ushort aInputSourceArg)
 {
     using (nsAString type = new nsAString(aType))
     {
         _windowUtils.Instance.SendMouseEventToWindow(type, aX, aY, (int)aButton, aClickCount, aModifiers, aIgnoreRootScrollFrame, aPressure, aInputSourceArg);
     }
 }