Searched refs:element (Results 1 - 25 of 1916) sorted by relevance

1234567891011>>

/external/chromium_org/third_party/WebKit/Source/core/html/
H A DDocumentNameCollection.cpp19 bool DocumentNameCollection::elementMatches(const HTMLElement& element) const
24 if (isHTMLFormElement(element) || isHTMLIFrameElement(element) || (isHTMLEmbedElement(element) && toHTMLEmbedElement(element).isExposed()))
25 return element.getNameAttribute() == m_name;
26 if (isHTMLAppletElement(element) || (isHTMLObjectElement(element) && toHTMLObjectElement(element).isExposed()))
27 return element
[all...]
H A DWindowNameCollection.cpp17 bool WindowNameCollection::elementMatches(const Element& element) const
21 if (isHTMLImageElement(element)
22 || isHTMLFormElement(element)
23 || isHTMLAppletElement(element)
24 || isHTMLEmbedElement(element)
25 || isHTMLObjectElement(element)) {
26 if (element.getNameAttribute() == m_name)
29 return element.getIdAttribute() == m_name;
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/scripts/
H A DToolTip.js4 element = document.getElementById(elementId);
5 if(element != null) {
6 currentClass = element.className;
8 element.className = 'hidden_tooltip';
14 element = document.getElementById(elementId);
15 if(element != null) {
16 currentClass = element.className;
18 element.className = 'visible_tooltip';
/external/chromium_org/chrome/test/chromedriver/js/
H A Dfocus.js5 function focus(element) {
6 // Focus the target element in order to send keys to it.
7 // First, the currently active element is blurred, if it is different from
8 // the target element. We do not want to blur an element unnecessarily,
10 // element.
11 // Secondly, we focus the target element.
12 // Thirdly, if the target element is newly focused and is a text input, we
14 // Fourthly, we check if the new active element is the target element
[all...]
/external/chromium_org/third_party/polymer/components-chromium/core-overlay/
H A Dcore-overlay-layer-extracted.js12 * Adds an element to the overlay layer
14 addElement: function(element) {
18 if (element.parentNode !== this) {
19 element.__contents = [];
20 var ip$ = element.querySelectorAll('content');
25 element.__contents.push(n);
27 this.cacheDomLocation(element);
28 this.updateEventController(element);
30 h.shadowRoot.appendChild(element);
31 element
[all...]
/external/chromium_org/third_party/skia/gm/rebaseline_server/static/
H A Dutils.js2 element = $(".results-header-actions");
3 var pos = element.position();
7 element.addClass("sticky");
9 element.removeClass("sticky");
/external/droiddriver/src/com/google/android/droiddriver/validators/
H A DDefaultAccessibilityValidator.java31 public boolean isApplicable(UiElement element, Action action) { argument
36 public String validate(UiElement element, Action action) { argument
37 return isSpeakingNode(element) ? null : "TalkBack cannot speak about it";
41 private static boolean isAccessibilityFocusable(UiElement element) { argument
42 if (isActionableForAccessibility(element)) {
46 if (isTopLevelScrollItem(element) && (isSpeakingNode(element))) {
52 private static boolean isTopLevelScrollItem(UiElement element) { argument
53 UiElement parent = element.getParent();
57 private static boolean isActionableForAccessibility(UiElement element) { argument
69 isSpeakingNode(UiElement element) argument
74 hasNonActionableSpeakingChildren(UiElement element) argument
84 hasContentDescriptionOrText(UiElement element) argument
[all...]
/external/chromium_org/tools/telemetry/telemetry/page/actions/
H A Dloop.js15 function loop(element, loopCount) {
16 if (element instanceof HTMLMediaElement)
17 loopHTML5Element(element, loopCount);
22 function loopHTML5Element(element, loopCount) {
23 window.__registerHTML5ErrorEvents(element);
24 element['loop_completed'] = false;
29 element.pause();
30 element.removeEventListener('seeked', onLoop);
31 element['loop_completed'] = true;
35 element
[all...]
H A Dplay.js11 console.log('Playing element: ' + mediaElements[i].src);
16 function play(element) {
17 if (element instanceof HTMLMediaElement)
18 playHTML5Element(element);
23 function playHTML5Element(element) {
24 window.__registerHTML5ErrorEvents(element);
25 window.__registerHTML5EventCompleted(element, 'playing');
26 window.__registerHTML5EventCompleted(element, 'ended');
30 element.dispatchEvent(willPlayEvent);
31 element
[all...]
/external/chromium_org/chrome/browser/ui/webui/options/
H A Dsettings_format_browsertest.js65 * @param {!Element} element The element that triggered the failure.
68 fail: function(key, element, args) {
69 var subs = [this.getLabel(element)].concat(
82 * @param {!Element} element The target element to identify.
83 * @return {string} Name to facilitate tracking down the element.
85 getLabel: function(element) {
86 if (element.id)
87 return element
[all...]
/external/chromium_org/third_party/WebKit/Source/core/dom/
H A DElementFullscreen.cpp12 void ElementFullscreen::requestFullscreen(Element& element) argument
14 Fullscreen::from(element.document()).requestFullscreen(element, Fullscreen::UnprefixedRequest);
17 void ElementFullscreen::webkitRequestFullscreen(Element& element) argument
19 Fullscreen::from(element.document()).requestFullscreen(element, Fullscreen::PrefixedRequest);
22 void ElementFullscreen::webkitRequestFullScreen(Element& element, unsigned short flags) argument
29 Fullscreen::from(element.document()).requestFullscreen(element, requestType);
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
H A DSingletonImmutableList.java33 E element; field in class:SingletonImmutableList
35 SingletonImmutableList(E element) { argument
36 super(Collections.singletonList(checkNotNull(element)));
37 this.element = element;
H A DSingletonImmutableSet.java35 E element; field in class:SingletonImmutableSet
37 SingletonImmutableSet(E element) { argument
38 super(Collections.singleton(checkNotNull(element)));
39 this.element = element;
/external/chromium_org/third_party/WebKit/Source/core/html/forms/
H A DSubmitInputType.cpp45 PassRefPtrWillBeRawPtr<InputType> SubmitInputType::create(HTMLInputElement& element) argument
47 return adoptRefWillBeNoop(new SubmitInputType(element));
57 if (!element().isActivatedSubmit())
59 encoding.appendData(element().name(), element().valueWithDefault());
70 RefPtrWillBeRawPtr<HTMLInputElement> element(this->element());
71 if (element->isDisabledFormControl() || !element->form())
73 element
[all...]
H A DBaseButtonInputType.cpp47 ASSERT(element().userAgentShadowRoot());
48 element().userAgentShadowRoot()->appendChild(Text::create(element().document(), element().valueWithDefault()));
53 toText(element().userAgentShadowRoot()->firstChild())->setData(element().valueWithDefault());
69 return new RenderButton(&element());
79 element().setAttribute(valueAttr, AtomicString(sanitizedValue));
H A DResetInputType.cpp44 PassRefPtrWillBeRawPtr<InputType> ResetInputType::create(HTMLInputElement& element) argument
46 return adoptRefWillBeNoop(new ResetInputType(element));
61 if (element().isDisabledFormControl() || !element().form())
63 element().form()->reset();
H A DImageInputType.cpp43 inline ImageInputType::ImageInputType(HTMLInputElement& element) argument
44 : BaseButtonInputType(element)
48 PassRefPtrWillBeRawPtr<InputType> ImageInputType::create(HTMLInputElement& element) argument
50 return adoptRefWillBeNoop(new ImageInputType(element));
65 if (!element().isActivatedSubmit())
67 const AtomicString& name = element().name();
79 if (!element().value().isEmpty())
80 encoding.appendData(name, element().value());
110 RefPtrWillBeRawPtr<HTMLInputElement> element(this->element());
[all...]
/external/chromium_org/chrome/browser/resources/sync_file_system_internals/
H A Dutils.js6 * Creates an element named |elementName| containing the content |text|.
7 * @param {string} elementName Name of the new element to be created.
8 * @param {string} text Text to be contained in the new element.
9 * @param {Object} opt_attributes Optional attribute dictionary for the element.
10 * @return {HTMLElement} The newly created HTML element.
13 var element = document.createElement(elementName);
14 element.appendChild(document.createTextNode(text));
17 element.setAttribute(key, opt_attributes[key]);
19 return element;
23 * Creates an element wit
[all...]
/external/chromium_org/third_party/WebKit/Source/core/rendering/
H A DRenderWordBreak.cpp34 RenderWordBreak::RenderWordBreak(HTMLElement* element) argument
35 : RenderText(element, StringImpl::empty())
/external/chromium_org/ui/login/
H A Dlogin_ui_tools.js12 * Computes max-height for an element so that it doesn't overlap shelf.
13 * @param {element} DOM element
15 getMaxHeightBeforeShelfOverlapping : function(element) {
18 element.getBoundingClientRect().top -
19 parseInt(window.getComputedStyle(element).marginTop) -
20 parseInt(window.getComputedStyle(element).marginBottom);
/external/chromium_org/chrome/browser/metrics/variations/
H A Dgenerated_resources_map_lookup.cc13 const uint32_t* element = std::lower_bound(kResourceHashes, kEnd, hash); local
15 if (element == kEnd || *element != hash)
17 return kResourceIndices[element - kResourceHashes];
/external/chromium_org/third_party/WebKit/Source/web/
H A DWebTextAreaElement.cpp41 WebTextAreaElement::WebTextAreaElement(const PassRefPtrWillBeRawPtr<HTMLTextAreaElement>& element) argument
42 : WebFormControlElement(element)
46 WebTextAreaElement& WebTextAreaElement::operator=(const PassRefPtrWillBeRawPtr<HTMLTextAreaElement>& element) argument
48 m_private = element;
/external/droiddriver/src/com/google/android/droiddriver/actions/
H A DEventAction.java32 public boolean perform(UiElement element) { argument
33 return perform(element.getInjector(), element);
40 * @param element the UiElement to perform the action on
45 protected abstract boolean perform(InputInjector injector, UiElement element); argument
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/
H A DMultisetSetCountUnconditionallyTester.java31 @Override void setCountCheckReturnValue(E element, int count) { argument
33 getMultiset().count(element), setCount(element, count));
36 @Override void setCountNoCheckReturnValue(E element, int count) { argument
37 setCount(element, count);
40 private int setCount(E element, int count) { argument
41 return getMultiset().setCount(element, count);
/external/chromium_org/third_party/WebKit/Source/core/dom/custom/
H A DCustomElementObserver.cpp39 // element at a time.
48 void CustomElementObserver::notifyElementDidFinishParsingChildren(Element* element) argument
50 ElementObserverMap::iterator it = elementObservers().find(element);
53 it->value->elementDidFinishParsingChildren(element);
56 void CustomElementObserver::notifyElementWasDestroyed(Element* element) argument
58 ElementObserverMap::iterator it = elementObservers().find(element);
61 it->value->elementWasDestroyed(element);
64 void CustomElementObserver::observe(Element* element) argument
66 ElementObserverMap::AddResult result = elementObservers().add(element, this);
70 void CustomElementObserver::unobserve(Element* element) argument
[all...]

Completed in 628 milliseconds

1234567891011>>