Searched refs:targetNode (Results 1 - 25 of 48) sorted by relevance

12

/external/chromium_org/chrome/browser/resources/chromeos/chromevox/common/
H A Dfocuser.js16 * Sets the browser focus to the targetNode or its closest ancestor that is
19 * @param {Node} targetNode The node to move the browser focus to.
22 * first focusable descendant. If false, only sets focus on the targetNode or
25 cvox.Focuser.setFocus = function(targetNode, opt_focusDescendants) {
34 !cvox.DomUtil.isDescendantOfNode(targetNode, document.activeElement)) {
39 if (targetNode && (targetNode.constructor == HTMLVideoElement)) {
40 if (!cvox.DomUtil.isFocusable(targetNode)) {
41 targetNode.setAttribute('tabIndex', 0);
45 if (opt_focusDescendants && !cvox.DomUtil.isFocusable(targetNode)) {
[all...]
H A Daria_util.js154 * @param {Node} targetNode The node to check.
155 * @return {boolean} True if the targetNode should be treated as hidden.
157 cvox.AriaUtil.isHiddenRecursive = function(targetNode) {
158 if (cvox.AriaUtil.isHidden(targetNode)) {
161 var parent = targetNode.parentElement;
178 * @param {Node} targetNode The node to check.
179 * @return {boolean} True if the targetNode should be treated as hidden.
181 cvox.AriaUtil.isHidden = function(targetNode) {
182 if (!targetNode) {
185 if (targetNode
[all...]
H A Ddom_util.js1086 var targetNode = document.getElementById(targetId);
1087 if (targetNode &&
1088 cvox.DomUtil.isControl(targetNode) &&
1181 * @param {Node} targetNode The node to get ancestors for.
1182 * @return {Array.<Node>} An array of ancestors for the targetNode.
1184 cvox.DomUtil.getAncestors = function(targetNode) {
1186 while (targetNode) {
1187 ancestors.push(targetNode);
1188 targetNode = targetNode
[all...]
H A Dchromevox.js200 * Synchronizes ChromeVox's internal cursor to the targetNode.
201 * @param {Node} targetNode The node that ChromeVox should be synced to.
206 targetNode, speakNode, opt_queueMode) {};
210 * @param {Node} targetNode The node that ChromeVox should be synced to.
214 cvox.ChromeVox.speakNode = function(targetNode, queueMode, properties) {};
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/extensions/searchvox/
H A Dutil.js65 * @param {Node} targetNode The node.
69 var getActiveDescendantId_ = function(targetNode) {
70 if (!targetNode.getAttribute) {
74 var activeId = targetNode.getAttribute('aria-activedescendant');
88 * @param {Node} targetNode The node to get descendant information for.
91 var getActiveDescendant = function(targetNode) {
93 var node = targetNode;
108 if (node == targetNode) {
115 * Dispatches a left click event on the element that is the targetNode.
117 * @param {Node} targetNode Th
[all...]
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/chromevox/injected/
H A Dapi_util.js38 * @param {Node} targetNode The node to reference.
41 cvox.ApiUtils.makeNodeReference = function(targetNode) {
42 if (targetNode.id && document.getElementById(targetNode.id) == targetNode) {
43 return {'id': targetNode.id};
44 } else if (targetNode instanceof HTMLElement) {
46 targetNode.setAttribute('cvoxid', cvoxid);
49 } else if (targetNode.parentElement) {
50 var parent = targetNode
[all...]
H A Dapi.js231 * @param {Node} targetNode A DOM node to speak.
235 cvox.Api.speakNode = function(targetNode, queueMode, properties) {
241 implementation_.speak(cvox.DomUtil.getName(targetNode),
246 'args': [cvox.ApiUtils.makeNodeReference(targetNode), queueMode,
324 * Synchronizes ChromeVox's internal cursor to the targetNode.
330 * @param {Node} targetNode The node that ChromeVox should be synced to.
333 cvox.Api.syncToNode = function(targetNode, speakNode) {
334 if (!cvox.Api.isChromeVoxActive() || !targetNode) {
339 implementation_.syncToNode(targetNode, speakNode);
343 'args': [cvox.ApiUtils.makeNodeReference(targetNode), speakNod
[all...]
H A Dapi_implementation.js248 * Synchronizes ChromeVox's internal cursor to the targetNode.
253 * @param {Node} targetNode The node that ChromeVox should be synced to.
258 targetNode, opt_speakNode, opt_queueMode) {
267 cvox.ChromeVox.navigationManager.updateSelToArbitraryNode(targetNode, true);
275 if (cvox.AriaUtil.isHiddenRecursive(targetNode)) {
281 cvox.ApiImplementation.getDesc_(targetNode),
290 cvox.ChromeVox.navigationManager.updatePosition(targetNode);
/external/chromium_org/third_party/WebKit/Source/core/page/
H A DTouchAdjustment.h33 bool findBestClickableCandidate(Node*& targetNode, IntPoint& targetPoint, const IntPoint& touchHotspot, const IntRect& touchArea, const WillBeHeapVector<RefPtrWillBeMember<Node> >&);
34 bool findBestContextMenuCandidate(Node*& targetNode, IntPoint& targetPoint, const IntPoint& touchHotspot, const IntRect& touchArea, const WillBeHeapVector<RefPtrWillBeMember<Node> >&);
35 bool findBestZoomableArea(Node*& targetNode, IntRect& targetArea, const IntPoint& touchHotspot, const IntRect& touchArea, const WillBeHeapVector<RefPtrWillBeMember<Node> >&);
H A DTouchAdjustment.cpp450 bool findNodeWithLowestDistanceMetric(Node*& targetNode, IntPoint& targetPoint, IntRect& targetArea, const IntPoint& touchHotspot, const IntRect& touchArea, SubtargetGeometryList& subtargets, DistanceFunction distanceFunction) argument
452 targetNode = 0;
465 targetNode = node;
470 if (node->isDescendantOf(targetNode)) {
473 targetNode = node;
481 if (targetNode && targetNode->isPseudoElement())
482 targetNode = targetNode->parentOrShadowHostNode();
484 if (targetNode) {
492 findBestClickableCandidate(Node*& targetNode, IntPoint& targetPoint, const IntPoint& touchHotspot, const IntRect& touchArea, const WillBeHeapVector<RefPtrWillBeMember<Node> >& nodes) argument
500 findBestContextMenuCandidate(Node*& targetNode, IntPoint& targetPoint, const IntPoint& touchHotspot, const IntRect& touchArea, const WillBeHeapVector<RefPtrWillBeMember<Node> >& nodes) argument
508 findBestZoomableArea(Node*& targetNode, IntRect& targetArea, const IntPoint& touchHotspot, const IntRect& touchArea, const WillBeHeapVector<RefPtrWillBeMember<Node> >& nodes) argument
[all...]
H A DAutoscrollController.h65 void updateDragAndDrop(Node* targetNode, const IntPoint& eventPosition, double eventTime);
H A DEventHandler.h164 bool bestClickableNodeForHitTestResult(const HitTestResult&, IntPoint& targetPoint, Node*& targetNode);
165 bool bestContextMenuNodeForHitTestResult(const HitTestResult&, IntPoint& targetPoint, Node*& targetNode);
167 bool bestZoomableAreaForTouchPoint(const IntPoint& touchCenter, const IntSize& touchRadius, IntRect& targetArea, Node*& targetNode);
/external/apache-xml/src/main/java/org/apache/xalan/templates/
H A DTemplateList.java421 * the name and type of the targetNode argument.
424 * @param targetNode The target node that will be checked for a match.
431 int targetNode, DTM dtm)
433 short targetNodeType = dtm.getNodeType(targetNode);
441 dtm.getLocalName(targetNode));
450 dtm.getNodeName(targetNode)); // %REVIEW% I think this is right
454 dtm.getLocalName(targetNode));
466 dtm.getNodeName(targetNode)); // %REVIEW% I think this is right
480 * @param targetNode
493 int targetNode,
430 getHead(XPathContext xctxt, int targetNode, DTM dtm) argument
492 getTemplateFast(XPathContext xctxt, int targetNode, int expTypeID, QName mode, int maxImportLevel, boolean quietConflictWarnings, DTM dtm) argument
593 getTemplate(XPathContext xctxt, int targetNode, QName mode, boolean quietConflictWarnings, DTM dtm) argument
657 getTemplate(XPathContext xctxt, int targetNode, QName mode, int maxImportLevel, int endImportLevel, boolean quietConflictWarnings, DTM dtm) argument
726 checkConflicts(TemplateSubPatternAssociation head, XPathContext xctxt, int targetNode, QName mode) argument
[all...]
H A DTemplateSubPatternAssociation.java145 * @param targetNode Target node
151 public boolean matches(XPathContext xctxt, int targetNode, QName mode) argument
155 double score = m_stepPattern.getMatchScore(xctxt, targetNode);
/external/chromium_org/third_party/WebKit/Source/core/events/
H A DMouseRelatedEvent.cpp135 Node* targetNode = target() ? target()->toNode() : 0; local
136 if (!targetNode)
144 targetNode->document().updateLayoutIgnorePendingStylesheets();
147 if (RenderObject* r = targetNode->renderer()) {
159 Node* n = targetNode;
/external/chromium_org/third_party/WebKit/Source/core/html/
H A DMediaDocument.cpp138 Node* targetNode = event->target()->toNode(); local
139 if (!targetNode)
143 HTMLVideoElement* video = Traversal<HTMLVideoElement>::firstWithin(*targetNode);
/external/chromium_org/third_party/skia/src/core/
H A DSkPictureStateTree.cpp147 Node* targetNode = draw->fNode; local
154 if (fCurrentNode != targetNode) {
164 Node* ancestor = targetNode;
193 if (targetNode != ancestor) {
202 if (fCurrentNode != targetNode) {
205 fSave = fCurrentNode != targetNode && fCurrentNode->fFlags & Node::kSave_Flag;
/external/skia/src/core/
H A DSkPictureStateTree.cpp145 Node* targetNode = draw->fNode; local
152 if (fCurrentNode != targetNode) {
162 Node* ancestor = targetNode;
191 if (targetNode != ancestor) {
200 if (fCurrentNode != targetNode) {
203 fSave = fCurrentNode != targetNode && fCurrentNode->fFlags & Node::kSave_Flag;
/external/chromium_org/third_party/WebKit/Source/core/editing/
H A DMarkupAccumulator.cpp112 String MarkupAccumulator::serializeNodes(Node& targetNode, EChildrenOnly childrenOnly, Vector<QualifiedName>* tagNamesToSkip) argument
116 if (!serializeAsHTMLDocument(targetNode)) {
122 serializeNodesWithNamespaces(targetNode, childrenOnly, namespaces, tagNamesToSkip);
126 void MarkupAccumulator::serializeNodesWithNamespaces(Node& targetNode, EChildrenOnly childrenOnly, const Namespaces* namespaces, Vector<QualifiedName>* tagNamesToSkip) argument
128 if (tagNamesToSkip && targetNode.isElementNode()) {
130 if (toElement(targetNode).hasTagName(tagNamesToSkip->at(i)))
140 appendStartTag(targetNode, &namespaceHash);
142 if (!(serializeAsHTMLDocument(targetNode) && elementCannotHaveEndTag(targetNode))) {
143 Node* current = isHTMLTemplateElement(targetNode)
[all...]
H A DMarkupAccumulator.h72 String serializeNodes(Node& targetNode, EChildrenOnly, Vector<QualifiedName>* tagNamesToSkip = 0);
112 void serializeNodesWithNamespaces(Node& targetNode, EChildrenOnly, const Namespaces*, Vector<QualifiedName>* tagNamesToSkip);
/external/chromium_org/ui/webui/resources/js/cr/ui/
H A Dfocus_manager.js153 var targetNode = /** @type {Node} */(event.target);
154 if (this.isDescendantOf_(this.getFocusParent(), targetNode)) {
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/components/
H A DDOMBreakpointsSidebarPane.js115 var targetNodeObject = details.target().runtimeModel.createRemoteObject(auxData["targetNode"]);
122 * @param {?WebInspector.DOMNode} targetNode
125 function didPushNodeToFrontend(targetNode)
127 if (targetNode)
129 this._doCreateBreakpointHitStatusMessage(auxData, domModel.nodeForId(auxData.nodeId), targetNode, callback);
136 * @param {?WebInspector.DOMNode} targetNode
139 _doCreateBreakpointHitStatusMessage: function(auxData, node, targetNode, callback)
146 if (targetNode)
147 targetNodeLink = WebInspector.DOMPresentationUtils.linkifyNodeReference(targetNode);
151 if (targetNode !
[all...]
H A DHandlerRegistry.js173 var targetNode = /** @type {!Node} */ (target);
175 var anchorElement = targetNode.enclosingNodeOrSelfWithClass("webkit-html-resource-link") || targetNode.enclosingNodeOrSelfWithClass("webkit-html-external-link");
/external/chromium_org/third_party/WebKit/Source/core/html/forms/
H A DRangeInputType.cpp140 Node* targetNode = event->target()->toNode();
141 if (event->button() != LeftButton || !targetNode)
144 if (targetNode != element() && !targetNode->isDescendantOf(element().userAgentShadowRoot()))
147 if (targetNode == thumb)
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/elements/
H A DElementsTreeOutline.js233 var targetNode = this.selectedDOMNode();
234 if (!targetNode)
240 this._performCopyOrCut(isCut, targetNode);
257 * @param {!WebInspector.DOMNode} targetNode
260 _canPaste: function(targetNode)
262 if (targetNode.isShadowRoot() || targetNode.ancestorUserAgentShadowRoot())
269 if (this._clipboardNodeData.isCut && (node === targetNode || node.isAncestor(targetNode)))
272 if (targetNode
[all...]

Completed in 5076 milliseconds

12