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

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

Issue 1223793018: Fake MD Flags sample WebUI (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase, update to GYP v2 Created 4 years, 10 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 2016 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 /** @typedef {{id: string}} */
7 var Flag;
8
9 cr.define('md_flags', function() {
10 function initialize() {
11 chrome.send('requestFlags');
12 }
13
14 /** @param {!Array<!Flag>} flags */
15 function setFlags(flags) {
16 $('flags-table').flags = flags;
17 };
18
19 return {
20 initialize: initialize,
21 setFlags: setFlags
22 };
23 });
24
25 md_flags.initialize();
OLDNEW
« no previous file with comments | « chrome/browser/resources/md_flags/md_flags.html ('k') | chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698