Home
last modified time | relevance | path

Searched refs:parentId (Results 1 – 25 of 37) sorted by relevance

12

/external/chromium/chrome/browser/resources/
Dcookies_tree.js140 addByParentId: function(parentId, start, nodesData) { argument
141 var parent = parentId ? this.treeLookup[parentId] : this;
151 removeByParentId: function(parentId, start, count) { argument
152 var parent = parentId ? this.treeLookup[parentId] : this;
196 doSetChildren: function(parentId, children) { argument
197 var parent = parentId ? this.treeLookup[parentId] : this;
209 CookiesTree.onTreeItemAdded = function(treeId, parentId, start, children) { argument
210 $(treeId).addByParentId(parentId, start, children);
213 CookiesTree.onTreeItemRemoved = function(treeId, parentId, start, count) { argument
214 $(treeId).removeByParentId(parentId, start, count);
[all …]
/external/chromium/chrome/browser/resources/bookmark_manager/js/bmm/
Dbookmark_list.js91 var parentId = this.parentId;
96 if (!parentId) {
98 } else if (/^q=/.test(parentId)) {
99 chrome.bookmarks.search(parentId.slice(2), callback);
100 } else if (parentId == 'recent') {
103 chrome.bookmarks.getChildren(parentId, callback);
136 var treeItem = bmm.treeLookup[this.parentId];
242 if (this.parentId == id) {
260 if (this.parentId == bookmarkNode.parentId) {
266 if (moveInfo.parentId == this.parentId ||
[all …]
Dbookmark_tree.js94 draggable: bookmarkNode.parentId != ROOT_ID
190 var parentItem = treeLookup[bookmarkNode.parentId];
201 var newParentItem = treeLookup[moveInfo.parentId];
209 var parentItem = treeLookup[removeInfo.parentId];
/external/chromium_org/chrome/browser/resources/bookmark_manager/js/bmm/
Dbookmark_list.js92 var parentId = this.parentId;
97 if (!parentId)
99 else if (/^q=/.test(parentId))
100 chrome.bookmarks.search(parentId.slice(2), callback);
102 chrome.bookmarks.getChildren(parentId, callback);
134 var treeItem = bmm.treeLookup[this.parentId];
234 if (this.parentId == id) {
253 if (this.parentId == bookmarkNode.parentId)
258 if (moveInfo.parentId == this.parentId ||
259 moveInfo.oldParentId == this.parentId) {
[all …]
Dbookmark_tree.js102 draggable: bookmarkNode.parentId != ROOT_ID
187 var parentItem = treeLookup[bookmarkNode.parentId];
198 var newParentItem = treeLookup[moveInfo.parentId];
206 var parentItem = treeLookup[removeInfo.parentId];
/external/chromium_org/chrome/browser/resources/enhanced_bookmark_manager/js/bmm/
Dbookmark_list.js92 var parentId = this.parentId;
97 if (!parentId)
99 else if (/^q=/.test(parentId))
100 chrome.bookmarks.search(parentId.slice(2), callback);
102 chrome.bookmarks.getChildren(parentId, callback);
134 var treeItem = bmm.treeLookup[this.parentId];
234 if (this.parentId == id) {
253 if (this.parentId == bookmarkNode.parentId)
258 if (moveInfo.parentId == this.parentId ||
259 moveInfo.oldParentId == this.parentId) {
[all …]
Dbookmark_tree.js102 draggable: bookmarkNode.parentId != ROOT_ID
187 var parentItem = treeLookup[bookmarkNode.parentId];
198 var newParentItem = treeLookup[moveInfo.parentId];
206 var parentItem = treeLookup[removeInfo.parentId];
/external/chromium_org/chrome/browser/resources/bookmark_manager/js/
Dmain.js159 if (list.parentId == id) {
179 list.parentId = id;
216 navigateTo(bookmarkNode.parentId, editBookmark);
302 function getFolder(parentId) { argument
303 var parentNode = tree.getBookmarkNodeById(parentId);
306 if (parentNode.parentId != bmm.ROOT_ID) {
307 return getFolder(parentNode.parentId) + '/' + s;
446 chrome.bookmarkManagerPrivate.canPaste(list.parentId, update);
705 context.parentId = bookmarkNode.parentId;
746 var parentId = bookmarkNode.parentId;
[all …]
Dbmm.js18 if (descendant.parentId == parent.id)
21 var parentTreeItem = bmm.treeLookup[descendant.parentId];
149 bookmarkCache.updateChildren(bookmarkNode.parentId);
163 bookmarkCache.updateChildren(moveInfo.parentId);
164 if (moveInfo.parentId != moveInfo.oldParentId)
179 bookmarkCache.updateChildren(removeInfo.parentId);
Ddnd.js177 return node.parentId == folderId;
236 if (overElement.bookmarkNode.parentId == bmm.ROOT_ID)
431 parentId: dropPos == DropPosition.ON ? relatedNode.id : property
432 relatedNode.parentId,
473 chrome.bookmarkManagerPrivate.drop(dropInfo.parentId, dropInfo.index);
475 chrome.bookmarkManagerPrivate.drop(dropInfo.parentId);
/external/chromium_org/chrome/browser/resources/enhanced_bookmark_manager/js/
Dmain.js156 if (list.parentId == id) {
176 list.parentId = id;
213 navigateTo(bookmarkNode.parentId, editBookmark);
299 function getFolder(parentId) { argument
300 var parentNode = tree.getBookmarkNodeById(parentId);
303 if (parentNode.parentId != bmm.ROOT_ID) {
304 return getFolder(parentNode.parentId) + '/' + s;
434 chrome.bookmarkManagerPrivate.canPaste(list.parentId, update);
705 context.parentId = bookmarkNode.parentId;
746 var parentId = bookmarkNode.parentId;
[all …]
Dbmm.js18 if (descendant.parentId == parent.id)
21 var parentTreeItem = bmm.treeLookup[descendant.parentId];
149 bookmarkCache.updateChildren(bookmarkNode.parentId);
163 bookmarkCache.updateChildren(moveInfo.parentId);
164 if (moveInfo.parentId != moveInfo.oldParentId)
179 bookmarkCache.updateChildren(removeInfo.parentId);
Ddnd.js177 return node.parentId == folderId;
236 if (overElement.bookmarkNode.parentId == bmm.ROOT_ID)
424 parentId: dropPos == DropPosition.ON ? relatedNode.id : property
425 relatedNode.parentId,
466 chrome.bookmarkManagerPrivate.drop(dropInfo.parentId, dropInfo.index);
468 chrome.bookmarkManagerPrivate.drop(dropInfo.parentId);
/external/chromium/chrome/browser/resources/bookmark_manager/js/
Dmain.js150 list.parentId = id;
269 bookmarkCache.updateChildren(bookmarkNode.parentId);
277 bookmarkCache.updateChildren(moveInfo.parentId);
278 if (moveInfo.parentId != moveInfo.oldParentId)
287 bookmarkCache.updateChildren(removeInfo.parentId);
338 function getFolder(parentId) { argument
339 var parentNode = tree.getBookmarkNodeById(parentId);
342 if (parentNode.parentId != ROOT_ID) {
343 return getFolder(parentNode.parentId) + '/' + s;
463 if (overBookmarkNode.parentId == ROOT_ID)
[all …]
Dbmm.js15 if (descendant.parentId == parent.id)
18 var parentTreeItem = bmm.treeLookup[descendant.parentId];
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/
DLayerTreeModel.js167 var parentId = layer.parentId();
173 if (parentId) {
174 var parent = this._layersById[parentId];
176 console.assert(parent, "missing parent " + parentId + " for layer " + layerId);
245 parentId: function() method in WebInspector.Layer
263 return !this.parentId();
DDOMAgent.js1004 _setChildNodes: function(parentId, payloads) argument
1006 if (!parentId && payloads.length) {
1011 var parent = this._idToDOMNode[parentId];
1031 _childNodeInserted: function(parentId, prevId, payload) argument
1033 var parent = this._idToDOMNode[parentId];
1044 _childNodeRemoved: function(parentId, nodeId) argument
1046 var parent = this._idToDOMNode[parentId];
1090 _pseudoElementAdded: function(parentId, pseudoElement) argument
1092 var parent = this._idToDOMNode[parentId];
1107 _pseudoElementRemoved: function(parentId, pseudoElementId) argument
[all …]
/external/chromium/chrome/browser/resources/options/
Dcookies_list.js770 addByParentId: function(parentId, start, nodesData) { argument
771 var parent = parentId ? parentLookup[parentId] : this;
782 removeByParentId: function(parentId, start, count) { argument
783 var parent = parentId ? parentLookup[parentId] : this;
801 loadChildren: function(parentId, children) { argument
802 if (parentId)
803 delete lookupRequests[parentId];
804 var parent = parentId ? parentLookup[parentId] : this;
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/managed_bookmarks/
Dbackground.js168 Node.prototype.regenerate = function(parentId, index, callbackChain) { argument
171 'parentId': parentId, property
178 self._parentId = newNode.parentId;
223 node.parentId, node.index, self.reorderChildren.bind(self));
330 managedNode.moveInModel(info.parentId, info.index, function(){});
335 var parentNode = tree.getById(info.parentId);
363 managedNode.regenerate(info.parentId, info.index, callbackChain);
/external/chromium_org/chrome/browser/resources/options/
Dcookies_list.js873 addByParentId: function(parentId, start, nodesData) { argument
874 var parent = parentId ? parentLookup[parentId] : this;
885 removeByParentId: function(parentId, start, count) { argument
886 var parent = parentId ? parentLookup[parentId] : this;
904 loadChildren: function(parentId, children) { argument
905 if (parentId)
906 delete lookupRequests[parentId];
907 var parent = parentId ? parentLookup[parentId] : this;
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/
DChromeBrowserProvider.java482 long parentId = INVALID_BOOKMARK_ID; in update() local
484 parentId = values.getAsLong(BOOKMARK_PARENT_ID_PARAM); in update()
487 parentId); in update()
488 updateLastModifiedBookmarkFolder(parentId); in update()
560 long parentId = INVALID_BOOKMARK_ID; in addBookmark() local
562 parentId = values.getAsLong(BOOKMARK_PARENT_ID_PARAM); in addBookmark()
564 long id = nativeAddBookmark(mNativeChromeBrowserProvider, url, title, isFolder, parentId); in addBookmark()
570 updateLastModifiedBookmarkFolder(parentId); in addBookmark()
615 private long createBookmarksFolderOnce(String title, long parentId) { in createBookmarksFolderOnce() argument
616 return nativeCreateBookmarksFolderOnce(mNativeChromeBrowserProvider, title, parentId); in createBookmarksFolderOnce()
[all …]
DBookmarksBridge.java283 boolean isFolder, long parentId, int parentIdType, boolean isEditable) { in createBookmarkItem() argument
285 new BookmarkId(parentId, parentIdType), isEditable); in createBookmarkItem()
430 BookmarkId parentId, boolean isEditable) { in BookmarkItem() argument
435 mParentId = parentId; in BookmarkItem()
/external/chromium_org/chrome/browser/resources/net_internals/
Dsource_entry.js114 var parentId = e.params.source_dependency.id;
116 SourceTracker.getInstance().getDescription(parentId);
127 var parentId = this.entries_[0].params.source_dependency.id;
128 var parent = SourceTracker.getInstance().getSourceEntry(parentId);
/external/chromium_org/third_party/WebKit/Source/core/inspector/
DInspectorDOMAgent.cpp1721 int parentId = m_documentNodeToIdMap.get(innerParentNode(frameOwner)); in invalidateFrameOwnerElement() local
1722 m_frontend->childNodeRemoved(parentId, frameOwnerId); in invalidateFrameOwnerElement()
1728 m_frontend->childNodeInserted(parentId, prevId, value.release()); in invalidateFrameOwnerElement()
1757 int parentId = m_documentNodeToIdMap.get(parent); in didInsertDOMNode() local
1759 if (!parentId) in didInsertDOMNode()
1762 if (!m_childrenRequested.contains(parentId)) { in didInsertDOMNode()
1764 m_frontend->childNodeCountUpdated(parentId, innerChildNodeCount(parent)); in didInsertDOMNode()
1770 m_frontend->childNodeInserted(parentId, prevId, value.release()); in didInsertDOMNode()
1785 int parentId = m_documentNodeToIdMap.get(parent); in willRemoveDOMNode() local
1787 if (!m_childrenRequested.contains(parentId)) { in willRemoveDOMNode()
[all …]
/external/chromium_org/native_client_sdk/src/examples/api/file_io/
Dexample.js28 function addEventListenerToButton(parentId, func) { argument
29 document.querySelector('#' + parentId + ' button')

12