view modules/web/src/main/native/Source/WebCore/platform/java/PopupMenuJava.h @ 5976:94331ac42150

RT-25869: Update copyright year in header of modified source code files to 2013 Reviewed-by: Mong Hang Vo
author kcr
date Mon, 23 Dec 2013 13:46:39 -0800
parents bcd662ba5826
line wrap: on
line source
 * Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
#ifndef PopupMenuJava_h
#define PopupMenuJava_h

#include "IntRect.h"
#include "PopupMenu.h"
#include <wtf/PassRefPtr.h>
#include <wtf/RefCounted.h>

namespace WebCore {

class FrameView;
class Scrollbar;
class PopupMenuClient;

class PopupMenuJava : public PopupMenu {

    virtual void show(const IntRect&, FrameView*, int index);
    virtual void hide();
    virtual void updateFromElement();
    virtual void disconnectClient();

    void createPopupMenuJava(Page* page);
    void populate();
    PopupMenuClient* client() const { return m_popupClient; }

    PopupMenuClient* m_popupClient;
    JGObject m_popup;


#endif // PopupMenuJava_h