Closed
Bug 963235
Opened 9 years ago
Closed 5 years ago
Support for tab reuse or grouping based on the initiating app
Categories
(Firefox for Metro Graveyard :: Shell, defect)
Tracking
(Not tracked)
RESOLVED
INCOMPLETE
People
(Reporter: jimm, Unassigned)
References
Details
(Whiteboard: [feature] p=0)
For ux consideration, in 8.1 we can query the id of the app that fed us a url to open, and if we want, group or reuse a tab based on that id. // Implemented by Windows. When a Windows Store app launches // a browser via association launch, an object implementing the // ILaunchSourceAppUserModelId interface is set on the site chain of // the CoreApplication object of the browser. The browser may call // QueryService(SID_LaunchSourceAppUserModelId, ...) on the site pointer // to retrieve the interface from which the AppUserModelId of the app that // launches the browser is available. interface ILaunchSourceAppUserModelId : IUnknown { HRESULT GetAppUserModelId([out, string] LPWSTR *launchingApp); } void GetSourceAppId(_In_ IUnknown *site) { ComPtr<ILaunchSourceAppUserModelId> launchSourceAppId; HRESULT hr = IUnknown_QueryService(site, SID_LaunchSourceAppUserModelId, IID_PPV_ARGS(&launchSourceAppId)); if (SUCCEEDED(hr)) { PWSTR launchingApp; hr = launchSourceAppId->GetAppUserModelId(&launchingApp); } // ....This resource is later freed using CoTaskMemFree() }
Updated•9 years ago
|
Blocks: metrobacklog
Whiteboard: [feature] p=0
![]() |
Reporter | |
Comment 1•9 years ago
|
||
Note, we can also do this for the "Search experience", and we have access to referrer info for this as well.
Comment 2•5 years ago
|
||
Mass close of bugs in obsolete product https://bugzilla.mozilla.org/show_bug.cgi?id=1350354
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•