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

Unified Diff: chrome/browser/resources/pdf/polymer_loader.js

Issue 111723010: Added toolbar Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years 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
« no previous file with comments | « chrome/browser/resources/pdf/pdf.js ('k') | third_party/polymer/README.chromium » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/pdf/polymer_loader.js
diff --git a/ui/keyboard/resources/polymer_loader.js b/chrome/browser/resources/pdf/polymer_loader.js
similarity index 74%
copy from ui/keyboard/resources/polymer_loader.js
copy to chrome/browser/resources/pdf/polymer_loader.js
index 38a6280dc68abfdf6f7ce89cecfbb08abb021dfd..6efe6a82ffe56133397666e02e5b1ae1590533d0 100644
--- a/ui/keyboard/resources/polymer_loader.js
+++ b/chrome/browser/resources/pdf/polymer_loader.js
@@ -2,10 +2,11 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+(function() {
// This is necessary because polymer currently doesn't handle the configuration
// where native Custom Elements are available but native Shadow DOM is not.
// TODO(bshe): remove this line when polymer supports the configuration.
document.register = undefined;
-<include src="../../../third_party/polymer/platform/platform.js"></include>
-<include src="../../../third_party/polymer/polymer/polymer.js"></include>
+<include src="../../../../third_party/polymer/platform/platform.js"></include>
+})();
« no previous file with comments | « chrome/browser/resources/pdf/pdf.js ('k') | third_party/polymer/README.chromium » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698