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

Side by Side Diff: trunk/src/chrome/browser/resources/ntp_android/ntp_android.js

Issue 264543002: Revert 267095 "Remove WebUI NTP on Android." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 7 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 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 // Contains all the necessary functions for rendering the NTP on mobile 6 // Contains all the necessary functions for rendering the NTP on mobile
7 // devices. 7 // devices.
8 8
9 /** 9 /**
10 * The event type used to determine when a touch starts. 10 * The event type used to determine when a touch starts.
(...skipping 2716 matching lines...) Expand 10 before | Expand all | Expand 10 after
2727 // NTP Entry point. 2727 // NTP Entry point.
2728 ///////////////////////////////////////////////////////////////////////////// 2728 /////////////////////////////////////////////////////////////////////////////
2729 2729
2730 /* 2730 /*
2731 * Handles initializing the UI when the page has finished loading. 2731 * Handles initializing the UI when the page has finished loading.
2732 */ 2732 */
2733 window.addEventListener('DOMContentLoaded', function(evt) { 2733 window.addEventListener('DOMContentLoaded', function(evt) {
2734 ntp.init(); 2734 ntp.init();
2735 $('content-area').style.display = 'block'; 2735 $('content-area').style.display = 'block';
2736 }); 2736 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698