~oif-team/ubuntu/natty/qt4-x11/xi2.1

« back to all changes in this revision

Viewing changes to src/3rdparty/webkit/WebCore/platform/android/PopupMenuAndroid.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Alessandro Ghersi
  • Date: 2009-11-02 18:30:08 UTC
  • mfrom: (1.2.2 upstream)
  • mto: (15.2.5 experimental)
  • mto: This revision was merged to the branch mainline in revision 88.
  • Revision ID: james.westby@ubuntu.com-20091102183008-b6a4gcs128mvfb3m
Tags: upstream-4.6.0~beta1
ImportĀ upstreamĀ versionĀ 4.6.0~beta1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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@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