Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(472)

Side by Side Diff: chrome/browser/resources/user_actions/user_actions.js

Issue 2600683002: Run tools/clang-format-js on some of chrome/browser/resources/ (Closed)
Patch Set: event_handler.js Created 3 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 /** 5 /**
6 * Javascript for user_actions.html, served from chrome://user-actions/ 6 * Javascript for user_actions.html, served from chrome://user-actions/
7 * This is used to debug user actions recording. It displays a live 7 * This is used to debug user actions recording. It displays a live
8 * stream of all user action events that occur in chromium while the 8 * stream of all user action events that occur in chromium while the
9 * chrome://user-actions/ page is open. 9 * chrome://user-actions/ page is open.
10 * 10 *
(...skipping 14 matching lines...) Expand all
25 var tr = document.createElement('tr'); 25 var tr = document.createElement('tr');
26 var td = document.createElement('td'); 26 var td = document.createElement('td');
27 td.textContent = userAction; 27 td.textContent = userAction;
28 tr.appendChild(td); 28 tr.appendChild(td);
29 td = document.createElement('td'); 29 td = document.createElement('td');
30 td.textContent = Date.now() / 1000; // in seconds since epoch 30 td.textContent = Date.now() / 1000; // in seconds since epoch
31 tr.appendChild(td); 31 tr.appendChild(td);
32 table.appendChild(tr); 32 table.appendChild(tr);
33 } 33 }
34 34
35 return { 35 return {observeUserAction: observeUserAction};
36 observeUserAction: observeUserAction
37 };
38 }); 36 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698