OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 // File Description: | 5 // File Description: |
6 // Helper functionality to allow testing the Android NTP from any device. | 6 // Helper functionality to allow testing the Android NTP from any device. |
7 | 7 |
8 var gmailURI = | 8 var gmailURI = |
9 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAGX' + | 9 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAGX' + |
10 'RFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS' + | 10 'RFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS' + |
(...skipping 1551 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1562 return evt.pageY; | 1562 return evt.pageY; |
1563 }; | 1563 }; |
1564 | 1564 |
1565 /** Mock data, normally generated by native C++ code. */ | 1565 /** Mock data, normally generated by native C++ code. */ |
1566 window.templateData = { | 1566 window.templateData = { |
1567 device: 'tablet', | 1567 device: 'tablet', |
1568 title: 'New Tab', | 1568 title: 'New Tab', |
1569 mostvisited: 'Most Visited', | 1569 mostvisited: 'Most Visited', |
1570 remotetabs: 'Open Tabs' | 1570 remotetabs: 'Open Tabs' |
1571 }; | 1571 }; |
OLD | NEW |