[SCM] WebKit Debian packaging branch, webkit-1.2, updated. upstream/1.1.90-6072-g9a69373

eric at webkit.org eric at webkit.org
Thu Apr 8 02:02:58 UTC 2010


The following commit has been merged in the webkit-1.2 branch:
commit 40dec4fa85c09b0182a5cf7677b66b84bfa00274
Author: eric at webkit.org <eric at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Sat Feb 27 05:49:23 2010 +0000

    2010-02-26  Leandro Pereira  <leandro at profusion.mobi>
    
            Reviewed by NOBODY.
    
            Add EFL port files to platform/efl.
            http://webkit.org/b/35087
    
            * platform/efl/CursorEfl.cpp: Added.
            * platform/efl/LocalizedStringsEfl.cpp: Added.
            * platform/efl/SearchPopupMenuEfl.cpp: Added.
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55344 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog
index d6cd125..b06a43d 100644
--- a/WebCore/ChangeLog
+++ b/WebCore/ChangeLog
@@ -2,6 +2,17 @@
 
         Reviewed by NOBODY.
 
+        Add EFL port files to platform/efl.
+        http://webkit.org/b/35087
+
+        * platform/efl/CursorEfl.cpp: Added.
+        * platform/efl/LocalizedStringsEfl.cpp: Added.
+        * platform/efl/SearchPopupMenuEfl.cpp: Added.
+
+2010-02-26  Leandro Pereira  <leandro at profusion.mobi>
+
+        Reviewed by NOBODY.
+
         Add EFL port files to page/efl.
         http://webkit.org/b/35087
 
