Index: chrome/browser/resources/welcome/win10/taskbar-pin.js |
diff --git a/chrome/browser/resources/welcome/win10/taskbar-pin.js b/chrome/browser/resources/welcome/win10/taskbar-pin.js |
new file mode 100644 |
index 0000000000000000000000000000000000000000..130c9d0ce47023dd798e4c130ad47b2880a05b29 |
--- /dev/null |
+++ b/chrome/browser/resources/welcome/win10/taskbar-pin.js |
@@ -0,0 +1,24 @@ |
+// Copyright 2016 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. |
+ |
+cr.define('taskbarpin', function() { |
+ 'use strict'; |
+ |
+ function injectLocalizedStrings() { |
+ $('section-steps--right-click').innerHTML = |
+ loadTimeData.getString('rightClickText'); |
+ $('section-steps--pin-taskbar').innerHTML = |
+ loadTimeData.getString('pinInstructionText'); |
+ } |
+ |
+ function initialize() { |
+ injectLocalizedStrings(); |
+ } |
+ |
+ return { |
+ initialize: initialize |
+ }; |
+}); |
+ |
+document.addEventListener('DOMContentLoaded', taskbarpin.initialize); |