Bug 1800044 [wpt PR 36907] - Fix same URL navigation test, a=testonly
[gecko.git] / widget / nsIMacUserActivityUpdater.idl
blobc5de948a4320aec034c99417932d81527a170a01
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;
9 /**
10 * Updates macOS widget code with the current URI and page title. Widget code
11 * can use this information to update NSUserActivity, enabling Handoff
12 * functionality.
15 [scriptable, uuid(29046c8f-cba6-4ffa-9141-1685e96c4ea0)]
16 interface nsIMacUserActivityUpdater : nsISupports
18 /**
19 * Update active URL and page title for the given window.
21 void updateLocation(in AString pageUrl,
22 in AString pageTitle,
23 in nsIBaseWindow window);