My thoughts, prayers, and deepest sympathy are with all those who have been affected by yesterday's awful violence," she said in a message to Craig Mackey, the acting commissioner of the Metropolitan Police.