mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-02-09 08:38:41 +01:00
- Move wrapper classes from cef_wrapper.h to wrapper/ directory. - Move C API functions/classes from cef_capi.h to capi/ directory. - Move global function implementations from cef_context.cc to *_impl.cc files. - Output auto-generated file paths in cef_paths.gypi. git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@442 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
37 lines
1007 B
C++
37 lines
1007 B
C++
// Copyright (c) 2011 The Chromium Embedded Framework Authors. All rights
|
|
// reserved. Use of this source code is governed by a BSD-style license that
|
|
// can be found in the LICENSE file.
|
|
|
|
#ifndef _DRAG_DATA_IMPL_H
|
|
#define _DRAG_DATA_IMPL_H
|
|
|
|
#include "include/cef_drag_data.h"
|
|
#include "webkit/glue/webdropdata.h"
|
|
|
|
// Implementation of CefDragData.
|
|
class CefDragDataImpl : public CefDragData
|
|
{
|
|
public:
|
|
explicit CefDragDataImpl(const WebDropData& data);
|
|
|
|
virtual bool IsLink();
|
|
virtual bool IsFragment();
|
|
virtual bool IsFile();
|
|
virtual CefString GetLinkURL();
|
|
virtual CefString GetLinkTitle();
|
|
virtual CefString GetLinkMetadata();
|
|
virtual CefString GetFragmentText();
|
|
virtual CefString GetFragmentHtml();
|
|
virtual CefString GetFragmentBaseURL();
|
|
virtual CefString GetFileExtension();
|
|
virtual CefString GetFileName();
|
|
virtual bool GetFileNames(std::vector<CefString>& names);
|
|
|
|
protected:
|
|
WebDropData data_;
|
|
|
|
IMPLEMENT_REFCOUNTING(CefDragDataImpl);
|
|
};
|
|
|
|
#endif // _DRAG_DATA_IMPL_H
|