view modules/web/src/main/native/Source/WebCore/platform/java/ContextMenuClientJava.cpp @ 5976:94331ac42150

RT-25869: Update copyright year in header of modified source code files to 2013 Reviewed-by: Mong Hang Vo
author kcr
date Mon, 23 Dec 2013 13:46:39 -0800
parents bcd662ba5826
children
line wrap: on
line source
/*
 * Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
 */
#include "config.h"

#include "NotImplemented.h"

#include "ContextMenu.h"
#include "ContextMenuClientJava.h"
#include "PlatformMenuDescription.h"

namespace WebCore {

ContextMenuClientJava::ContextMenuClientJava(const JLObject &webPage)
    : m_webPage(webPage)
{
}

void ContextMenuClientJava::contextMenuDestroyed()
{
    delete this;
}

PlatformMenuDescription ContextMenuClientJava::getCustomMenuFromDefaultItems(ContextMenu* contextMenu)
{
    return contextMenu->platformDescription();
}

void ContextMenuClientJava::contextMenuItemSelected(ContextMenuItem*, const ContextMenu*)
{
    notImplemented();
}

void ContextMenuClientJava::downloadURL(const KURL& url)
{
    notImplemented();
}

void ContextMenuClientJava::searchWithGoogle(const Frame*)
{
    notImplemented();
}

void ContextMenuClientJava::lookUpInDictionary(Frame*)
{
    notImplemented();
}

bool ContextMenuClientJava::isSpeaking()
{
    notImplemented();
    return false;
}

void ContextMenuClientJava::speak(const String&)
{
    notImplemented();
}

void ContextMenuClientJava::stopSpeaking()
{
    notImplemented();
}

}