Files
cefsharp/CefSharp.Core/Internals/CefContextMenuParamsWrapper.h
T
amaitland b9ee476e8e Fix up some of the vc++ include mess that we had going
Cleanup using namespace statements as well
2015-09-29 16:26:06 +10:00

71 lines
2.3 KiB
C++

// Copyright © 2010-2015 The CefSharp Project. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
#pragma once
#include "Stdafx.h"
#include "CefWrapper.h"
#include "include\cef_context_menu_handler.h"
using namespace System::Collections::Generic;
namespace CefSharp
{
namespace Internals
{
public ref class CefContextMenuParamsWrapper : public IContextMenuParams, public CefWrapper
{
MCefRefPtr<CefContextMenuParams> _wrappedInfo;
internal:
CefContextMenuParamsWrapper(CefRefPtr<CefContextMenuParams> &cefParams) :
_wrappedInfo(cefParams)
{
}
!CefContextMenuParamsWrapper()
{
_wrappedInfo = NULL;
}
~CefContextMenuParamsWrapper()
{
this->!CefContextMenuParamsWrapper();
_disposed = true;
}
public:
virtual property int YCoord { int get(); }
virtual property int XCoord { int get(); }
// TODO: Implement:
//virtual TypeFlags GetTypeFlags() OVERRIDE;
virtual property String^ LinkUrl { String^ get(); }
virtual property String^ UnfilteredLinkUrl { String^ get(); }
virtual property String^ SourceUrl { String^ get(); }
virtual property bool HasImageContents { bool get(); }
virtual property String^ PageUrl { String^ get(); }
virtual property String^ FrameUrl { String^ get(); }
virtual property String^ FrameCharset { String^ get(); }
// TODO: Implement:
//virtual MediaType GetMediaType() OVERRIDE;
//virtual MediaStateFlags GetMediaStateFlags() OVERRIDE;
virtual property String^ SelectionText { String^ get(); }
virtual property String^ MisspelledWord { String^ get(); }
virtual property List<String^>^ DictionarySuggestions { List<String^>^ get(); }
virtual property bool IsEditable { bool get(); }
virtual property bool IsSpellCheckEnabled { bool get(); }
// TODO: Implement:
//virtual EditStateFlags GetEditStateFlags() OVERRIDE;
};
}
}