10bf48ef3be53ddaa52bbead65dfd75bf90e7a2b5Ben Murdoch/* 20bf48ef3be53ddaa52bbead65dfd75bf90e7a2b5Ben Murdoch * Copyright (C) 2009 Google Inc. All rights reserved. 30bf48ef3be53ddaa52bbead65dfd75bf90e7a2b5Ben Murdoch * 40bf48ef3be53ddaa52bbead65dfd75bf90e7a2b5Ben Murdoch * Redistribution and use in source and binary forms, with or without 50bf48ef3be53ddaa52bbead65dfd75bf90e7a2b5Ben Murdoch * modification, are permitted provided that the following conditions are 60bf48ef3be53ddaa52bbead65dfd75bf90e7a2b5Ben Murdoch * met: 70bf48ef3be53ddaa52bbead65dfd75bf90e7a2b5Ben Murdoch * 80bf48ef3be53ddaa52bbead65dfd75bf90e7a2b5Ben Murdoch * * Redistributions of source code must retain the above copyright 90bf48ef3be53ddaa52bbead65dfd75bf90e7a2b5Ben Murdoch * notice, this list of conditions and the following disclaimer. 100bf48ef3be53ddaa52bbead65dfd75bf90e7a2b5Ben Murdoch * * Redistributions in binary form must reproduce the above 110bf48ef3be53ddaa52bbead65dfd75bf90e7a2b5Ben Murdoch * copyright notice, this list of conditions and the following disclaimer 120bf48ef3be53ddaa52bbead65dfd75bf90e7a2b5Ben Murdoch * in the documentation and/or other materials provided with the 130bf48ef3be53ddaa52bbead65dfd75bf90e7a2b5Ben Murdoch * distribution. 140bf48ef3be53ddaa52bbead65dfd75bf90e7a2b5Ben Murdoch * * Neither the name of Google Inc. nor the names of its 150bf48ef3be53ddaa52bbead65dfd75bf90e7a2b5Ben Murdoch * contributors may be used to endorse or promote products derived from 160bf48ef3be53ddaa52bbead65dfd75bf90e7a2b5Ben Murdoch * this software without specific prior written permission. 170bf48ef3be53ddaa52bbead65dfd75bf90e7a2b5Ben Murdoch * 180bf48ef3be53ddaa52bbead65dfd75bf90e7a2b5Ben Murdoch * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 190bf48ef3be53ddaa52bbead65dfd75bf90e7a2b5Ben Murdoch * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 200bf48ef3be53ddaa52bbead65dfd75bf90e7a2b5Ben Murdoch * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 210bf48ef3be53ddaa52bbead65dfd75bf90e7a2b5Ben Murdoch * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 220bf48ef3be53ddaa52bbead65dfd75bf90e7a2b5Ben Murdoch * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 230bf48ef3be53ddaa52bbead65dfd75bf90e7a2b5Ben Murdoch * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 240bf48ef3be53ddaa52bbead65dfd75bf90e7a2b5Ben Murdoch * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 250bf48ef3be53ddaa52bbead65dfd75bf90e7a2b5Ben Murdoch * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 260bf48ef3be53ddaa52bbead65dfd75bf90e7a2b5Ben Murdoch * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 270bf48ef3be53ddaa52bbead65dfd75bf90e7a2b5Ben Murdoch * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 280bf48ef3be53ddaa52bbead65dfd75bf90e7a2b5Ben Murdoch * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 290bf48ef3be53ddaa52bbead65dfd75bf90e7a2b5Ben Murdoch */ 300bf48ef3be53ddaa52bbead65dfd75bf90e7a2b5Ben Murdoch 31231d4e3152a9c27a73b6ac7badbe6be673aa3ddfSteve Block#ifndef DO_NO_IMPORTS 32231d4e3152a9c27a73b6ac7badbe6be673aa3ddfSteve Blockimport "oaidl.idl"; 33231d4e3152a9c27a73b6ac7badbe6be673aa3ddfSteve Blockimport "ocidl.idl"; 34231d4e3152a9c27a73b6ac7badbe6be673aa3ddfSteve Block#endif 350bf48ef3be53ddaa52bbead65dfd75bf90e7a2b5Ben Murdoch 36231d4e3152a9c27a73b6ac7badbe6be673aa3ddfSteve Block/*! 37231d4e3152a9c27a73b6ac7badbe6be673aa3ddfSteve Block @category WebUIDelegate2 38231d4e3152a9c27a73b6ac7badbe6be673aa3ddfSteve Block @discussion An extension of WebUIDelegate which additionally 39231d4e3152a9c27a73b6ac7badbe6be673aa3ddfSteve Block provides access to a notification presenter. 40231d4e3152a9c27a73b6ac7badbe6be673aa3ddfSteve Block @interface NSObject (WebUIDelegate2) 41231d4e3152a9c27a73b6ac7badbe6be673aa3ddfSteve Block*/ 42231d4e3152a9c27a73b6ac7badbe6be673aa3ddfSteve Block[ 43231d4e3152a9c27a73b6ac7badbe6be673aa3ddfSteve Block object, 44231d4e3152a9c27a73b6ac7badbe6be673aa3ddfSteve Block oleautomation, 45231d4e3152a9c27a73b6ac7badbe6be673aa3ddfSteve Block uuid(C6DEF152-86CD-11de-8BF4-ADD456D89593), 46231d4e3152a9c27a73b6ac7badbe6be673aa3ddfSteve Block pointer_default(unique) 47231d4e3152a9c27a73b6ac7badbe6be673aa3ddfSteve Block] 480bf48ef3be53ddaa52bbead65dfd75bf90e7a2b5Ben Murdoch 49231d4e3152a9c27a73b6ac7badbe6be673aa3ddfSteve Blockinterface IWebUIDelegate2 : IWebUIDelegate 500bf48ef3be53ddaa52bbead65dfd75bf90e7a2b5Ben Murdoch{ 51231d4e3152a9c27a73b6ac7badbe6be673aa3ddfSteve Block /*! 52231d4e3152a9c27a73b6ac7badbe6be673aa3ddfSteve Block @method desktopNotificationsDelegate: 53231d4e3152a9c27a73b6ac7badbe6be673aa3ddfSteve Block @abstract Returns the notifications delegate object. 54231d4e3152a9c27a73b6ac7badbe6be673aa3ddfSteve Block */ 55231d4e3152a9c27a73b6ac7badbe6be673aa3ddfSteve Block HRESULT desktopNotificationsDelegate([out, retval] IWebDesktopNotificationsDelegate** result); 560bf48ef3be53ddaa52bbead65dfd75bf90e7a2b5Ben Murdoch} 57