diff --git a/WebCore/platform/efl/CursorEfl.cpp b/WebCore/platform/efl/CursorEfl.cpp
new file mode 100644
index 0000000..c88830e
--- /dev/null
+++ b/WebCore/platform/efl/CursorEfl.cpp
@@ -0,0 +1,409 @@
+/*
+ * Copyright (C) 2006 Dirk Mueller <mueller at kde.org>
+ * Copyright (C) 2006 George Staikos <staikos at kde.org>
+ * Copyright (C) 2006 Charles Samuels <charles at kde.org>
+ * Copyright (C) 2008 Holger Hans Peter Freyther
+ * Copyright (C) 2008 Kenneth Rohde Christiansen
+ * Copyright (C) 2009-2010 ProFUSION embedded systems
+ * Copyright (C) 2009-2010 Samsung Electronics
+ *
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE COMPUTER, INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#include "config.h"
+#include "Cursor.h"
+
+#include "NotImplemented.h"
+
+#include <Edje.h>
+#include <Evas.h>
+#include <stdio.h>
+#include <wtf/Assertions.h>
+
+namespace WebCore {
+
+Cursor::Cursor(PlatformCursor p)
+{
+    m_impl = eina_stringshare_add(p);
+}
+
+Cursor::Cursor(const Cursor& other)
+{
+    m_impl = eina_stringshare_ref(other.m_impl);
+}
+
+Cursor::~Cursor()
+{
+    if (m_impl) {
+        eina_stringshare_del(m_impl);
+        m_impl = 0;
+    }
+}
+
+Cursor::Cursor(Image* image, const IntPoint& hotspot)
+    : m_impl(0)
+{
+    notImplemented();
+}
+
+Cursor& Cursor::operator=(const Cursor& other)
+{
+    eina_stringshare_ref(other.m_impl);
+    eina_stringshare_del(m_impl);
+    m_impl = other.m_impl;
+    return *this;
+}
+
+namespace {
+
+class Cursors {
+protected:
+    Cursors()
+        : PointerCursor("cursor/pointer")
+        , MoveCursor("cursor/move")
+        , CrossCursor("cursor/cross")
+        , HandCursor("cursor/hand")
+        , IBeamCursor("cursor/i_beam")
+        , WaitCursor("cursor/wait")
+        , HelpCursor("cursor/help")
+        , EastResizeCursor("cursor/east_resize")
+        , NorthResizeCursor("cursor/north_resize")
+        , NorthEastResizeCursor("cursor/north_east_resize")
+        , NorthWestResizeCursor("cursor/north_west_resize")
+        , SouthResizeCursor("cursor/south_resize")
+        , SouthEastResizeCursor("cursor/south_east_resize")
+        , SouthWestResizeCursor("cursor/south_west_resize")
+        , WestResizeCursor("cursor/west_resize")
+        , NorthSouthResizeCursor("cursor/north_south_resize")
+        , EastWestResizeCursor("cursor/east_west_resize")
+        , NorthEastSouthWestResizeCursor("cursor/north_east_south_west_resize")
+        , NorthWestSouthEastResizeCursor("cursor/north_west_south_east_resize")
+        , ColumnResizeCursor("cursor/column_resize")
+        , RowResizeCursor("cursor/row_resize")
+        , MiddlePanningCursor("cursor/middle_panning")
+        , EastPanningCursor("cursor/east_panning")
+        , NorthPanningCursor("cursor/north_panning")
+        , NorthEastPanningCursor("cursor/north_east_panning")
+        , NorthWestPanningCursor("cursor/north_west_panning")
+        , SouthPanningCursor("cursor/south_panning")
+        , SouthEastPanningCursor("cursor/south_east_panning")
+        , SouthWestPanningCursor("cursor/south_west_panning")
+        , WestPanningCursor("cursor/west_panning")
+        , VerticalTextCursor("cursor/vertical_text")
+        , CellCursor("cursor/cell")
+        , ContextMenuCursor("cursor/context_menu")
+        , NoDropCursor("cursor/no_drop")
+        , CopyCursor("cursor/copy")
+        , ProgressCursor("cursor/progress")
+        , AliasCursor("cursor/alias")
+        , NoneCursor("cursor/none")
+        , NotAllowedCursor("cursor/not_allowed")
+        , ZoomInCursor("cursor/zoom_in")
+        , ZoomOutCursor("cursor/zoom_out")
+        , GrabCursor("cursor/grab")
+        , GrabbingCursor("cursor/grabbing")
+    {
+    }
+
+    ~Cursors()
+    {
+    }
+
+public:
+    static Cursors* self();
+    static Cursors* s_self;
+
+    Cursor PointerCursor;
+    Cursor MoveCursor;
+    Cursor CrossCursor;
+    Cursor HandCursor;
+    Cursor IBeamCursor;
+    Cursor WaitCursor;
+    Cursor HelpCursor;
+    Cursor EastResizeCursor;
+    Cursor NorthResizeCursor;
+    Cursor NorthEastResizeCursor;
+    Cursor NorthWestResizeCursor;
+    Cursor SouthResizeCursor;
+    Cursor SouthEastResizeCursor;
+    Cursor SouthWestResizeCursor;
+    Cursor WestResizeCursor;
+    Cursor NorthSouthResizeCursor;
+    Cursor EastWestResizeCursor;
+    Cursor NorthEastSouthWestResizeCursor;
+    Cursor NorthWestSouthEastResizeCursor;
+    Cursor ColumnResizeCursor;
+    Cursor RowResizeCursor;
+    Cursor MiddlePanningCursor;
+    Cursor EastPanningCursor;
+    Cursor NorthPanningCursor;
+    Cursor NorthEastPanningCursor;
+    Cursor NorthWestPanningCursor;
+    Cursor SouthPanningCursor;
+    Cursor SouthEastPanningCursor;
+    Cursor SouthWestPanningCursor;
+    Cursor WestPanningCursor;
+    Cursor VerticalTextCursor;
+    Cursor CellCursor;
+    Cursor ContextMenuCursor;
+    Cursor NoDropCursor;
+    Cursor CopyCursor;
+    Cursor ProgressCursor;
+    Cursor AliasCursor;
+    Cursor NoneCursor;
+    Cursor NotAllowedCursor;
+    Cursor ZoomInCursor;
+    Cursor ZoomOutCursor;
+    Cursor GrabCursor;
+    Cursor GrabbingCursor;
+};
+
+Cursors* Cursors::s_self = 0;
+
+Cursors* Cursors::self()
+{
+    if (!s_self)
+        s_self = new Cursors();
+
+    return s_self;
+}
+
+}
+
+const Cursor& pointerCursor()
+{
+    return Cursors::self()->PointerCursor;
+}
+
+const Cursor& moveCursor()
+{
+    return Cursors::self()->MoveCursor;
+}
+
+const Cursor& crossCursor()
+{
+    return Cursors::self()->CrossCursor;
+}
+
+const Cursor& handCursor()
+{
+    return Cursors::self()->HandCursor;
+}
+
+const Cursor& iBeamCursor()
+{
+    return Cursors::self()->IBeamCursor;
+}
+
+const Cursor& waitCursor()
+{
+    return Cursors::self()->WaitCursor;
+}
+
+const Cursor& helpCursor()
+{
+    return Cursors::self()->HelpCursor;
+}
+
+const Cursor& eastResizeCursor()
+{
+    return Cursors::self()->EastResizeCursor;
+}
+
+const Cursor& northResizeCursor()
+{
+    return Cursors::self()->NorthResizeCursor;
+}
+
+const Cursor& northEastResizeCursor()
+{
+    return Cursors::self()->NorthEastResizeCursor;
+}
+
+const Cursor& northWestResizeCursor()
+{
+    return Cursors::self()->NorthWestResizeCursor;
+}
+
+const Cursor& southResizeCursor()
+{
+    return Cursors::self()->SouthResizeCursor;
+}
+
+const Cursor& southEastResizeCursor()
+{
+    return Cursors::self()->SouthEastResizeCursor;
+}
+
+const Cursor& southWestResizeCursor()
+{
+    return Cursors::self()->SouthWestResizeCursor;
+}
+
+const Cursor& westResizeCursor()
+{
+    return Cursors::self()->WestResizeCursor;
+}
+
+const Cursor& northSouthResizeCursor()
+{
+    return Cursors::self()->NorthSouthResizeCursor;
+}
+
+const Cursor& eastWestResizeCursor()
+{
+    return Cursors::self()->EastWestResizeCursor;
+}
+
+const Cursor& northEastSouthWestResizeCursor()
+{
+    return Cursors::self()->NorthEastSouthWestResizeCursor;
+}
+
+const Cursor& northWestSouthEastResizeCursor()
+{
+    return Cursors::self()->NorthWestSouthEastResizeCursor;
+}
+
+const Cursor& columnResizeCursor()
+{
+    return Cursors::self()->ColumnResizeCursor;
+}
+
+const Cursor& rowResizeCursor()
+{
+    return Cursors::self()->RowResizeCursor;
+}
+
+const Cursor& middlePanningCursor()
+{
+    return Cursors::self()->MiddlePanningCursor;
+}
+
+const Cursor& eastPanningCursor()
+{
+    return Cursors::self()->EastPanningCursor;
+}
+
+const Cursor& northPanningCursor()
+{
+    return Cursors::self()->NorthPanningCursor;
+}
+
+const Cursor& northEastPanningCursor()
+{
+    return Cursors::self()->NorthEastPanningCursor;
+}
+
+const Cursor& northWestPanningCursor()
+{
+    return Cursors::self()->NorthWestPanningCursor;
+}
+
+const Cursor& southPanningCursor()
+{
+    return Cursors::self()->SouthPanningCursor;
+}
+
+const Cursor& southEastPanningCursor()
+{
+    return Cursors::self()->SouthEastPanningCursor;
+}
+
+const Cursor& southWestPanningCursor()
+{
+    return Cursors::self()->SouthWestPanningCursor;
+}
+
+const Cursor& westPanningCursor()
+{
+    return Cursors::self()->WestPanningCursor;
+}
+
+const Cursor& verticalTextCursor()
+{
+    return Cursors::self()->VerticalTextCursor;
+}
+
+const Cursor& cellCursor()
+{
+    return Cursors::self()->CellCursor;
+}
+
+const Cursor& contextMenuCursor()
+{
+    return Cursors::self()->ContextMenuCursor;
+}
+
+const Cursor& noDropCursor()
+{
+    return Cursors::self()->NoDropCursor;
+}
+
+const Cursor& copyCursor()
+{
+    return Cursors::self()->CopyCursor;
+}
+
+const Cursor& progressCursor()
+{
+    return Cursors::self()->ProgressCursor;
+}
+
+const Cursor& aliasCursor()
+{
+    return Cursors::self()->AliasCursor;
+}
+
+const Cursor& noneCursor()
+{
+    return Cursors::self()->NoneCursor;
+}
+
+const Cursor& notAllowedCursor()
+{
+    return Cursors::self()->NotAllowedCursor;
+}
+
+const Cursor& zoomInCursor()
+{
+    return Cursors::self()->ZoomInCursor;
+}
+
+const Cursor& zoomOutCursor()
+{
+    return Cursors::self()->ZoomOutCursor;
+}
+
+const Cursor& grabCursor()
+{
+    return Cursors::self()->GrabCursor;
+}
+
+const Cursor& grabbingCursor()
+{
+    return Cursors::self()->GrabbingCursor;
+}
+
+}
diff --git a/WebCore/platform/efl/LocalizedStringsEfl.cpp b/WebCore/platform/efl/LocalizedStringsEfl.cpp
new file mode 100644
index 0000000..5b16a15
--- /dev/null
+++ b/WebCore/platform/efl/LocalizedStringsEfl.cpp
@@ -0,0 +1,408 @@
+/*
+ * Copyright (C) 2006, 2007 Apple Inc.  All rights reserved.
+ * Copyright (C) 2006 Michael Emmel mike.emmel at gmail.com
+ * Copyright (C) 2007 Holger Hans Peter Freyther
+ * Copyright (C) 2008 Christian Dywan <christian at imendio.com>
+ * Copyright (C) 2008 Nuanti Ltd.
+ * Copyright (C) 2008 INdT Instituto Nokia de Tecnologia
+ * Copyright (C) 2009-2010 ProFUSION embedded systems
+ * Copyright (C) 2009-2010 Samsung Electronics
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE COMPUTER, INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#include "config.h"
+#include "LocalizedStrings.h"
+
+#include "NotImplemented.h"
+#include "PlatformString.h"
+
+namespace WebCore {
+
+String submitButtonDefaultLabel()
+{
+    return String::fromUTF8("Submit");
+}
+
+String inputElementAltText()
+{
+    return String::fromUTF8("Submit");
+}
+
+String resetButtonDefaultLabel()
+{
+    return String::fromUTF8("Reset");
+}
+
+String searchableIndexIntroduction()
+{
+    return String::fromUTF8("_Searchable Index");
+}
+
+String fileButtonChooseFileLabel()
+{
+    return String::fromUTF8("Choose File");
+}
+
+String fileButtonNoFileSelectedLabel()
+{
+    return String::fromUTF8("No file selected");
+}
+
+String contextMenuItemTagOpenLinkInNewWindow()
+{
+    return String::fromUTF8("Open Link in New _Window");
+}
+
+String contextMenuItemTagDownloadLinkToDisk()
+{
+    return String::fromUTF8("_Download Linked File");
+}
+
+String contextMenuItemTagCopyLinkToClipboard()
+{
+    return String::fromUTF8("Copy Link Loc_ation");
+}
+
+String contextMenuItemTagOpenImageInNewWindow()
+{
+    return String::fromUTF8("Open _Image in New Window");
+}
+
+String contextMenuItemTagDownloadImageToDisk()
+{
+    return String::fromUTF8("Sa_ve Image As");
+}
+
+String contextMenuItemTagCopyImageToClipboard()
+{
+    return String::fromUTF8("Cop_y Image");
+}
+
+String contextMenuItemTagOpenFrameInNewWindow()
+{
+    return String::fromUTF8("Open _Frame in New Window");
+}
+
+String contextMenuItemTagCopy()
+{
+    static String stockLabel = String::fromUTF8("Copy");
+    return stockLabel;
+}
+
+String contextMenuItemTagDelete()
+{
+    static String stockLabel = String::fromUTF8("Delete");
+    return stockLabel;
+}
+
+String contextMenuItemTagSelectAll()
+{
+    static String stockLabel = String::fromUTF8("Select _All");
+    return stockLabel;
+}
+
+String contextMenuItemTagUnicode()
+{
+    return String::fromUTF8("_Insert Unicode Control Character");
+}
+
+String contextMenuItemTagInputMethods()
+{
+    return String::fromUTF8("Input _Methods");
+}
+
+String contextMenuItemTagGoBack()
+{
+    static String stockLabel = String::fromUTF8("Go_Back");
+    return stockLabel;
+}
+
+String contextMenuItemTagGoForward()
+{
+    static String stockLabel = String::fromUTF8("Go_Forward");
+    return stockLabel;
+}
+
+String contextMenuItemTagStop()
+{
+    static String stockLabel = String::fromUTF8("Stop");
+    return stockLabel;
+}
+
+String contextMenuItemTagReload()
+{
+    return String::fromUTF8("_Reload");
+}
+
+String contextMenuItemTagCut()
+{
+    static String stockLabel = String::fromUTF8("Cut");
+    return stockLabel;
+}
+
+String contextMenuItemTagPaste()
+{
+    static String stockLabel = String::fromUTF8("Paste");
+    return stockLabel;
+}
+
+String contextMenuItemTagNoGuessesFound()
+{
+    return String::fromUTF8("No Guesses Found");
+}
+
+String contextMenuItemTagIgnoreSpelling()
+{
+    return String::fromUTF8("_Ignore Spelling");
+}
+
+String contextMenuItemTagLearnSpelling()
+{
+    return String::fromUTF8("_Learn Spelling");
+}
+
+String contextMenuItemTagSearchWeb()
+{
+    return String::fromUTF8("_Search the Web");
+}
+
+String contextMenuItemTagLookUpInDictionary()
+{
+    return String::fromUTF8("_Look Up in Dictionary");
+}
+
+String contextMenuItemTagOpenLink()
+{
+    return String::fromUTF8("_Open Link");
+}
+
+String contextMenuItemTagIgnoreGrammar()
+{
+    return String::fromUTF8("Ignore _Grammar");
+}
+
+String contextMenuItemTagSpellingMenu()
+{
+    return String::fromUTF8("Spelling and _Grammar");
+}
+
+String contextMenuItemTagShowSpellingPanel(bool show)
+{
+    return String::fromUTF8(show ? "Show Spelling and Grammar" : "Hide Spelling and Grammar");
+}
+
+String contextMenuItemTagCheckSpelling()
+{
+    return String::fromUTF8("_Check Document Now");
+}
+
+String contextMenuItemTagCheckSpellingWhileTyping()
+{
+    return String::fromUTF8("Check Spelling While _Typing");
+}
+
+String contextMenuItemTagCheckGrammarWithSpelling()
+{
+    return String::fromUTF8("Check _Grammar With Spelling");
+}
+
+String contextMenuItemTagFontMenu()
+{
+    return String::fromUTF8("_Font");
+}
+
+String contextMenuItemTagBold()
+{
+    static String stockLabel = String::fromUTF8("Bold");
+    return stockLabel;
+}
+
+String contextMenuItemTagItalic()
+{
+    static String stockLabel = String::fromUTF8("Italic");
+    return stockLabel;
+}
+
+String contextMenuItemTagUnderline()
+{
+    static String stockLabel = String::fromUTF8("Underline");
+    return stockLabel;
+}
+
+String contextMenuItemTagOutline()
+{
+    return String::fromUTF8("_Outline");
+}
+
+String contextMenuItemTagInspectElement()
+{
+    return String::fromUTF8("Inspect _Element");
+}
+
+String contextMenuItemTagRightToLeft()
+{
+    return String();
+}
+
+String contextMenuItemTagLeftToRight()
+{
+    return String();
+}
+
+String contextMenuItemTagWritingDirectionMenu()
+{
+    return String();
+}
+
+String contextMenuItemTagTextDirectionMenu()
+{
+    return String();
+}
+
+String contextMenuItemTagDefaultDirection()
+{
+    return String();
+}
+
+String searchMenuNoRecentSearchesText()
+{
+    return String::fromUTF8("No recent searches");
+}
+
+String searchMenuRecentSearchesText()
+{
+    return String::fromUTF8("Recent searches");
+}
+
+String searchMenuClearRecentSearchesText()
+{
+    return String::fromUTF8("_Clear recent searches");
+}
+
+String AXDefinitionListTermText()
+{
+    return String::fromUTF8("term");
+}
+
+String AXDefinitionListDefinitionText()
+{
+    return String::fromUTF8("definition");
+}
+
+String AXButtonActionVerb()
+{
+    return String::fromUTF8("press");
+}
+
+String AXRadioButtonActionVerb()
+{
+    return String::fromUTF8("select");
+}
+
+String AXTextFieldActionVerb()
+{
+    return String::fromUTF8("activate");
+}
+
+String AXCheckedCheckBoxActionVerb()
+{
+    return String::fromUTF8("uncheck");
+}
+
+String AXUncheckedCheckBoxActionVerb()
+{
+    return String::fromUTF8("check");
+}
+
+String AXLinkActionVerb()
+{
+    return String::fromUTF8("jump");
+}
+
+String unknownFileSizeText()
+{
+    return String::fromUTF8("Unknown");
+}
+
+String imageTitle(const String& filename, const IntSize& size)
+{
+    notImplemented();
+    return String();
+}
+
+String mediaElementLoadingStateText()
+{
+    return String::fromUTF8("Loading...");
+}
+
+String mediaElementLiveBroadcastStateText()
+{
+    return String::fromUTF8("Live Broadcast");
+}
+
+String validationMessagePatternMismatchText()
+{
+    return String::fromUTF8("pattern mismatch");
+}
+
+String validationMessageRangeOverflowText()
+{
+    return String::fromUTF8("range overflow");
+}
+
+String validationMessageRangeUnderflowText()
+{
+    return String::fromUTF8("range underflow");
+}
+
+String validationMessageStepMismatchText()
+{
+    return String::fromUTF8("step mismatch");
+}
+
+String validationMessageTooLongText()
+{
+    return String::fromUTF8("too long");
+}
+
+String validationMessageTypeMismatchText()
+{
+    return String::fromUTF8("type mismatch");
+}
+
+String validationMessageValueMissingText()
+{
+    return String::fromUTF8("value missing");
+}
+
+String AXMenuListPopupActionVerb()
+{
+    return String();
+}
+
+String AXMenuListActionVerb()
+{
+    return String();
+}
+
+}
diff --git a/WebCore/platform/efl/SearchPopupMenuEfl.cpp b/WebCore/platform/efl/SearchPopupMenuEfl.cpp
new file mode 100644
index 0000000..d18174f
--- /dev/null
+++ b/WebCore/platform/efl/SearchPopupMenuEfl.cpp
@@ -0,0 +1,50 @@
+/*
+ *  Copyright (C) 2008 INdT - Instituto Nokia de Tecnologia
+ *  Copyright (C) 2009-2010 ProFUSION embedded systems
+ *  Copyright (C) 2009-2010 Samsung Electronics
+ *
+ *  This library is free software; you can redistribute it and/or
+ *  modify it under the terms of the GNU Lesser General Public
+ *  License as published by the Free Software Foundation; either
+ *  version 2 of the License, or (at your option) any later version.
+ *
+ *  This library is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ *  Lesser General Public License for more details.
+ *
+ *  You should have received a copy of the GNU Lesser General Public
+ *  License along with this library; if not, write to the Free Software
+ *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
+ */
+
+#include "config.h"
+#include "SearchPopupMenu.h"
+
+#include "NotImplemented.h"
+
+namespace WebCore {
+
+SearchPopupMenu::SearchPopupMenu(PopupMenuClient* client)
+    : PopupMenu(client)
+{
+    notImplemented();
+}
+
+void SearchPopupMenu::saveRecentSearches(const AtomicString&, const Vector<String>&)
+{
+    notImplemented();
+}
+
+void SearchPopupMenu::loadRecentSearches(const AtomicString&, Vector<String>&)
+{
+    notImplemented();
+}
+
+bool SearchPopupMenu::enabled()
+{
+    notImplemented();
+    return true;
+}
+
+}

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list