Searched refs:element (Results 26 - 50 of 1916) sorted by relevance

1234567891011>>

/external/chromium_org/v8/test/webkit/
H A Darray-every.js29 function isBigEnough(element, index, array) {
30 return (element >= 10);
51 function isBigEnoughAndPop(element, index, array) {
53 return (element >= 10);
60 function isBigEnoughAndChange(element, index, array) {
62 return (element >= 10);
69 function isBigEnoughAndPush(element, index, array) {
71 return (element >= 131);
78 function isBigEnoughAndException(element, index, array) {
80 return (element >
[all...]
/external/chromium_org/remoting/webapp/
H A Dl10n.js27 * Localize an element by setting its innerText according to the specified tag
30 * @param {Element} element The element to localize.
38 l10n.localizeElementFromTag = function(element, tag, opt_substitutions,
42 element.innerHTML = translation;
44 element.innerText = translation;
50 * Localize an element by setting its innerText according to its i18n-content
53 * @param {Element} element The element to localize.
60 l10n.localizeElement = function(element, opt_substitution
[all...]
/external/chromium_org/tools/telemetry/telemetry/page/actions/
H A Dseek.js18 function seekHTML5Element(element, seekTime, logSeekTime, seekLabel) {
20 seekHTML5ElementPostLoad(element, seekTime, logSeekTime, seekLabel);
22 if (element.readyState == element.HAVE_NOTHING) {
24 element.removeEventListener('loadedmetadata', onLoadedMetaData);
27 element.addEventListener('loadedmetadata', onLoadedMetaData);
28 element.load();
34 function seekHTML5ElementPostLoad(element, seekTime, logSeekTime, seekLabel) {
35 // Reset seek completion since multiple seeks can run on same media element.
36 element['seeked_complete
[all...]
/external/chromium_org/tools/perf/metrics/
H A Dmedia.js9 // MediaMetric class responsible for collecting metrics on a media element.
11 function MediaMetricBase(element) {
12 checkElementIsNotBound(element);
15 this.element = element;
29 function HTMLMediaMetric(element) {
30 MediaMetricBase.prototype.constructor.call(this, element);
31 // Set the basic event handlers for HTML5 media element.
40 this.element.addEventListener('play', onVideoLoad);
41 this.element
[all...]
/external/chromium_org/third_party/WebKit/Source/core/css/resolver/
H A DSharedStyleFinder.cpp60 if (!isHTMLInputElement(candidate) || !isHTMLInputElement(element()))
64 HTMLInputElement& thisInput = toHTMLInputElement(element());
75 if (candidate.isDisabledFormControl() != element().isDisabledFormControl())
78 if (candidate.isDefaultButtonForForm() != element().isDefaultButtonForForm())
84 if (willValidate != element().willValidate())
87 if (willValidate && (candidate.isValidFormControlElement() != element().isValidFormControlElement()))
90 if (candidate.isInRange() != element().isInRange())
93 if (candidate.isOutOfRange() != element().isOutOfRange())
110 static inline const AtomicString& typeAttributeValue(const Element& element) argument
113 return element
[all...]
/external/chromium_org/third_party/WebKit/public/web/
H A DWebLabelElement.h44 // Provides readonly access to some properties of a DOM label element node.
48 WebLabelElement(const WebLabelElement& element) : WebElement(element) { } argument
50 WebLabelElement& operator=(const WebLabelElement& element) argument
52 WebElement::assign(element);
56 void assign(const WebLabelElement& element) { WebElement::assign(element); } argument
H A DWebSelectElement.h42 // Provides readonly access to some properties of a DOM select element node.
46 WebSelectElement(const WebSelectElement& element) : WebFormControlElement(element) { } argument
48 WebSelectElement& operator=(const WebSelectElement& element) argument
50 WebFormControlElement::assign(element);
53 void assign(const WebSelectElement& element) { WebFormControlElement::assign(element); } argument
H A DWebTextAreaElement.h40 // Provides access to some properties of a DOM textarea element node.
44 WebTextAreaElement(const WebTextAreaElement& element) : WebFormControlElement(element) { } argument
46 WebTextAreaElement& operator=(const WebTextAreaElement& element) argument
48 WebFormControlElement::assign(element);
51 void assign(const WebTextAreaElement& element) { WebFormControlElement::assign(element); } argument
/external/chromium_org/third_party/WebKit/Source/core/dom/
H A DVisitedLinkState.cpp40 static inline const AtomicString& linkAttribute(const Element& element) argument
42 ASSERT(element.isLink());
43 if (element.isHTMLElement())
44 return element.fastGetAttribute(HTMLNames::hrefAttr);
45 ASSERT(element.isSVGElement());
46 return element.getAttribute(XLinkNames::hrefAttr);
49 static inline LinkHash linkHashForElement(const Element& element, const AtomicString& attribute = AtomicString()) argument
51 ASSERT(attribute.isNull() || linkAttribute(element) == attribute);
52 if (isHTMLAnchorElement(element))
53 return toHTMLAnchorElement(element)
82 determineLinkStateSlowCase(const Element& element) argument
[all...]
/external/chromium_org/third_party/WebKit/Source/core/dom/custom/
H A DCustomElementRegistrationContext.cpp75 RefPtrWillBeRawPtr<Element> element; local
78 element = HTMLElement::create(tagName, document);
80 element = SVGUnknownElement::create(tagName, document);
86 element->setCustomElementState(Element::WaitingForUpgrade);
87 resolveOrScheduleResolution(element.get(), nullAtom);
88 return element.release();
91 void CustomElementRegistrationContext::didGiveTypeExtension(Element* element, const AtomicString& type) argument
93 resolveOrScheduleResolution(element, type);
96 void CustomElementRegistrationContext::resolveOrScheduleResolution(Element* element, const AtomicString& typeExtension) argument
98 // If an element ha
111 resolve(Element* element, const CustomElementDescriptor& descriptor) argument
122 setIsAttributeAndTypeExtension(Element* element, const AtomicString& type) argument
130 setTypeExtension(Element* element, const AtomicString& type) argument
[all...]
/external/chromium_org/third_party/WebKit/Source/core/html/forms/
H A DButtonInputType.cpp39 PassRefPtrWillBeRawPtr<InputType> ButtonInputType::create(HTMLInputElement& element) argument
41 return adoptRefWillBeNoop(new ButtonInputType(element));
H A DHiddenInputType.cpp46 PassRefPtrWillBeRawPtr<InputType> HiddenInputType::create(HTMLInputElement& element) argument
48 return adoptRefWillBeNoop(new HiddenInputType(element));
62 return element().valueAttributeWasUpdatedAfterParsing() ? FormControlState(element().value()) : FormControlState();
67 element().setAttribute(valueAttr, AtomicString(state[0]));
97 element().setAttribute(valueAttr, AtomicString(sanitizedValue));
102 if (equalIgnoringCase(element().name(), "_charset_")) {
103 encoding.appendData(element().name(), String(encoding.encoding().name()));
/external/chromium_org/third_party/WebKit/Source/core/svg/
H A DSVGFontFaceSrcElement.cpp47 for (SVGElement* element = Traversal<SVGElement>::firstChild(*this); element; element = Traversal<SVGElement>::nextSibling(*element)) {
49 if (isSVGFontFaceUriElement(*element))
50 srcValue = toSVGFontFaceUriElement(*element).srcValue();
51 else if (isSVGFontFaceNameElement(*element))
52 srcValue = toSVGFontFaceNameElement(*element).srcValue();
H A DSVGPathSegClosePath.h31 static PassRefPtr<SVGPathSegClosePath> create(SVGPathElement* element) argument
33 return adoptRef(new SVGPathSegClosePath(element));
37 SVGPathSegClosePath(SVGPathElement* element) argument
38 : SVGPathSegWithContext(element) { }
H A DSVGPathSegLinetoHorizontalAbs.h32 static PassRefPtr<SVGPathSegLinetoHorizontalAbs> create(SVGPathElement* element, float x) argument
34 return adoptRef(new SVGPathSegLinetoHorizontalAbs(element, x));
38 SVGPathSegLinetoHorizontalAbs(SVGPathElement* element, float x) argument
39 : SVGPathSegLinetoHorizontal(element, x) { }
H A DSVGPathSegLinetoHorizontalRel.h32 static PassRefPtr<SVGPathSegLinetoHorizontalRel> create(SVGPathElement* element, float x) argument
34 return adoptRef(new SVGPathSegLinetoHorizontalRel(element, x));
38 SVGPathSegLinetoHorizontalRel(SVGPathElement* element, float x) argument
39 : SVGPathSegLinetoHorizontal(element, x) { }
H A DSVGPathSegLinetoVerticalAbs.h32 static PassRefPtr<SVGPathSegLinetoVerticalAbs> create(SVGPathElement* element, float y) argument
34 return adoptRef(new SVGPathSegLinetoVerticalAbs(element, y));
38 SVGPathSegLinetoVerticalAbs(SVGPathElement* element, float y) argument
39 : SVGPathSegLinetoVertical(element, y) { }
H A DSVGPathSegLinetoVerticalRel.h32 static PassRefPtr<SVGPathSegLinetoVerticalRel> create(SVGPathElement* element, float y) argument
34 return adoptRef(new SVGPathSegLinetoVerticalRel(element, y));
38 SVGPathSegLinetoVerticalRel(SVGPathElement* element, float y) argument
39 : SVGPathSegLinetoVertical(element, y) { }
/external/chromium_org/ui/keyboard/resources/elements/
H A Dkb-altkey-container.js9 var element = activeAccentKeySet.firstElementChild;
11 element = element.nextElementSibling;
14 element.classList.add('active');
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/network/
H A DRequestHTMLView.js41 this.element.classList.add("html");
60 this.element.removeChildren();
67 this.element.removeChildren();
71 this.element.appendChild(iframe);
/external/droiddriver/src/com/google/android/droiddriver/actions/
H A DKeyAction.java33 protected void maybeCheckFocused(UiElement element) { argument
34 if (checkFocused && element != null && !element.isFocused()) {
35 throw new ActionException(element + " is not focused");
/external/chromium_org/third_party/WebKit/Source/core/html/
H A DLabelsNodeList.cpp48 bool LabelsNodeList::elementMatches(const Element& element) const
50 return isHTMLLabelElement(element) && toHTMLLabelElement(element).control() == ownerNode();
/external/chromium_org/third_party/WebKit/Source/core/rendering/
H A DRenderFrame.cpp40 HTMLFrameElement* element = toHTMLFrameElement(node()); local
41 return FrameEdgeInfo(element->noResize(), element->hasFrameBorder());
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ui/
H A DEmptyView.js44 this.element.classList.add("empty-view");
45 this.element.textContent = this._text;
52 this.element.textContent = this._text;
/external/chromium_org/third_party/WebKit/Source/core/animation/
H A DElementAnimation.h50 static AnimationPlayer* animate(Element& element, PassRefPtrWillBeRawPtr<AnimationEffect> effect, const Dictionary& timingInputDictionary) argument
52 return animateInternal(element, effect, TimingInput::convert(timingInputDictionary));
55 static AnimationPlayer* animate(Element& element, PassRefPtrWillBeRawPtr<AnimationEffect> effect, double duration) argument
57 return animateInternal(element, effect, TimingInput::convert(duration));
60 static AnimationPlayer* animate(Element& element, PassRefPtrWillBeRawPtr<AnimationEffect> effect) argument
62 return animateInternal(element, effect, Timing());
65 static AnimationPlayer* animate(Element& element, const Vector<Dictionary>& keyframeDictionaryVector, const Dictionary& timingInputDictionary, ExceptionState& exceptionState) argument
67 RefPtrWillBeRawPtr<AnimationEffect> effect = EffectInput::convert(&element, keyframeDictionaryVector, exceptionState);
71 return animateInternal(element, effect.release(), TimingInput::convert(timingInputDictionary));
74 static AnimationPlayer* animate(Element& element, cons argument
83 animate(Element& element, const Vector<Dictionary>& keyframeDictionaryVector, ExceptionState& exceptionState) argument
92 getAnimationPlayers(Element& element) argument
110 animateInternal(Element& element, PassRefPtrWillBeRawPtr<AnimationEffect> effect, const Timing& timing) argument
[all...]

Completed in 5905 milliseconds

1234567891011>>