Commit 60a42e45 authored by bdakin's avatar bdakin

Reviewed by Adam.

        Get rid of show() and hide() since they don't do anything.

        * page/ContextMenuController.cpp:
        (WebCore::ContextMenuController::handleContextMenuEvent):
        * platform/ContextMenu.h:
        * platform/mac/ContextMenuMac.mm:


git-svn-id: svn://svn.chromium.org/blink/trunk@18889 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent 73427ab1
2007-01-16 Beth Dakin <bdakin@apple.com>
Reviewed by Adam.
Get rid of show() and hide() since they don't do anything.
* page/ContextMenuController.cpp:
(WebCore::ContextMenuController::handleContextMenuEvent):
* platform/ContextMenu.h:
* platform/mac/ContextMenuMac.mm:
2007-01-16 Lars Knoll <lars@trolltech.com>
Reviewed by Zack
......@@ -109,6 +120,7 @@
* platform/network/ResourceHandleInternal.h:
(WebCore::ResourceHandleInternal::ResourceHandleInternal):
>>>>>>> .r18887
2007-01-15 Eric Seidel <eric@webkit.org>
Reviewed by hyatt.
......
......@@ -87,8 +87,6 @@ void ContextMenuController::handleContextMenuEvent(Event* event)
m_contextMenu->populate();
PlatformMenuDescription customMenu = m_client->getCustomMenuFromDefaultItems(m_contextMenu.get());
m_contextMenu->setPlatformDescription(customMenu);
m_contextMenu->show();
event->setDefaultHandled();
}
......
......@@ -53,9 +53,6 @@ namespace WebCore {
void populate();
void checkOrEnableIfNeeded(ContextMenuItem&) const;
void show();
void hide();
void insertItem(unsigned position, ContextMenuItem&);
void appendItem(ContextMenuItem&);
......
......@@ -135,12 +135,4 @@ NSMutableArray* ContextMenu::platformDescription() const
return m_platformDescription.get();
}
void ContextMenu::show()
{
}
void ContextMenu::hide()
{
}
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment