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,17 @@ class CefBinaryValueCToCpp
|
||||
: public CefCToCpp<CefBinaryValueCToCpp, CefBinaryValue,
|
||||
cef_binary_value_t> {
|
||||
public:
|
||||
explicit CefBinaryValueCToCpp(cef_binary_value_t* str)
|
||||
: CefCToCpp<CefBinaryValueCToCpp, CefBinaryValue, cef_binary_value_t>(
|
||||
str) {}
|
||||
CefBinaryValueCToCpp();
|
||||
|
||||
// CefBinaryValue methods
|
||||
virtual bool IsValid() OVERRIDE;
|
||||
virtual bool IsOwned() OVERRIDE;
|
||||
virtual bool IsSame(CefRefPtr<CefBinaryValue> that) OVERRIDE;
|
||||
virtual bool IsEqual(CefRefPtr<CefBinaryValue> that) OVERRIDE;
|
||||
virtual CefRefPtr<CefBinaryValue> Copy() OVERRIDE;
|
||||
virtual size_t GetSize() OVERRIDE;
|
||||
virtual size_t GetData(void* buffer, size_t buffer_size,
|
||||
size_t data_offset) OVERRIDE;
|
||||
// CefBinaryValue methods.
|
||||
bool IsValid() OVERRIDE;
|
||||
bool IsOwned() OVERRIDE;
|
||||
bool IsSame(CefRefPtr<CefBinaryValue> that) OVERRIDE;
|
||||
bool IsEqual(CefRefPtr<CefBinaryValue> that) OVERRIDE;
|
||||
CefRefPtr<CefBinaryValue> Copy() OVERRIDE;
|
||||
size_t GetSize() OVERRIDE;
|
||||
size_t GetData(void* buffer, size_t buffer_size, size_t data_offset) OVERRIDE;
|
||||
};
|
||||
|
||||
#endif // USING_CEF_SHARED
|
||||
#endif // CEF_LIBCEF_DLL_CTOCPP_BINARY_VALUE_CTOCPP_H_
|
||||
|
||||
|
Reference in New Issue
Block a user