private GeckoSelection(nsISelection selection)
		{
			// selection is always NOT null, when we use Create function
			//if (selection == null)
			//	throw new ArgumentException("selection");

			_selection = new ComPtr<nsISelection>(selection);
		}
        private GeckoSelection(nsISelection selection)
        {
            // selection is always NOT null, when we use Create function
            //if (selection == null)
            //	throw new ArgumentException("selection");

            this.Selection = selection;
        }
		private GeckoSelection(nsISelection selection)
		{
			// selection is always NOT null, when we use Create function
			//if (selection == null)
			//	throw new ArgumentException("selection");

			this.Selection = selection;
		}
Exemple #4
0
        internal GeckoSelection(nsISelection selection)
        {
            if (selection == null)
            {
                throw new ArgumentException("selection");
            }

            this.Selection = selection;
        }
Exemple #5
0
        public static nsISelection GetProxy(Mono.WebBrowser.IWebBrowser control, nsISelection obj)
        {
            object o = Base.GetProxyForObject(control, typeof(nsISelection).GUID, obj);

            return(o as nsISelection);
        }
 internal GeckoSelection(nsISelection selection)
 {
     this.Selection = selection;
 }
		private DomSelection(nsISelection selection)
		{
			Debug.Assert(selection != null);
			m_Selection = selection;
		}
 internal static GeckoSelection Create(nsISelection selection)
 {
     return(selection == null ? null : new GeckoSelection(selection));
 }
        internal GeckoSelection(nsISelection selection)
        {
            if (selection == null)
                throw new ArgumentException("selection");

            this.Selection = selection;
        }
Exemple #10
0
 internal GeckoSelection(nsISelection selection)
 {
     this.Selection = selection;
 }
 private GeckoSelection(mozIDOMWindowProxy window, nsISelection selection)
 {
     _window        = window;
     _selection     = new Lazy <Selection>(() => new WebIDL.Selection((mozIDOMWindowProxy)_window, (nsISupports)selection));
     this.Selection = selection;
 }
		internal static GeckoSelection Create(nsISelection selection)
		{
			return selection == null ? null : new GeckoSelection( selection );
		}
Exemple #13
0
		internal static DomSelection Create(nsISelection selection)
		{
			return selection != null ? new DomSelection(selection) : null;
		}
Exemple #14
0
 public void UpdateCommands(string action, nsISelection sel, short reason)
 {
     this.CallVoidMethod("updateCommands", action, sel, reason);
 }
Exemple #15
0
 public void UpdateCommands(string action, nsISelection sel)
 {
     this.CallVoidMethod("updateCommands", action, sel);
 }
Exemple #16
0
		public static nsISelection GetProxy (Mono.WebBrowser.IWebBrowser control, nsISelection obj)
		{
			object o = Base.GetProxyForObject (control, typeof(nsISelection).GUID, obj);
			return o as nsISelection;
		}
 internal static GeckoSelection Create(mozIDOMWindowProxy window, nsISelection selection)
 {
     return(selection == null ? null : new GeckoSelection(window, selection));
 }