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

Unified Diff: chrome_frame/cfinstall/src/miniclosure/style.js

Issue 126143005: Remove Chrome Frame code and resources. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync to r244038 Created 6 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: chrome_frame/cfinstall/src/miniclosure/style.js
diff --git a/chrome_frame/cfinstall/src/miniclosure/style.js b/chrome_frame/cfinstall/src/miniclosure/style.js
deleted file mode 100644
index 59905d7e68075a78fee26bd8257a35827c19551d..0000000000000000000000000000000000000000
--- a/chrome_frame/cfinstall/src/miniclosure/style.js
+++ /dev/null
@@ -1,29 +0,0 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-// A drop-in replacement for one method that we could use from Closure.
-
-goog.provide('goog.style');
-
-/**
- * Creates a style sheet in the document containing the passed rules.
- * A simplified version that does not take an optional node parameter.
- * @param {string} rules
- */
-goog.style.installStyles = function(rules) {
- try {
- var ss = document.createElement('style');
- ss.setAttribute('type', 'text/css');
- if (ss.styleSheet) {
- ss.styleSheet.cssText = rules;
- } else {
- ss.appendChild(document.createTextNode(rules));
- }
- var h = document.getElementsByTagName('head')[0];
- var firstChild = h.firstChild;
- h.insertBefore(ss, firstChild);
- } catch (e) {
- // squelch
- }
-};
« no previous file with comments | « chrome_frame/cfinstall/src/miniclosure/base.js ('k') | chrome_frame/cfinstall/src/stub/cf-activex-externs.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698