mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Improve inheritance support in the CEF API (issue #1623).
- Support single parent inheritance in CEF API classes. - Support non-virtual inheritance in CEF API classes. - Support translation of CEF API sub-directories. - Add test sub-directories for testing-only functionality that will be available to unit tests but not exposed via the binary distribution. - Add unit tests for the translator tool. - Fix parsing of template parameter types that include commas.
This commit is contained in:
@@ -28,21 +28,18 @@ class CefPostDataElementCToCpp
|
||||
: public CefCToCpp<CefPostDataElementCToCpp, CefPostDataElement,
|
||||
cef_post_data_element_t> {
|
||||
public:
|
||||
explicit CefPostDataElementCToCpp(cef_post_data_element_t* str)
|
||||
: CefCToCpp<CefPostDataElementCToCpp, CefPostDataElement,
|
||||
cef_post_data_element_t>(str) {}
|
||||
CefPostDataElementCToCpp();
|
||||
|
||||
// CefPostDataElement methods
|
||||
virtual bool IsReadOnly() OVERRIDE;
|
||||
virtual void SetToEmpty() OVERRIDE;
|
||||
virtual void SetToFile(const CefString& fileName) OVERRIDE;
|
||||
virtual void SetToBytes(size_t size, const void* bytes) OVERRIDE;
|
||||
virtual Type GetType() OVERRIDE;
|
||||
virtual CefString GetFile() OVERRIDE;
|
||||
virtual size_t GetBytesCount() OVERRIDE;
|
||||
virtual size_t GetBytes(size_t size, void* bytes) OVERRIDE;
|
||||
// CefPostDataElement methods.
|
||||
bool IsReadOnly() OVERRIDE;
|
||||
void SetToEmpty() OVERRIDE;
|
||||
void SetToFile(const CefString& fileName) OVERRIDE;
|
||||
void SetToBytes(size_t size, const void* bytes) OVERRIDE;
|
||||
Type GetType() OVERRIDE;
|
||||
CefString GetFile() OVERRIDE;
|
||||
size_t GetBytesCount() OVERRIDE;
|
||||
size_t GetBytes(size_t size, void* bytes) OVERRIDE;
|
||||
};
|
||||
|
||||
#endif // USING_CEF_SHARED
|
||||
#endif // CEF_LIBCEF_DLL_CTOCPP_POST_DATA_ELEMENT_CTOCPP_H_
|
||||
|
||||
|
Reference in New Issue
Block a user