mirror of
				https://bitbucket.org/chromiumembedded/cef
				synced 2025-06-05 21:39:12 +02:00 
			
		
		
		
	Add trace events for SendProcessMessage and off-screen rendering (issue #991).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1301 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
		@@ -1270,6 +1270,9 @@ void CefBrowserHostImpl::SendCommand(
 | 
			
		||||
 | 
			
		||||
  // Execute on the UI thread because CefResponseManager is not thread safe.
 | 
			
		||||
  if (CEF_CURRENTLY_ON_UIT()) {
 | 
			
		||||
    TRACE_EVENT2("libcef", "CefBrowserHostImpl::SendCommand",
 | 
			
		||||
                 "frame_id", frame_id,
 | 
			
		||||
                 "needsResponse", responseHandler.get() ? 1 : 0);
 | 
			
		||||
    Cef_Request_Params params;
 | 
			
		||||
    params.name = "execute-command";
 | 
			
		||||
    params.frame_id = frame_id;
 | 
			
		||||
@@ -1307,6 +1310,9 @@ void CefBrowserHostImpl::SendCode(
 | 
			
		||||
 | 
			
		||||
  // Execute on the UI thread because CefResponseManager is not thread safe.
 | 
			
		||||
  if (CEF_CURRENTLY_ON_UIT()) {
 | 
			
		||||
    TRACE_EVENT2("libcef", "CefBrowserHostImpl::SendCommand",
 | 
			
		||||
                 "frame_id", frame_id,
 | 
			
		||||
                 "needsResponse", responseHandler.get() ? 1 : 0);
 | 
			
		||||
    Cef_Request_Params params;
 | 
			
		||||
    params.name = "execute-code";
 | 
			
		||||
    params.frame_id = frame_id;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user