Improve the documentation for CefBrowerHost::GetDevToolsURL (issue #583).

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@647 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
Marshall Greenblatt 2012-05-24 14:19:43 +00:00
parent 53e4ce626d
commit f82acbf9e0
2 changed files with 8 additions and 4 deletions

View File

@ -226,8 +226,10 @@ typedef struct _cef_browser_host_t {
///
// Returns the DevTools URL for this browser. If |http_scheme| is true (1) the
// returned URL will use the http scheme instead of the chrome-devtools
// scheme. If remote debugging is disabled this function will return an NULL
// string.
// scheme. Remote debugging can be enabled by specifying the "remote-
// debugging-port" command-line flag or by setting the
// CefSettings.remote_debugging_port value. If remote debugging is not enabled
// this function will return an NULL string.
///
// The resulting string must be freed by calling cef_string_userfree_free().
cef_string_userfree_t (CEF_CALLBACK *get_dev_tools_url)(

View File

@ -260,8 +260,10 @@ class CefBrowserHost : public virtual CefBase {
///
// Returns the DevTools URL for this browser. If |http_scheme| is true the
// returned URL will use the http scheme instead of the chrome-devtools
// scheme. If remote debugging is disabled this method will return an empty
// string.
// scheme. Remote debugging can be enabled by specifying the
// "remote-debugging-port" command-line flag or by setting the
// CefSettings.remote_debugging_port value. If remote debugging is not enabled
// this method will return an empty string.
///
/*--cef()--*/
virtual CefString GetDevToolsURL(bool http_scheme) =0;