Home | History | Annotate | Download | only in android
      1 /*
      2  * This file is part of the popup menu implementation for <select> elements in WebCore.
      3  *
      4  * Copyright 2009, The Android Open Source Project
      5  * Copyright (C) 2006 Apple Computer, Inc.
      6  * Copyright (C) 2006 Michael Emmel mike.emmel (at) gmail.com
      7  *
      8  * This library is free software; you can redistribute it and/or
      9  * modify it under the terms of the GNU Library General Public
     10  * License as published by the Free Software Foundation; either
     11  * version 2 of the License, or (at your option) any later version.
     12  *
     13  * This library is distributed in the hope that it will be useful,
     14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
     15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     16  * Library General Public License for more details.
     17  *
     18  * You should have received a copy of the GNU Library General Public License
     19  * along with this library; see the file COPYING.LIB.  If not, write to
     20  * the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
     21  * Boston, MA 02111-1307, USA.
     22  *
     23  */
     24 
     25 #include "config.h"
     26 #include "PopupMenu.h"
     27 
     28 namespace WebCore {
     29 
     30 // Now we handle all of this in WebViewCore.cpp.
     31 PopupMenu::PopupMenu(PopupMenuClient* menuList)
     32     : m_popupClient(menuList)
     33 {
     34 }
     35 
     36 PopupMenu::~PopupMenu()
     37 {
     38 }
     39 
     40 void PopupMenu::show(const IntRect&, FrameView*, int)
     41 {
     42 }
     43 
     44 void PopupMenu::hide()
     45 {
     46 }
     47 
     48 void PopupMenu::updateFromElement()
     49 {
     50 }
     51 
     52 bool PopupMenu::itemWritingDirectionIsNatural()
     53 {
     54     return false;
     55 }
     56 
     57 } // namespace WebCore
     58