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/. */
5 #include
"nsISupports.idl"
7 interface nsIBaseWindow
;
10 * Updates macOS widget code with the current URI and page title. Widget code
11 * can use this information to update NSUserActivity, enabling Handoff
15 [scriptable
, uuid(29046c8f
-cba6
-4ffa
-9141-1685e96c4ea0
)]
16 interface nsIMacUserActivityUpdater
: nsISupports
19 * Update active URL and page title for the given window.
21 void updateLocation
(in AString pageUrl
,
23 in nsIBaseWindow window
);