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 // Allow platform specific CSS rules. 6 // 7 // TODO(akalin): BMM and options page does something similar, too. 8 // Move this to util.js. 9 if (cr.isWindows) 10 document.documentElement.setAttribute('os', 'win'); 11 12 cr.ui.decorate('tabbox', cr.ui.TabBox); 13