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

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

Issue 10828140: Upstream about:welcome page for Android. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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
(Empty)
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
3 // found in the LICENSE file.
4
5 // File Description:
6 // Contains all the necessary functions for rendering the Welcome page on
7 // Android.
8
9 /*
10 * Handles initializing the UI when the page has finished loading.
11 */
12 window.addEventListener('DOMContentLoaded', function(evt) {
13 var anchors = document.getElementsByTagName('a');
14 for (var i = 0; i < anchors.length; i++) {
15 anchors[i].oncontextmenu = function() { return false; };
16 }
17 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698