mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 815172 - Provide widget the ability to call into PanelUI and get other browser info. r=jimm
This commit is contained in:
parent
b6652b7f05
commit
48c49288ad
@ -142,7 +142,9 @@ XPIDLSRCS += nsIPrintSettingsWin.idl \
|
||||
endif
|
||||
|
||||
ifdef MOZ_METRO
|
||||
XPIDLSRCS += nsIWinMetroUtils.idl
|
||||
XPIDLSRCS += nsIWinMetroUtils.idl \
|
||||
MetroUIUtils.idl \
|
||||
$(NULL)
|
||||
endif
|
||||
|
||||
ifeq ($(MOZ_WIDGET_TOOLKIT),cocoa)
|
||||
|
24
widget/MetroUIUtils.idl
Normal file
24
widget/MetroUIUtils.idl
Normal file
@ -0,0 +1,24 @@
|
||||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
|
||||
#include "nsISupports.idl"
|
||||
|
||||
[scriptable, uuid(aef0cd6f-27cc-40a4-90dc-764c0aabeb75)]
|
||||
|
||||
interface nsIMetroUIUtils : nsISupports {
|
||||
/**
|
||||
* Loads the specified panel in the browser.
|
||||
* @ param aPanelId The identifier of the pane to load
|
||||
*/
|
||||
void showPanel(in AString aPanelId);
|
||||
|
||||
/**
|
||||
* Obtains the current page information
|
||||
* @param aURI The current page URI
|
||||
* @param aTitle The current page title
|
||||
*/
|
||||
void getCurrentPageInfo(out AString aURI, out AString aTitle);
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user