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

Side by Side Diff: chrome/browser/resources/bookmark_manager/js/main.js

Issue 1126453002: Adding strict mode for bookmark_manager file for better error checking. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressing nit. Created 5 years, 7 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 unified diff | Download patch
« no previous file with comments | « chrome/browser/resources/bookmark_manager/js/bmm/bookmark_tree.js ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 (function() { 5 (function() {
6 'use strict';
7
6 /** @const */ var BookmarkList = bmm.BookmarkList; 8 /** @const */ var BookmarkList = bmm.BookmarkList;
7 /** @const */ var BookmarkTree = bmm.BookmarkTree; 9 /** @const */ var BookmarkTree = bmm.BookmarkTree;
8 /** @const */ var Command = cr.ui.Command; 10 /** @const */ var Command = cr.ui.Command;
9 /** @const */ var LinkKind = cr.LinkKind; 11 /** @const */ var LinkKind = cr.LinkKind;
10 /** @const */ var ListItem = cr.ui.ListItem; 12 /** @const */ var ListItem = cr.ui.ListItem;
11 /** @const */ var Menu = cr.ui.Menu; 13 /** @const */ var Menu = cr.ui.Menu;
12 /** @const */ var MenuButton = cr.ui.MenuButton; 14 /** @const */ var MenuButton = cr.ui.MenuButton;
13 /** @const */ var Splitter = cr.ui.Splitter; 15 /** @const */ var Splitter = cr.ui.Splitter;
14 /** @const */ var TreeItem = cr.ui.TreeItem; 16 /** @const */ var TreeItem = cr.ui.TreeItem;
15 17
(...skipping 1503 matching lines...) Expand 10 before | Expand all | Expand 10 after
1519 1521
1520 cr.ui.FocusOutlineManager.forDocument(document); 1522 cr.ui.FocusOutlineManager.forDocument(document);
1521 initializeSplitter(); 1523 initializeSplitter();
1522 bmm.addBookmarkModelListeners(); 1524 bmm.addBookmarkModelListeners();
1523 dnd.init(selectItemsAfterUserAction); 1525 dnd.init(selectItemsAfterUserAction);
1524 bmm.tree.reload(); 1526 bmm.tree.reload();
1525 } 1527 }
1526 1528
1527 initializeBookmarkManager(); 1529 initializeBookmarkManager();
1528 })(); 1530 })();
OLDNEW
« no previous file with comments | « chrome/browser/resources/bookmark_manager/js/bmm/bookmark_tree.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698