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

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

Issue 110723007: Add the viewer toolbar to the PDF extension (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
« no previous file with comments | « chrome/browser/resources/pdf/index.in.html ('k') | no next file » | 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 259bd39b839e5c2aff82080b3d0a66e19db0c410..d6199ef2dd4df416782b878cdea326436769c656 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.registerElement = 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/index.in.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698