﻿// Copyright (c) 2014 SIL International
// This software is licensed under the MIT License (http://opensource.org/licenses/MIT)
using System;
using System.Windows.Forms;

namespace Palaso.UI.WindowsForms.HtmlBrowser
{
	public interface IWebBrowser
	{
		bool CanGoBack { get; }
		bool CanGoForward { get; }
		string DocumentText { set; }
		string DocumentTitle { get; }
		bool Focused { get; }
		bool IsBusy { get; }
		bool IsWebBrowserContextMenuEnabled { get; set; }
		string StatusText { get; }
		Uri Url { get; set; }
		bool GoBack();
		bool GoForward();
		void Navigate(string urlString);
		void Navigate(Uri url);
		void Refresh();
		void Refresh(WebBrowserRefreshOption opt);
		void Stop();
		void ScrollLastElementIntoView();
		object NativeBrowser { get; }
	}
}
﻿// Copyright (c) 2014 SIL International
// This software is licensed under the MIT License (http://opensource.org/licenses/MIT)
using System;
using System.Windows.Forms;

namespace Palaso.UI.WindowsForms.HtmlBrowser
{
	public interface IWebBrowser
	{
		bool CanGoBack { get; }
		bool CanGoForward { get; }
		/// <summary>
		/// Set of the DocumentText will load the given string content into the browser.
		/// If a get for DocumentText proves necessary Jason promises to write the reflective
		/// gecko implementation.
		/// </summary>
		string DocumentText { set; }
		string DocumentTitle { get; }
		bool Focused { get; }
		bool IsBusy { get; }
		bool IsWebBrowserContextMenuEnabled { get; set; }
		string StatusText { get; }
		Uri Url { get; set; }
		bool GoBack();
		bool GoForward();
		void Navigate(string urlString);
		void Navigate(Uri url);
		void Refresh();
		void Refresh(WebBrowserRefreshOption opt);
		void Stop();
		void ScrollLastElementIntoView();
		object NativeBrowser { get; }
	}
}
Document a promise to reintroduce the DocumentText get
Document a promise to reintroduce the DocumentText get
