Update include/ comments to Doxygen formatting (see issue #3384)

See related guidelines in the issue.
This commit is contained in:
Marshall Greenblatt
2022-08-31 22:03:04 -04:00
parent 7b352159df
commit d7a153bdd4
235 changed files with 11484 additions and 11274 deletions

View File

@@ -51,18 +51,18 @@
#include "include/cef_frame.h"
///
// Execute JavaScript with a user gesture to trigger functionality like
// onbeforeunload handlers that will otherwise be blocked.
/// Execute JavaScript with a user gesture to trigger functionality like
/// onbeforeunload handlers that will otherwise be blocked.
///
/*--cef(optional_param=javascript)--*/
void CefExecuteJavaScriptWithUserGestureForTests(CefRefPtr<CefFrame> frame,
const CefString& javascript);
///
// Set the DIR_SRC_TEST_DATA_ROOT directory used to load test data. Must be
// configured when running from a CEF binary distribution. Defaults to the
// "chromium/src" directory when running from a local CEF/Chromium build. |dir|
// must be an absolute path.
/// Set the DIR_SRC_TEST_DATA_ROOT directory used to load test data. Must be
/// configured when running from a CEF binary distribution. Defaults to the
/// "chromium/src" directory when running from a local CEF/Chromium build. |dir|
/// must be an absolute path.
///
/*--cef()--*/
void CefSetDataDirectoryForTests(const CefString& dir);

View File

@@ -56,33 +56,33 @@ class CefTestServerConnection;
class CefTestServerHandler;
///
// Class representing an embedded test server that supports HTTP/HTTPS requests.
// This is a basic server providing only an essential subset of the HTTP/1.1
// protocol. Especially, it assumes that the request syntax is correct. It *does
// not* support a Chunked Transfer Encoding. Server capacity is limited and is
// intended to handle only a small number of simultaneous connections (e.g. for
// communicating between applications on localhost). The methods of this class
// are safe to call from any thread in the brower process unless otherwise
// indicated.
/// Class representing an embedded test server that supports HTTP/HTTPS
/// requests. This is a basic server providing only an essential subset of the
/// HTTP/1.1 protocol. Especially, it assumes that the request syntax is
/// correct. It *does not* support a Chunked Transfer Encoding. Server capacity
/// is limited and is intended to handle only a small number of simultaneous
/// connections (e.g. for communicating between applications on localhost). The
/// methods of this class are safe to call from any thread in the brower process
/// unless otherwise indicated.
///
/*--cef(source=library)--*/
class CefTestServer : public CefBaseRefCounted {
public:
///
// Create and start a new test server that binds to |port|. If |port| is 0 an
// available port number will be selected. If |https_server| is true the
// server will be HTTPS, otherwise it will be HTTP. When |https_server| is
// true the |https_cert_type| value is used to configure the certificate type.
// Returns the newly created server object on success, or nullptr if the
// server cannot be started.
//
// A new thread will be created for each CreateAndStart call (the "dedicated
// server thread"). It is therefore recommended to use a different
// CefTestServerHandler instance for each CreateAndStart call to avoid thread
// safety issues in the CefTestServerHandler implementation.
//
// On success, this method will block until the dedicated server thread has
// started. The server will continue running until Stop is called.
/// Create and start a new test server that binds to |port|. If |port| is 0 an
/// available port number will be selected. If |https_server| is true the
/// server will be HTTPS, otherwise it will be HTTP. When |https_server| is
/// true the |https_cert_type| value is used to configure the certificate
/// type. Returns the newly created server object on success, or nullptr if
/// the server cannot be started.
///
/// A new thread will be created for each CreateAndStart call (the "dedicated
/// server thread"). It is therefore recommended to use a different
/// CefTestServerHandler instance for each CreateAndStart call to avoid thread
/// safety issues in the CefTestServerHandler implementation.
///
/// On success, this method will block until the dedicated server thread has
/// started. The server will continue running until Stop is called.
///
/*--cef()--*/
static CefRefPtr<CefTestServer> CreateAndStart(
@@ -92,35 +92,35 @@ class CefTestServer : public CefBaseRefCounted {
CefRefPtr<CefTestServerHandler> handler);
///
// Stop the server and shut down the dedicated server thread. This method must
// be called on the same thread as CreateAndStart. It will block until the
// dedicated server thread has shut down.
/// Stop the server and shut down the dedicated server thread. This method
/// must be called on the same thread as CreateAndStart. It will block until
/// the dedicated server thread has shut down.
///
/*--cef()--*/
virtual void Stop() = 0;
///
// Returns the server origin including the port number (e.g.
// "[http|https]://127.0.0.1:<port>".
/// Returns the server origin including the port number (e.g.
/// "[http|https]://127.0.0.1:<port>".
///
/*--cef()--*/
virtual CefString GetOrigin() = 0;
};
///
// Implement this interface to handle test server requests. A new thread will be
// created for each CefTestServer::CreateAndStart call (the "dedicated server
// thread"), and the methods of this class will be called on that thread. See
// related documentation on CefTestServer::CreateAndStart.
/// Implement this interface to handle test server requests. A new thread will
/// be created for each CefTestServer::CreateAndStart call (the "dedicated
/// server thread"), and the methods of this class will be called on that
/// thread. See related documentation on CefTestServer::CreateAndStart.
///
/*--cef(source=client)--*/
class CefTestServerHandler : public virtual CefBaseRefCounted {
public:
///
// Called when |server| receives a request. To handle the request return true
// and use |connection| to send the response either synchronously or
// asynchronously. Otherwise, return false if the request is unhandled. When
// returning false do not call any |connection| methods.
/// Called when |server| receives a request. To handle the request return true
/// and use |connection| to send the response either synchronously or
/// asynchronously. Otherwise, return false if the request is unhandled. When
/// returning false do not call any |connection| methods.
///
/*--cef()--*/
virtual bool OnTestServerRequest(
@@ -130,9 +130,9 @@ class CefTestServerHandler : public virtual CefBaseRefCounted {
};
///
// Class representing a test server connection. The methods of this class are
// safe to call from any thread in the brower process unless otherwise
// indicated.
/// Class representing a test server connection. The methods of this class are
/// safe to call from any thread in the brower process unless otherwise
/// indicated.
///
/*--cef(source=library)--*/
class CefTestServerConnection : public CefBaseRefCounted {
@@ -140,10 +140,10 @@ class CefTestServerConnection : public CefBaseRefCounted {
typedef std::multimap<CefString, CefString> HeaderMap;
///
// Send an HTTP 200 "OK" response. |content_type| is the response content type
// (e.g. "text/html"). |data| is the response content and |data_size| is the
// size of |data| in bytes. The contents of |data| will be copied. The
// connection will be closed automatically after the response is sent.
/// Send an HTTP 200 "OK" response. |content_type| is the response content
/// type (e.g. "text/html"). |data| is the response content and |data_size| is
/// the size of |data| in bytes. The contents of |data| will be copied. The
/// connection will be closed automatically after the response is sent.
///
/*--cef()--*/
virtual void SendHttp200Response(const CefString& content_type,
@@ -151,27 +151,27 @@ class CefTestServerConnection : public CefBaseRefCounted {
size_t data_size) = 0;
///
// Send an HTTP 404 "Not Found" response. The connection will be closed
// automatically after the response is sent.
/// Send an HTTP 404 "Not Found" response. The connection will be closed
/// automatically after the response is sent.
///
/*--cef()--*/
virtual void SendHttp404Response() = 0;
///
// Send an HTTP 500 "Internal Server Error" response. |error_message| is the
// associated error message. The connection will be closed automatically after
// the response is sent.
/// Send an HTTP 500 "Internal Server Error" response. |error_message| is the
/// associated error message. The connection will be closed automatically
/// after the response is sent.
///
/*--cef()--*/
virtual void SendHttp500Response(const CefString& error_message) = 0;
///
// Send a custom HTTP response. |response_code| is the HTTP response code sent
// in the status line (e.g. 200). |content_type| is the response content type
// (e.g. "text/html"). |data| is the response content and |data_size| is the
// size of |data| in bytes. The contents of |data| will be copied.
// |extra_headers| is an optional map of additional header key/value pairs.
// The connection will be closed automatically after the response is sent.
/// Send a custom HTTP response. |response_code| is the HTTP response code
/// sent in the status line (e.g. 200). |content_type| is the response content
/// type (e.g. "text/html"). |data| is the response content and |data_size| is
/// the size of |data| in bytes. The contents of |data| will be copied.
/// |extra_headers| is an optional map of additional header key/value pairs.
/// The connection will be closed automatically after the response is sent.
///
/*--cef(optional_param=extra_headers)--*/
virtual void SendHttpResponse(int response_code,

View File

@@ -81,13 +81,13 @@ class CefTranslatorTestScopedLibraryChild;
#define TEST_Y_VAL2 300
///
// Class for testing all of the possible data transfer types.
/// Class for testing all of the possible data transfer types.
///
/*--cef(source=library)--*/
class CefTranslatorTest : public CefBaseRefCounted {
public:
///
// Create the test object.
/// Create the test object.
///
/*--cef()--*/
static CefRefPtr<CefTranslatorTest> Create();
@@ -95,73 +95,73 @@ class CefTranslatorTest : public CefBaseRefCounted {
// PRIMITIVE VALUES
///
// Return a void value.
/// Return a void value.
///
/*--cef()--*/
virtual void GetVoid() = 0;
///
// Return a bool value.
/// Return a bool value.
///
/*--cef()--*/
virtual bool GetBool() = 0;
///
// Return an int value.
/// Return an int value.
///
/*--cef()--*/
virtual int GetInt() = 0;
///
// Return a double value.
/// Return a double value.
///
/*--cef()--*/
virtual double GetDouble() = 0;
///
// Return a long value.
/// Return a long value.
///
/*--cef()--*/
virtual long GetLong() = 0;
///
// Return a size_t value.
/// Return a size_t value.
///
/*--cef()--*/
virtual size_t GetSizet() = 0;
///
// Set a void value.
/// Set a void value.
///
/*--cef()--*/
virtual bool SetVoid() = 0;
///
// Set a bool value.
/// Set a bool value.
///
/*--cef()--*/
virtual bool SetBool(bool val) = 0;
///
// Set an int value.
/// Set an int value.
///
/*--cef()--*/
virtual bool SetInt(int val) = 0;
///
// Set a double value.
/// Set a double value.
///
/*--cef()--*/
virtual bool SetDouble(double val) = 0;
///
// Set a long value.
/// Set a long value.
///
/*--cef()--*/
virtual bool SetLong(long val) = 0;
///
// Set a size_t value.
/// Set a size_t value.
///
/*--cef()--*/
virtual bool SetSizet(size_t val) = 0;
@@ -172,19 +172,19 @@ class CefTranslatorTest : public CefBaseRefCounted {
typedef std::vector<int> IntList;
///
// Set a int list value.
/// Set a int list value.
///
/*--cef()--*/
virtual bool SetIntList(const std::vector<int>& val) = 0;
///
// Return an int list value by out-param.
/// Return an int list value by out-param.
///
/*--cef(count_func=val:GetIntListSize)--*/
virtual bool GetIntListByRef(IntList& val) = 0;
///
// Return the number of points that will be output above.
/// Return the number of points that will be output above.
///
/*--cef()--*/
virtual size_t GetIntListSize() = 0;
@@ -192,19 +192,19 @@ class CefTranslatorTest : public CefBaseRefCounted {
// STRING VALUES
///
// Return a string value.
/// Return a string value.
///
/*--cef()--*/
virtual CefString GetString() = 0;
///
// Set a string value.
/// Set a string value.
///
/*--cef()--*/
virtual bool SetString(const CefString& val) = 0;
///
// Return a string value by out-param.
/// Return a string value by out-param.
///
/*--cef()--*/
virtual void GetStringByRef(CefString& val) = 0;
@@ -215,13 +215,13 @@ class CefTranslatorTest : public CefBaseRefCounted {
typedef std::vector<CefString> StringList;
///
// Set a string list value.
/// Set a string list value.
///
/*--cef()--*/
virtual bool SetStringList(const std::vector<CefString>& val) = 0;
///
// Return a string list value by out-param.
/// Return a string list value by out-param.
///
/*--cef()--*/
virtual bool GetStringListByRef(StringList& val) = 0;
@@ -232,13 +232,13 @@ class CefTranslatorTest : public CefBaseRefCounted {
typedef std::map<CefString, CefString> StringMap;
///
// Set a string map value.
/// Set a string map value.
///
/*--cef()--*/
virtual bool SetStringMap(const StringMap& val) = 0;
///
// Return a string map value by out-param.
/// Return a string map value by out-param.
///
/*--cef()--*/
virtual bool GetStringMapByRef(std::map<CefString, CefString>& val) = 0;
@@ -249,14 +249,14 @@ class CefTranslatorTest : public CefBaseRefCounted {
typedef std::multimap<CefString, CefString> StringMultimap;
///
// Set a string multimap value.
/// Set a string multimap value.
///
/*--cef()--*/
virtual bool SetStringMultimap(
const std::multimap<CefString, CefString>& val) = 0;
///
// Return a string multimap value by out-param.
/// Return a string multimap value by out-param.
///
/*--cef()--*/
virtual bool GetStringMultimapByRef(StringMultimap& val) = 0;
@@ -264,19 +264,19 @@ class CefTranslatorTest : public CefBaseRefCounted {
// STRUCT VALUES
///
// Return a point value.
/// Return a point value.
///
/*--cef()--*/
virtual CefPoint GetPoint() = 0;
///
// Set a point value.
/// Set a point value.
///
/*--cef()--*/
virtual bool SetPoint(const CefPoint& val) = 0;
///
// Return a point value by out-param.
/// Return a point value by out-param.
///
/*--cef()--*/
virtual void GetPointByRef(CefPoint& val) = 0;
@@ -287,19 +287,19 @@ class CefTranslatorTest : public CefBaseRefCounted {
typedef std::vector<CefPoint> PointList;
///
// Set a point list vlaue.
/// Set a point list vlaue.
///
/*--cef()--*/
virtual bool SetPointList(const std::vector<CefPoint>& val) = 0;
///
// Return a point list value by out-param.
/// Return a point list value by out-param.
///
/*--cef(count_func=val:GetPointListSize)--*/
virtual bool GetPointListByRef(PointList& val) = 0;
///
// Return the number of points that will be output above.
/// Return the number of points that will be output above.
///
/*--cef()--*/
virtual size_t GetPointListSize() = 0;
@@ -307,41 +307,41 @@ class CefTranslatorTest : public CefBaseRefCounted {
// LIBRARY-SIDE REFPTR VALUES
///
// Return an new library-side object.
/// Return an new library-side object.
///
/*--cef()--*/
virtual CefRefPtr<CefTranslatorTestRefPtrLibrary> GetRefPtrLibrary(
int val) = 0;
///
// Set an object. Returns the value from
// CefTranslatorTestRefPtrLibrary::GetValue().
// This tests input and execution of a library-side object type.
/// Set an object. Returns the value from
/// CefTranslatorTestRefPtrLibrary::GetValue().
/// This tests input and execution of a library-side object type.
///
/*--cef()--*/
virtual int SetRefPtrLibrary(
CefRefPtr<CefTranslatorTestRefPtrLibrary> val) = 0;
///
// Set an object. Returns the object passed in. This tests input and output
// of a library-side object type.
/// Set an object. Returns the object passed in. This tests input and output
/// of a library-side object type.
///
/*--cef()--*/
virtual CefRefPtr<CefTranslatorTestRefPtrLibrary> SetRefPtrLibraryAndReturn(
CefRefPtr<CefTranslatorTestRefPtrLibrary> val) = 0;
///
// Set a child object. Returns the value from
// CefTranslatorTestRefPtrLibrary::GetValue(). This tests input of a library-
// side child object type and execution as the parent type.
/// Set a child object. Returns the value from
/// CefTranslatorTestRefPtrLibrary::GetValue(). This tests input of a library-
/// side child object type and execution as the parent type.
///
/*--cef()--*/
virtual int SetChildRefPtrLibrary(
CefRefPtr<CefTranslatorTestRefPtrLibraryChild> val) = 0;
///
// Set a child object. Returns the object as the parent type. This tests input
// of a library-side child object type and return as the parent type.
/// Set a child object. Returns the object as the parent type. This tests
/// input of a library-side child object type and return as the parent type.
///
/*--cef()--*/
virtual CefRefPtr<CefTranslatorTestRefPtrLibrary>
@@ -355,7 +355,7 @@ class CefTranslatorTest : public CefBaseRefCounted {
RefPtrLibraryList;
///
// Set an object list vlaue.
/// Set an object list vlaue.
///
/*--cef()--*/
virtual bool SetRefPtrLibraryList(
@@ -364,7 +364,7 @@ class CefTranslatorTest : public CefBaseRefCounted {
int val2) = 0;
///
// Return an object list value by out-param.
/// Return an object list value by out-param.
///
/*--cef(count_func=val:GetRefPtrLibraryListSize)--*/
virtual bool GetRefPtrLibraryListByRef(RefPtrLibraryList& val,
@@ -372,7 +372,7 @@ class CefTranslatorTest : public CefBaseRefCounted {
int val2) = 0;
///
// Return the number of object that will be output above.
/// Return the number of object that will be output above.
///
/*--cef()--*/
virtual size_t GetRefPtrLibraryListSize() = 0;
@@ -380,33 +380,33 @@ class CefTranslatorTest : public CefBaseRefCounted {
// CLIENT-SIDE REFPTR VALUES
///
// Set an object. Returns the value from
// CefTranslatorTestRefPtrClient::GetValue().
// This tests input and execution of a client-side object type.
/// Set an object. Returns the value from
/// CefTranslatorTestRefPtrClient::GetValue().
/// This tests input and execution of a client-side object type.
///
/*--cef()--*/
virtual int SetRefPtrClient(CefRefPtr<CefTranslatorTestRefPtrClient> val) = 0;
///
// Set an object. Returns the handler passed in. This tests input and output
// of a client-side object type.
/// Set an object. Returns the handler passed in. This tests input and output
/// of a client-side object type.
///
/*--cef()--*/
virtual CefRefPtr<CefTranslatorTestRefPtrClient> SetRefPtrClientAndReturn(
CefRefPtr<CefTranslatorTestRefPtrClient> val) = 0;
///
// Set a child object. Returns the value from
// CefTranslatorTestRefPtrClient::GetValue(). This tests input of a client-
// side child object type and execution as the parent type.
/// Set a child object. Returns the value from
/// CefTranslatorTestRefPtrClient::GetValue(). This tests input of a client-
/// side child object type and execution as the parent type.
///
/*--cef()--*/
virtual int SetChildRefPtrClient(
CefRefPtr<CefTranslatorTestRefPtrClientChild> val) = 0;
///
// Set a child object. Returns the object as the parent type. This tests
// input of a client-side child object type and return as the parent type.
/// Set a child object. Returns the object as the parent type. This tests
/// input of a client-side child object type and return as the parent type.
///
/*--cef()--*/
virtual CefRefPtr<CefTranslatorTestRefPtrClient>
@@ -420,7 +420,7 @@ class CefTranslatorTest : public CefBaseRefCounted {
RefPtrClientList;
///
// Set an object list vlaue.
/// Set an object list vlaue.
///
/*--cef()--*/
virtual bool SetRefPtrClientList(
@@ -429,7 +429,7 @@ class CefTranslatorTest : public CefBaseRefCounted {
int val2) = 0;
///
// Return an object list value by out-param.
/// Return an object list value by out-param.
///
/*--cef(count_func=val:GetRefPtrLibraryListSize)--*/
virtual bool GetRefPtrClientListByRef(
@@ -438,7 +438,7 @@ class CefTranslatorTest : public CefBaseRefCounted {
CefRefPtr<CefTranslatorTestRefPtrClient> val2) = 0;
///
// Return the number of object that will be output above.
/// Return the number of object that will be output above.
///
/*--cef()--*/
virtual size_t GetRefPtrClientListSize() = 0;
@@ -446,41 +446,41 @@ class CefTranslatorTest : public CefBaseRefCounted {
// LIBRARY-SIDE OWNPTR VALUES
///
// Return an new library-side object.
/// Return an new library-side object.
///
/*--cef()--*/
virtual CefOwnPtr<CefTranslatorTestScopedLibrary> GetOwnPtrLibrary(
int val) = 0;
///
// Set an object. Returns the value from
// CefTranslatorTestScopedLibrary::GetValue().
// This tests input and execution of a library-side object type.
/// Set an object. Returns the value from
/// CefTranslatorTestScopedLibrary::GetValue().
/// This tests input and execution of a library-side object type.
///
/*--cef()--*/
virtual int SetOwnPtrLibrary(
CefOwnPtr<CefTranslatorTestScopedLibrary> val) = 0;
///
// Set an object. Returns the object passed in. This tests input and output
// of a library-side object type.
/// Set an object. Returns the object passed in. This tests input and output
/// of a library-side object type.
///
/*--cef()--*/
virtual CefOwnPtr<CefTranslatorTestScopedLibrary> SetOwnPtrLibraryAndReturn(
CefOwnPtr<CefTranslatorTestScopedLibrary> val) = 0;
///
// Set a child object. Returns the value from
// CefTranslatorTestScopedLibrary::GetValue(). This tests input of a library-
// side child object type and execution as the parent type.
/// Set a child object. Returns the value from
/// CefTranslatorTestScopedLibrary::GetValue(). This tests input of a library-
/// side child object type and execution as the parent type.
///
/*--cef()--*/
virtual int SetChildOwnPtrLibrary(
CefOwnPtr<CefTranslatorTestScopedLibraryChild> val) = 0;
///
// Set a child object. Returns the object as the parent type. This tests input
// of a library-side child object type and return as the parent type.
/// Set a child object. Returns the object as the parent type. This tests
/// input of a library-side child object type and return as the parent type.
///
/*--cef()--*/
virtual CefOwnPtr<CefTranslatorTestScopedLibrary>
@@ -490,33 +490,33 @@ class CefTranslatorTest : public CefBaseRefCounted {
// CLIENT-SIDE OWNPTR VALUES
///
// Set an object. Returns the value from
// CefTranslatorTestScopedClient::GetValue().
// This tests input and execution of a client-side object type.
/// Set an object. Returns the value from
/// CefTranslatorTestScopedClient::GetValue().
/// This tests input and execution of a client-side object type.
///
/*--cef()--*/
virtual int SetOwnPtrClient(CefOwnPtr<CefTranslatorTestScopedClient> val) = 0;
///
// Set an object. Returns the handler passed in. This tests input and output
// of a client-side object type.
/// Set an object. Returns the handler passed in. This tests input and output
/// of a client-side object type.
///
/*--cef()--*/
virtual CefOwnPtr<CefTranslatorTestScopedClient> SetOwnPtrClientAndReturn(
CefOwnPtr<CefTranslatorTestScopedClient> val) = 0;
///
// Set a child object. Returns the value from
// CefTranslatorTestScopedClient::GetValue(). This tests input of a client-
// side child object type and execution as the parent type.
/// Set a child object. Returns the value from
/// CefTranslatorTestScopedClient::GetValue(). This tests input of a client-
/// side child object type and execution as the parent type.
///
/*--cef()--*/
virtual int SetChildOwnPtrClient(
CefOwnPtr<CefTranslatorTestScopedClientChild> val) = 0;
///
// Set a child object. Returns the object as the parent type. This tests
// input of a client-side child object type and return as the parent type.
/// Set a child object. Returns the object as the parent type. This tests
/// input of a client-side child object type and return as the parent type.
///
/*--cef()--*/
virtual CefOwnPtr<CefTranslatorTestScopedClient>
@@ -526,18 +526,18 @@ class CefTranslatorTest : public CefBaseRefCounted {
// LIBRARY-SIDE RAWPTR VALUES
///
// Set an object. Returns the value from
// CefTranslatorTestScopedLibrary::GetValue().
// This tests input and execution of a library-side object type.
/// Set an object. Returns the value from
/// CefTranslatorTestScopedLibrary::GetValue().
/// This tests input and execution of a library-side object type.
///
/*--cef()--*/
virtual int SetRawPtrLibrary(
CefRawPtr<CefTranslatorTestScopedLibrary> val) = 0;
///
// Set a child object. Returns the value from
// CefTranslatorTestScopedLibrary::GetValue(). This tests input of a library-
// side child object type and execution as the parent type.
/// Set a child object. Returns the value from
/// CefTranslatorTestScopedLibrary::GetValue(). This tests input of a library-
/// side child object type and execution as the parent type.
///
/*--cef()--*/
virtual int SetChildRawPtrLibrary(
@@ -550,7 +550,7 @@ class CefTranslatorTest : public CefBaseRefCounted {
RawPtrLibraryList;
///
// Set an object list vlaue.
/// Set an object list vlaue.
///
/*--cef()--*/
virtual bool SetRawPtrLibraryList(
@@ -561,17 +561,17 @@ class CefTranslatorTest : public CefBaseRefCounted {
// CLIENT-SIDE RAWPTR VALUES
///
// Set an object. Returns the value from
// CefTranslatorTestScopedClient::GetValue().
// This tests input and execution of a client-side object type.
/// Set an object. Returns the value from
/// CefTranslatorTestScopedClient::GetValue().
/// This tests input and execution of a client-side object type.
///
/*--cef()--*/
virtual int SetRawPtrClient(CefRawPtr<CefTranslatorTestScopedClient> val) = 0;
///
// Set a child object. Returns the value from
// CefTranslatorTestScopedClient::GetValue(). This tests input of a client-
// side child object type and execution as the parent type.
/// Set a child object. Returns the value from
/// CefTranslatorTestScopedClient::GetValue(). This tests input of a client-
/// side child object type and execution as the parent type.
///
/*--cef()--*/
virtual int SetChildRawPtrClient(
@@ -584,7 +584,7 @@ class CefTranslatorTest : public CefBaseRefCounted {
RawPtrClientList;
///
// Set an object list vlaue.
/// Set an object list vlaue.
///
/*--cef()--*/
virtual bool SetRawPtrClientList(
@@ -594,212 +594,212 @@ class CefTranslatorTest : public CefBaseRefCounted {
};
///
// Library-side test object for RefPtr.
/// Library-side test object for RefPtr.
///
/*--cef(source=library)--*/
class CefTranslatorTestRefPtrLibrary : public CefBaseRefCounted {
public:
///
// Create the test object.
/// Create the test object.
///
/*--cef()--*/
static CefRefPtr<CefTranslatorTestRefPtrLibrary> Create(int value);
///
// Return a value.
/// Return a value.
///
/*--cef()--*/
virtual int GetValue() = 0;
///
// Set a value.
/// Set a value.
///
/*--cef()--*/
virtual void SetValue(int value) = 0;
};
///
// Library-side child test object for RefPtr.
/// Library-side child test object for RefPtr.
///
/*--cef(source=library)--*/
class CefTranslatorTestRefPtrLibraryChild
: public CefTranslatorTestRefPtrLibrary {
public:
///
// Create the test object.
/// Create the test object.
///
/*--cef()--*/
static CefRefPtr<CefTranslatorTestRefPtrLibraryChild> Create(int value,
int other_value);
///
// Return a value.
/// Return a value.
///
/*--cef()--*/
virtual int GetOtherValue() = 0;
///
// Set a value.
/// Set a value.
///
/*--cef()--*/
virtual void SetOtherValue(int value) = 0;
};
///
// Another library-side child test object for RefPtr.
/// Another library-side child test object for RefPtr.
///
/*--cef(source=library)--*/
class CefTranslatorTestRefPtrLibraryChildChild
: public CefTranslatorTestRefPtrLibraryChild {
public:
///
// Create the test object.
/// Create the test object.
///
/*--cef()--*/
static CefRefPtr<CefTranslatorTestRefPtrLibraryChildChild>
Create(int value, int other_value, int other_other_value);
///
// Return a value.
/// Return a value.
///
/*--cef()--*/
virtual int GetOtherOtherValue() = 0;
///
// Set a value.
/// Set a value.
///
/*--cef()--*/
virtual void SetOtherOtherValue(int value) = 0;
};
///
// Client-side test object for RefPtr.
/// Client-side test object for RefPtr.
///
/*--cef(source=client)--*/
class CefTranslatorTestRefPtrClient : public virtual CefBaseRefCounted {
public:
///
// Return a value.
/// Return a value.
///
/*--cef()--*/
virtual int GetValue() = 0;
};
///
// Client-side child test object for RefPtr.
/// Client-side child test object for RefPtr.
///
/*--cef(source=client)--*/
class CefTranslatorTestRefPtrClientChild
: public CefTranslatorTestRefPtrClient {
public:
///
// Return a value.
/// Return a value.
///
/*--cef()--*/
virtual int GetOtherValue() = 0;
};
///
// Library-side test object for OwnPtr/RawPtr.
/// Library-side test object for OwnPtr/RawPtr.
///
/*--cef(source=library)--*/
class CefTranslatorTestScopedLibrary : public CefBaseScoped {
public:
///
// Create the test object.
/// Create the test object.
///
/*--cef()--*/
static CefOwnPtr<CefTranslatorTestScopedLibrary> Create(int value);
///
// Return a value.
/// Return a value.
///
/*--cef()--*/
virtual int GetValue() = 0;
///
// Set a value.
/// Set a value.
///
/*--cef()--*/
virtual void SetValue(int value) = 0;
};
///
// Library-side child test object for OwnPtr/RawPtr.
/// Library-side child test object for OwnPtr/RawPtr.
///
/*--cef(source=library)--*/
class CefTranslatorTestScopedLibraryChild
: public CefTranslatorTestScopedLibrary {
public:
///
// Create the test object.
/// Create the test object.
///
/*--cef()--*/
static CefOwnPtr<CefTranslatorTestScopedLibraryChild> Create(int value,
int other_value);
///
// Return a value.
/// Return a value.
///
/*--cef()--*/
virtual int GetOtherValue() = 0;
///
// Set a value.
/// Set a value.
///
/*--cef()--*/
virtual void SetOtherValue(int value) = 0;
};
///
// Another library-side child test object for OwnPtr/RawPtr.
/// Another library-side child test object for OwnPtr/RawPtr.
///
/*--cef(source=library)--*/
class CefTranslatorTestScopedLibraryChildChild
: public CefTranslatorTestScopedLibraryChild {
public:
///
// Create the test object.
/// Create the test object.
///
/*--cef()--*/
static CefOwnPtr<CefTranslatorTestScopedLibraryChildChild>
Create(int value, int other_value, int other_other_value);
///
// Return a value.
/// Return a value.
///
/*--cef()--*/
virtual int GetOtherOtherValue() = 0;
///
// Set a value.
/// Set a value.
///
/*--cef()--*/
virtual void SetOtherOtherValue(int value) = 0;
};
///
// Client-side test object for OwnPtr/RawPtr.
/// Client-side test object for OwnPtr/RawPtr.
///
/*--cef(source=client)--*/
class CefTranslatorTestScopedClient : public virtual CefBaseScoped {
public:
///
// Return a value.
/// Return a value.
///
/*--cef()--*/
virtual int GetValue() = 0;
};
///
// Client-side child test object for OwnPtr/RawPtr.
/// Client-side child test object for OwnPtr/RawPtr.
///
/*--cef(source=client)--*/
class CefTranslatorTestScopedClientChild
: public CefTranslatorTestScopedClient {
public:
///
// Return a value.
/// Return a value.
///
/*--cef()--*/
virtual int GetOtherValue() = 0;