1e14391e94c850b8bd03680c23b38978db68687a8John Reck/* 2e14391e94c850b8bd03680c23b38978db68687a8John Reck * Copyright (C) 2010 Google Inc. All rights reserved. 3e14391e94c850b8bd03680c23b38978db68687a8John Reck * 4e14391e94c850b8bd03680c23b38978db68687a8John Reck * Redistribution and use in source and binary forms, with or without 5e14391e94c850b8bd03680c23b38978db68687a8John Reck * modification, are permitted provided that the following conditions are 6e14391e94c850b8bd03680c23b38978db68687a8John Reck * met: 7e14391e94c850b8bd03680c23b38978db68687a8John Reck * 8e14391e94c850b8bd03680c23b38978db68687a8John Reck * * Redistributions of source code must retain the above copyright 9e14391e94c850b8bd03680c23b38978db68687a8John Reck * notice, this list of conditions and the following disclaimer. 10e14391e94c850b8bd03680c23b38978db68687a8John Reck * * Redistributions in binary form must reproduce the above 11e14391e94c850b8bd03680c23b38978db68687a8John Reck * copyright notice, this list of conditions and the following disclaimer 12e14391e94c850b8bd03680c23b38978db68687a8John Reck * in the documentation and/or other materials provided with the 13e14391e94c850b8bd03680c23b38978db68687a8John Reck * distribution. 14e14391e94c850b8bd03680c23b38978db68687a8John Reck * * Neither the name of Google Inc. nor the names of its 15e14391e94c850b8bd03680c23b38978db68687a8John Reck * contributors may be used to endorse or promote products derived from 16e14391e94c850b8bd03680c23b38978db68687a8John Reck * this software without specific prior written permission. 17e14391e94c850b8bd03680c23b38978db68687a8John Reck * 18e14391e94c850b8bd03680c23b38978db68687a8John Reck * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 19e14391e94c850b8bd03680c23b38978db68687a8John Reck * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 20e14391e94c850b8bd03680c23b38978db68687a8John Reck * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 21e14391e94c850b8bd03680c23b38978db68687a8John Reck * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 22e14391e94c850b8bd03680c23b38978db68687a8John Reck * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 23e14391e94c850b8bd03680c23b38978db68687a8John Reck * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 24e14391e94c850b8bd03680c23b38978db68687a8John Reck * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 25e14391e94c850b8bd03680c23b38978db68687a8John Reck * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 26e14391e94c850b8bd03680c23b38978db68687a8John Reck * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 27e14391e94c850b8bd03680c23b38978db68687a8John Reck * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 28e14391e94c850b8bd03680c23b38978db68687a8John Reck * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 29e14391e94c850b8bd03680c23b38978db68687a8John Reck */ 30e14391e94c850b8bd03680c23b38978db68687a8John Reck 31e14391e94c850b8bd03680c23b38978db68687a8John Reck#ifndef WebExternalPopupMenu_h 32e14391e94c850b8bd03680c23b38978db68687a8John Reck#define WebExternalPopupMenu_h 33e14391e94c850b8bd03680c23b38978db68687a8John Reck 34e14391e94c850b8bd03680c23b38978db68687a8John Recknamespace WebKit { 35e14391e94c850b8bd03680c23b38978db68687a8John Reck 36e14391e94c850b8bd03680c23b38978db68687a8John Reckstruct WebRect; 37e14391e94c850b8bd03680c23b38978db68687a8John Reck 38e14391e94c850b8bd03680c23b38978db68687a8John Reckclass WebExternalPopupMenu { 39e14391e94c850b8bd03680c23b38978db68687a8John Reckpublic: 40e14391e94c850b8bd03680c23b38978db68687a8John Reck virtual void show(const WebRect& bounds) = 0; 41e14391e94c850b8bd03680c23b38978db68687a8John Reck virtual void close() = 0; 42e14391e94c850b8bd03680c23b38978db68687a8John Reck}; 43e14391e94c850b8bd03680c23b38978db68687a8John Reck 44e14391e94c850b8bd03680c23b38978db68687a8John Reck} // namespace WebKit 45e14391e94c850b8bd03680c23b38978db68687a8John Reck 46e14391e94c850b8bd03680c23b38978db68687a8John Reck#endif // WebExternalPopupMenu_h 47