Searched refs:targetNode (Results 1 - 25 of 49) 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.js1036 var targetNode = document.getElementById(targetId);
1037 if (targetNode &&
1038 cvox.DomUtil.isControl(targetNode) &&
1131 * @param {Node} targetNode The node to get ancestors for.
1132 * @return {Array.<Node>} An array of ancestors for the targetNode.
1134 cvox.DomUtil.getAncestors = function(targetNode) {
1136 while (targetNode) {
1137 ancestors.push(targetNode);
1138 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 DMouseEventWithHitTestResults.h41 Node* targetNode() const { return m_hitTestResult.targetNode(); } function in class:WebCore::MouseEventWithHitTestResults
H A DTouchAdjustment.cpp447 bool findNodeWithLowestDistanceMetric(Node*& targetNode, IntPoint& targetPoint, IntRect& targetArea, const IntPoint& touchHotspot, const IntRect& touchArea, SubtargetGeometryList& subtargets, DistanceFunction distanceFunction) argument
449 targetNode = 0;
462 targetNode = node;
467 if (node->isDescendantOf(targetNode)) {
470 targetNode = node;
476 if (targetNode) {
477 targetArea = targetNode->document().view()->contentsToWindow(targetArea);
479 return (targetNode);
484 bool findBestClickableCandidate(Node*& targetNode, IntPoint& targetPoint, const IntPoint& touchHotspot, const IntRect& touchArea, const WillBeHeapVector<RefPtrWillBeMember<Node> >& nodes) argument
489 return TouchAdjustment::findNodeWithLowestDistanceMetric(targetNode, targetPoin
492 findBestContextMenuCandidate(Node*& targetNode, IntPoint& targetPoint, const IntPoint& touchHotspot, const IntRect& touchArea, const WillBeHeapVector<RefPtrWillBeMember<Node> >& nodes) argument
500 findBestZoomableArea(Node*& targetNode, IntRect& targetArea, const IntPoint& touchHotspot, const IntRect& touchArea, const WillBeHeapVector<RefPtrWillBeMember<Node> >& nodes) argument
[all...]
H A DEventHandler.cpp195 Node* targetNode = mev.targetNode(); local
196 if (!targetNode || !targetNode->parentNode())
198 return targetNode->isShadowRoot() && isHTMLInputElement(*toShadowRoot(targetNode)->host());
338 static VisibleSelection expandSelectionToRespectUserSelectAll(Node* targetNode, const VisibleSelection& selection) argument
340 Node* rootUserSelectAll = Position::rootUserSelectAllForNode(targetNode);
351 bool EventHandler::updateSelectionForMouseDownDispatchingSelectStart(Node* targetNode, const VisibleSelection& selection, TextGranularity granularity) argument
353 if (Position::nodeIsUserSelectNone(targetNode))
1809 updateMouseEventTargetNode(Node* targetNode, const PlatformMouseEvent& mouseEvent, bool fireMouseOverOut) argument
1871 dispatchMouseEvent(const AtomicString& eventType, Node* targetNode, int clickCount, const PlatformMouseEvent& mouseEvent, bool setUnder) argument
2500 bestClickableNodeForTouchPoint(const IntPoint& touchCenter, const IntSize& touchRadius, IntPoint& targetPoint, Node*& targetNode) argument
2529 bestContextMenuNodeForTouchPoint(const IntPoint& touchCenter, const IntSize& touchRadius, IntPoint& targetPoint, Node*& targetNode) argument
2542 bestZoomableAreaForTouchPoint(const IntPoint& touchCenter, const IntSize& touchRadius, IntRect& targetArea, Node*& targetNode) argument
2659 Node* targetNode = doc->focusedElement(); local
[all...]
H A DAutoscrollController.h66 void updateDragAndDrop(Node* targetNode, const IntPoint& eventPosition, double eventTime);
/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.cpp133 Node* targetNode = event->target()->toNode(); local
134 if (!targetNode)
138 HTMLVideoElement* video = Traversal<HTMLVideoElement>::firstWithin(*targetNode);
/external/chromium_org/third_party/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/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
130 if (targetNode.hasTagName(tagNamesToSkip->at(i)))
140 appendStartTag(targetNode, &namespaceHash);
142 if (!(serializeAsHTMLDocument(targetNode) && elementCannotHaveEndTag(targetNode))) {
143 Node* current = isHTMLTemplateElement(targetNode) ? toHTMLTemplateElement(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/third_party/WebKit/Source/devtools/front_end/components/
H A DDOMBreakpointsSidebarPane.js133 var targetNodeObject = details.target().runtimeModel.createRemoteObject(auxData["targetNode"]);
140 * @param {?WebInspector.DOMNode} targetNode
143 function didPushNodeToFrontend(targetNode)
145 if (targetNode)
147 this._doCreateBreakpointHitStatusMessage(auxData, domModel.nodeForId(auxData.nodeId), targetNode, callback);
154 * @param {?WebInspector.DOMNode} targetNode
157 _doCreateBreakpointHitStatusMessage: function(auxData, node, targetNode, callback)
164 if (targetNode)
165 targetNodeLink = WebInspector.DOMPresentationUtils.linkifyNodeReference(targetNode);
169 if (targetNode !
[all...]
H A DHandlerRegistry.js168 var targetNode = /** @type {!Node} */ (target);
170 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.cpp144 Node* targetNode = event->target()->toNode();
145 if (event->button() != LeftButton || !targetNode)
148 if (targetNode != element() && !targetNode->isDescendantOf(element().userAgentShadowRoot()))
151 if (targetNode == thumb)
/external/chromium_org/third_party/WebKit/Source/web/mac/
H A DWebSubstringUtil.mm116 if (!result.targetNode())
118 LocalFrame* frame = result.targetNode()->document().frame();

Completed in 589 milliseconds

12