Changeset 150240 in webkit
- Timestamp:
- May 16, 2013 8:28:52 PM (11 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 deleted
- 3 edited
- 2 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r150239 r150240 1 2013-05-16 Jesus Sanchez-Palencia <jesus.palencia@openbossa.org> 2 3 Add stubs for ContextMenu and ContextMenuItem 4 https://bugs.webkit.org/show_bug.cgi?id=116235 5 6 Reviewed by Antonio Gomes. 7 8 No new tests needed, only a refactor. 9 10 Add ContextMenuNone.cpp and ContextMenuItemNone.cpp 11 so ports using ENABLE(CROSS_PLATFORM_CONTEXT_MENU) don't 12 need to replicate these stubs. 13 14 * PlatformEfl.cmake: 15 * Target.pri: 16 * platform/ContextMenuNone.cpp: Added. 17 (WebCore): 18 (WebCore::ContextMenu::ContextMenu): 19 (WebCore::ContextMenu::getContextMenuItems): 20 (WebCore::ContextMenu::createPlatformContextMenuFromItems): 21 (WebCore::ContextMenu::platformContextMenu): 22 * platform/ContextMenuItemNone.cpp: Added. 23 (WebCore): 24 (WebCore::ContextMenuItem::platformContextMenuItem): 25 * platform/efl/ContextMenuEfl.cpp: Removed. 26 * platform/efl/ContextMenuItemEfl.cpp: Removed. 27 * platform/qt/ContextMenuQt.cpp: Removed. 28 * platform/qt/ContextMenuItemQt.cpp: Removed. 29 1 30 2013-05-16 Alexis Menard <alexis@webkit.org> 2 31 -
trunk/Source/WebCore/PlatformEfl.cmake
r150216 r150240 54 54 platform/efl/BatteryProviderEfl.cpp 55 55 platform/efl/ClipboardEfl.cpp 56 platform/ efl/ContextMenuEfl.cpp57 platform/ efl/ContextMenuItemEfl.cpp56 platform/ContextMenuNone.cpp 57 platform/ContextMenuItemNone.cpp 58 58 platform/efl/CursorEfl.cpp 59 59 platform/efl/DragDataEfl.cpp -
trunk/Source/WebCore/Target.pri
r150216 r150240 2920 2920 platform/ContextMenuItem.cpp \ 2921 2921 platform/qt/ClipboardQt.cpp \ 2922 platform/ qt/ContextMenuItemQt.cpp \2923 platform/ qt/ContextMenuQt.cpp \2922 platform/ContextMenuItemNone.cpp \ 2923 platform/ContextMenuNone.cpp \ 2924 2924 platform/qt/CursorQt.cpp \ 2925 2925 platform/qt/DragDataQt.cpp \ -
trunk/Source/WebCore/platform/ContextMenuItemNone.cpp
r150239 r150240 1 1 /* 2 * Copyright (C) 2006 Zack Rusin <zack@kde.org> 3 * Copyright (C) 2007 Staikos Computing Services Inc. <info@staikos.net> 2 * Copyright (C) 2013 Nokia Corporation and/or its subsidiary(-ies). 4 3 * 5 4 * Redistribution and use in source and binary forms, with or without … … 12 11 * documentation and/or other materials provided with the distribution. 13 12 * 14 * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC.``AS IS'' AND ANY13 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND ANY 15 14 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16 15 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 17 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE COMPUTER, INC.OR16 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR 18 17 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 19 18 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, … … 26 25 27 26 #include "config.h" 27 28 #if ENABLE(CONTEXT_MENUS) && USE(CROSS_PLATFORM_CONTEXT_MENUS) 29 28 30 #include "ContextMenuItem.h" 29 31 … … 32 34 namespace WebCore { 33 35 34 void*ContextMenuItem::platformContextMenuItem() const36 PlatformContextMenuItem ContextMenuItem::platformContextMenuItem() const 35 37 { 36 38 notImplemented(); … … 39 41 40 42 } 41 // vim: ts=4 sw=4 et 43 #endif // ENABLE(CONTEXT_MENUS) && USE(CROSS_PLATFORM_CONTEXT_MENUS) -
trunk/Source/WebCore/platform/ContextMenuNone.cpp
r150239 r150240 1 1 /* 2 * Copyright (C) 2006 Zack Rusin <zack@kde.org> 3 * Copyright (C) 2007 Staikos Computing Services Inc. <info@staikos.net> 2 * Copyright (C) 2013 Nokia Corporation and/or its subsidiary(-ies). 4 3 * 5 4 * Redistribution and use in source and binary forms, with or without … … 12 11 * documentation and/or other materials provided with the distribution. 13 12 * 14 * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC.``AS IS'' AND ANY13 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND ANY 15 14 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16 15 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 17 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE COMPUTER, INC.OR16 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR 18 17 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 19 18 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, … … 26 25 27 26 #include "config.h" 27 28 #if ENABLE(CONTEXT_MENUS) && USE(CROSS_PLATFORM_CONTEXT_MENUS) 29 28 30 #include "ContextMenu.h" 29 31 … … 54 56 55 57 } 56 // vim: ts=4 sw=4 et 58 #endif // ENABLE(CONTEXT_MENUS) && USE(CROSS_PLATFORM_CONTEXT_MENUS)
Note: See TracChangeset
for help on using the changeset viewer.