| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html i18n-values="dir:textdirection"> | 2 <html i18n-values="dir:textdirection"> |
| 3 <!-- | 3 <!-- |
| 4 | 4 |
| 5 Copyright (c) 2010 The Chromium Authors. All rights reserved. | 5 Copyright (c) 2010 The Chromium Authors. All rights reserved. |
| 6 Use of this source code is governed by a BSD-style license that can be | 6 Use of this source code is governed by a BSD-style license that can be |
| 7 found in the LICENSE file. | 7 found in the LICENSE file. |
| 8 | 8 |
| 9 --> | 9 --> |
| 10 <head> | 10 <head> |
| (...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 147 const TreeItem = cr.ui.TreeItem; | 147 const TreeItem = cr.ui.TreeItem; |
| 148 const LinkKind = cr.LinkKind; | 148 const LinkKind = cr.LinkKind; |
| 149 const Command = cr.ui.Command; | 149 const Command = cr.ui.Command; |
| 150 const CommandBinding = cr.ui.CommandBinding; | 150 const CommandBinding = cr.ui.CommandBinding; |
| 151 const Menu = cr.ui.Menu; | 151 const Menu = cr.ui.Menu; |
| 152 const MenuButton = cr.ui.MenuButton; | 152 const MenuButton = cr.ui.MenuButton; |
| 153 const Promise = cr.Promise; | 153 const Promise = cr.Promise; |
| 154 | 154 |
| 155 // Sometimes the extension API is not initialized. | 155 // Sometimes the extension API is not initialized. |
| 156 if (!chrome.bookmarks) | 156 if (!chrome.bookmarks) |
| 157 console.error('Bookmarks extension API is not avaiable'); | 157 console.error('Bookmarks extension API is not available'); |
| 158 | 158 |
| 159 // Allow platform specific CSS rules. | 159 // Allow platform specific CSS rules. |
| 160 if (cr.isMac) | 160 if (cr.isMac) |
| 161 document.documentElement.setAttribute('os', 'mac'); | 161 document.documentElement.setAttribute('os', 'mac'); |
| 162 | 162 |
| 163 /** | 163 /** |
| 164 * The local strings object which is used to do the translation. | 164 * The local strings object which is used to do the translation. |
| 165 * @type {!LocalStrings} | 165 * @type {!LocalStrings} |
| 166 */ | 166 */ |
| 167 var localStrings = new LocalStrings; | 167 var localStrings = new LocalStrings; |
| (...skipping 1542 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1710 // Paste is a bit special since we need to do an async call to see if we can | 1710 // Paste is a bit special since we need to do an async call to see if we can |
| 1711 // paste because the paste command might not be up to date. | 1711 // paste because the paste command might not be up to date. |
| 1712 updatePasteCommand(pasteHandler); | 1712 updatePasteCommand(pasteHandler); |
| 1713 }); | 1713 }); |
| 1714 })(); | 1714 })(); |
| 1715 | 1715 |
| 1716 </script> | 1716 </script> |
| 1717 | 1717 |
| 1718 </body> | 1718 </body> |
| 1719 </html> | 1719 </html> |
| OLD | NEW |