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

Side by Side Diff: chrome/browser/resources/settings/utils/platform_info.js

Issue 986843002: Scaffold for MD-Settings, inside chrome://md-settings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Expand scaffold and add to chrome://md-settings (point of this CL) Created 5 years, 9 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 2015 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 var PlatformInfo = {
6 /** @return {boolean} True if this is on Chrome OS. */
7 isChromeOs: function() {
8 // Temporary hack to show Chrome OS settings for testing and
9 // development.
10 return /CrOS/.test(navigator.userAgent) ||
11 /cros/i.test(window.location.href);
12 },
13 };
OLDNEW
« no previous file with comments | « chrome/browser/resources/settings/settings_ui/settings_ui.js ('k') | chrome/browser/resources/settings/utils/utils.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698