michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: michael@0: #include "nsISupports.idl" michael@0: michael@0: [scriptable, uuid(398fb953-335d-42f1-9e91-e238b56bf4ad)] michael@0: michael@0: interface nsIMetroUIUtils : nsISupports { michael@0: /** michael@0: * Obtains the current page URI michael@0: */ michael@0: attribute AString currentPageURI; michael@0: michael@0: /** michael@0: * Obtains the current page title michael@0: */ michael@0: attribute AString currentPageTitle; michael@0: michael@0: /** michael@0: * Determines if the browser has selected content michael@0: */ michael@0: attribute boolean hasSelectedContent; michael@0: michael@0: /** michael@0: * Determines the text that should be shared michael@0: */ michael@0: attribute AString shareText; michael@0: michael@0: /** michael@0: * Determines the HTML that should be shared michael@0: */ michael@0: attribute AString shareHTML; michael@0: }; michael@0: