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

Side by Side Diff: components/version_ui/resources/about_version_ios.js

Issue 2041603002: [ios Mojo] Implemented chrome://version. Base URL: https://chromium.googlesource.com/chromium/src.git@mojo_version
Patch Set: Self review Created 4 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
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 /**
6 * Callback from the backend with the list of variations to display.
7 * This call will build the variations section of the version page, or hide that
8 * section if there are none to display.
9 * @param {!Array<string>} variationsList The list of variations.
10 */
11 function returnVariationInfo(variationsList) {
12 $('variations-section').hidden = !variationsList.length;
13 $('variations-list').appendChild(
14 parseHtmlSubset(variationsList.join('<br>'), ['BR']));
15 }
16
17
18 /* All the work we do onload. */
19 function onLoadWork() {
20 chrome.send('requestVersionInfo');
21 }
22
23 document.addEventListener('DOMContentLoaded', onLoadWork);
OLDNEW
« no previous file with comments | « components/version_ui/resources/about_version.js ('k') | components/version_ui/version_handler_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698