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

Side by Side Diff: chrome\browser\resources\new_tab.js

Issue 147226: Make the new new tab page the default new tab page.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 5 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 | Annotate | Revision Log
OLDNEW
1 1
2 // Helpers 2 // Helpers
3 3
4 function $(id) { 4 function $(id) {
5 return document.getElementById(id); 5 return document.getElementById(id);
6 } 6 }
7 7
8 // TODO(arv): Remove these when classList is available in HTML5. 8 // TODO(arv): Remove these when classList is available in HTML5.
9 // https://bugs.webkit.org/show_bug.cgi?id=20709 9 // https://bugs.webkit.org/show_bug.cgi?id=20709
10 function hasClass(el, name) { 10 function hasClass(el, name) {
(...skipping 1082 matching lines...) Expand 10 before | Expand all | Expand 10 after
1093 el.addEventListener('dragover', bind(this.handleDragOver, this)); 1093 el.addEventListener('dragover', bind(this.handleDragOver, this));
1094 el.addEventListener('dragleave', bind(this.handleDragLeave, this)); 1094 el.addEventListener('dragleave', bind(this.handleDragLeave, this));
1095 el.addEventListener('drop', bind(this.handleDrop, this)); 1095 el.addEventListener('drop', bind(this.handleDrop, this));
1096 el.addEventListener('dragend', bind(this.handleDragEnd, this)); 1096 el.addEventListener('dragend', bind(this.handleDragEnd, this));
1097 el.addEventListener('drag', bind(this.handleDrag, this)); 1097 el.addEventListener('drag', bind(this.handleDrag, this));
1098 el.addEventListener('mousedown', bind(this.handleMouseDown, this)); 1098 el.addEventListener('mousedown', bind(this.handleMouseDown, this));
1099 } 1099 }
1100 }; 1100 };
1101 1101
1102 dnd.init(); 1102 dnd.init();
OLDNEW
« chrome/common/chrome_switches.cc ('K') | « chrome\browser\resources\new_tab.css ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698