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