dom/base/nsGlobalWindowCommands.h

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/dom/base/nsGlobalWindowCommands.h	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,27 @@
     1.4 +/* This Source Code Form is subject to the terms of the Mozilla Public
     1.5 + * License, v. 2.0. If a copy of the MPL was not distributed with this
     1.6 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
     1.7 +
     1.8 +#ifndef nsGlobalWindowCommands_h__
     1.9 +#define nsGlobalWindowCommands_h__
    1.10 +
    1.11 +#include "nscore.h"
    1.12 +
    1.13 +class nsIControllerCommandTable;
    1.14 +
    1.15 +class nsWindowCommandRegistration
    1.16 +{
    1.17 +public:
    1.18 +  static nsresult  RegisterWindowCommands(nsIControllerCommandTable *ccm);
    1.19 +};
    1.20 +
    1.21 +
    1.22 +// XXX find a better home for these
    1.23 +#define NS_WINDOWCONTROLLER_CID        \
    1.24 + { /* 7BD05C78-6A26-11D7-B16F-0003938A9D96 */       \
    1.25 +  0x7BD05C78, 0x6A26, 0x11D7, {0xB1, 0x6F, 0x00, 0x03, 0x93, 0x8A, 0x9D, 0x96} }
    1.26 +
    1.27 +#define NS_WINDOWCONTROLLER_CONTRACTID "@mozilla.org/dom/window-controller;1"
    1.28 +
    1.29 +#endif // nsGlobalWindowCommands_h__
    1.30 +

mercurial