Home
last modified time | relevance | path

Searched refs:inputElement (Results 1 – 25 of 30) sorted by relevance

12

/external/chromium_org/ui/file_manager/file_manager/foreground/js/ui/
Dsearch_box.js30 this.inputElement = element.querySelector('input');
41 this.inputElement.addEventListener('input', this.updateStyles_.bind(this));
42 this.inputElement.addEventListener('keydown', this.onKeyDown_.bind(this));
43 this.inputElement.addEventListener('focus', this.onFocus_.bind(this));
44 this.inputElement.addEventListener('blur', this.onBlur_.bind(this));
45 this.inputElement.ownerDocument.addEventListener('dragover',
48 this.inputElement.ownerDocument.addEventListener('dragend',
136 this.inputElement.value = '';
146 this.inputElement.tabIndex = '99'; // See: go/filesapp-tabindex.
147 this.autocompleteList.attachToInput(this.inputElement);
[all …]
Dfile_manager_ui.js244 this.searchBox.inputElement.focus();
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ui/
DSettingsUI.js41 …ingsUI.createSettingCheckbox = function(name, setting, omitParagraphElement, inputElement, tooltip) argument
43 var input = inputElement || document.createElement("input");
101 var inputElement = p.createChild("input");
102 inputElement.type = "text";
104 inputElement.className = "numeric";
106 inputElement.maxLength = maxLength;
108 inputElement.style.width = width;
109 inputElement.placeholder = placeholder || "";
112 inputElement.addEventListener("change", onInput, false);
113 inputElement.addEventListener("input", onInput, false);
[all …]
DStatusBarButton.js610 this.inputElement = this.element.createChild("input");
611 this.inputElement.type = "checkbox";
621 return this.inputElement.checked;
/external/chromium_org/third_party/WebKit/Source/core/html/
DRadioNodeList.cpp59 HTMLInputElement& inputElement = toHTMLInputElement(element); in toRadioButtonInputElement() local
60 if (inputElement.type() != InputTypeNames::radio || inputElement.value().isEmpty()) in toRadioButtonInputElement()
62 return &inputElement; in toRadioButtonInputElement()
71 const HTMLInputElement* inputElement = toRadioButtonInputElement(*item(i)); in value() local
72 if (!inputElement || !inputElement->checked()) in value()
74 return inputElement->value(); in value()
85 HTMLInputElement* inputElement = toRadioButtonInputElement(*item(i)); in setValue() local
86 if (!inputElement || inputElement->value() != value) in setValue()
88 inputElement->setChecked(true); in setValue()
DHTMLElement.cpp689 HTMLInputElement* inputElement = toHTMLInputElement(const_cast<HTMLElement*>(this)); in directionality() local
691 …TextDirection textDirection = determineDirectionality(inputElement->value(), hasStrongDirectionali… in directionality()
693 *strongDirectionalityTextNode = hasStrongDirectionality ? inputElement : 0; in directionality()
/external/chromium_org/third_party/WebKit/Source/core/html/forms/
DRadioInputType.cpp103 HTMLInputElement* inputElement = toHTMLInputElement(htmlElement); in handleKeydownEvent() local
104 if (inputElement->form() != element().form()) in handleKeydownEvent()
106 …if (inputElement->type() == InputTypeNames::radio && inputElement->name() == element().name() && i… in handleKeydownEvent()
107 RefPtrWillBeRawPtr<HTMLInputElement> protector(inputElement); in handleKeydownEvent()
108 document.setFocusedElement(inputElement); in handleKeydownEvent()
109 inputElement->dispatchSimulatedClick(event, SendNoEvents); in handleKeydownEvent()
/external/chromium_org/third_party/WebKit/Source/web/
DWebSearchableFormData.cpp142 const HTMLInputElement& inputElement = toHTMLInputElement(*formElement); in IsInDefaultState() local
143 …if (inputElement.type() == InputTypeNames::checkbox || inputElement.type() == InputTypeNames::radi… in IsInDefaultState()
144 return inputElement.checked() == inputElement.hasAttribute(checkedAttr); in IsInDefaultState()
239 …HTMLInputElement* inputElement = static_cast<PassRefPtrWillBeRawPtr<HTMLInputElement> >(selectedIn… in WebSearchableFormData() local
244 || (!IsHTTPFormSubmit(formElement.get()) && !inputElement)) in WebSearchableFormData()
260 if (!inputElement) { in WebSearchableFormData()
261 inputElement = findSuitableSearchInputElement(formElement.get()); in WebSearchableFormData()
264 if (!inputElement) in WebSearchableFormData()
276 …sValidSearchString = buildSearchString(formElement.get(), &encodedString, &encoding, inputElement); in WebSearchableFormData()
DChromeClientImpl.cpp838 void ChromeClientImpl::handleKeyboardEventOnTextField(HTMLInputElement& inputElement, KeyboardEvent… in handleKeyboardEventOnTextField() argument
842 …m_webView->autofillClient()->textFieldDidReceiveKeyDown(WebInputElement(&inputElement), WebKeyboar… in handleKeyboardEventOnTextField()
885 void ChromeClientImpl::didEndEditingOnTextField(HTMLInputElement& inputElement) in didEndEditingOnTextField() argument
888 m_webView->autofillClient()->textFieldDidEndEditing(WebInputElement(&inputElement)); in didEndEditingOnTextField()
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Test/
DTestFastLexer.cs47 string inputElement = "x-2356*Abte+32+eno/6623+y"; in TestBasicFastLexer()
48 … StringBuilder builder = new StringBuilder( inputElement, 1000000 * inputElement.Length ); in TestBasicFastLexer()
50 builder.Append( inputElement ); in TestBasicFastLexer()
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/chromevox/background/
Doptions.js221 var inputElement = document.createElement('input');
222 inputElement.type = 'text';
223 inputElement.className = 'key active-key';
224 inputElement.id = command;
232 inputElement.value = displayedCombo;
236 inputElement.disabled = true;
247 labelElement.setAttribute('for', inputElement.id);
252 divElement.appendChild(inputElement);
261 var inputElement = document.createElement('input');
262 inputElement.type = 'text';
[all …]
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderTextControlSingleLine.cpp56 …return inputElement()->userAgentShadowRoot()->getElementById(ShadowElementNames::textFieldContaine… in containerElement()
61 …return inputElement()->userAgentShadowRoot()->getElementById(ShadowElementNames::editingViewPort()… in editingViewPortElement()
66 …return toHTMLElement(inputElement()->userAgentShadowRoot()->getElementById(ShadowElementNames::spi… in innerSpinButtonElement()
115 HTMLElement* placeholderElement = inputElement()->placeholderElement(); in layout()
170 HTMLElement* placeholderElement = inputElement()->placeholderElement(); in layout()
239 if (HTMLElement* placeholder = inputElement()->placeholderElement()) in styleDidChange()
257 …shouldDrawCapsLockIndicator = inputElement()->type() == InputTypeNames::password && frame->selecti… in capsLockStateMayHaveChanged()
296 bool includesDecoration = inputElement()->sizeShouldIncludeDecoration(factor); in preferredContentLogicalWidth()
356 if (inputElement()->shouldRevealPassword()) in createInnerEditorStyle()
416 HTMLInputElement* RenderTextControlSingleLine::inputElement() const in inputElement() function in blink::RenderTextControlSingleLine
DRenderSearchField.cpp50 …return inputElement()->userAgentShadowRoot()->getElementById(ShadowElementNames::searchDecoration(… in searchDecorationElement()
55 return inputElement()->userAgentShadowRoot()->getElementById(ShadowElementNames::clearButton()); in cancelButtonElement()
DRenderTextControlSingleLine.h47 HTMLInputElement* inputElement() const;
DRenderTheme.cpp906 bool RenderTheme::shouldHaveSpinButton(HTMLInputElement* inputElement) const in shouldHaveSpinButton()
908 return inputElement->isSteppable() && inputElement->type() != InputTypeNames::range; in shouldHaveSpinButton()
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/common/
Dbraille_util_test.unitjs128 var inputElement = $('2');
129 var input = cvox.CursorSelection.fromNode(inputElement);
137 inputElement.focus();
154 var inputElement = $('1');
155 var input = cvox.CursorSelection.fromNode(inputElement);
164 inputElement.focus();
165 inputElement.selectionStart = 0;
166 inputElement.selectionEnd = 5;
183 var inputElement = $('1');
191 inputElement.focus();
/external/chromium_org/third_party/WebKit/Source/web/tests/
DWebViewTest.cpp1506 static void openDateTimeChooser(WebView* webView, HTMLInputElement* inputElement) in openDateTimeChooser() argument
1508 inputElement->focus(); in openDateTimeChooser()
1529 HTMLInputElement* inputElement; in TEST_F() local
1531 inputElement = toHTMLInputElement(document->getElementById("date")); in TEST_F()
1532 openDateTimeChooser(webViewImpl, inputElement); in TEST_F()
1535 EXPECT_STREQ("1970-01-01", inputElement->value().utf8().data()); in TEST_F()
1537 openDateTimeChooser(webViewImpl, inputElement); in TEST_F()
1540 EXPECT_STREQ("", inputElement->value().utf8().data()); in TEST_F()
1542 inputElement = toHTMLInputElement(document->getElementById("datetimelocal")); in TEST_F()
1543 openDateTimeChooser(webViewImpl, inputElement); in TEST_F()
[all …]
/external/chromium_org/third_party/WebKit/Source/core/page/
DPageSerializer.cpp234 HTMLInputElement& inputElement = toHTMLInputElement(element); in serializeFrame() local
235 if (inputElement.type() == InputTypeNames::image && inputElement.hasImageLoader()) { in serializeFrame()
236 KURL url = inputElement.src(); in serializeFrame()
237 ImageResource* cachedImage = inputElement.imageLoader()->image(); in serializeFrame()
238 addImageToResources(cachedImage, inputElement.renderer(), url); in serializeFrame()
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/sources/
DBreakpointsSidebarPane.js330 var inputElement = inputElementContainer.createChild("span", "editing");
331 inputElement.id = "breakpoint-condition-input";
350 WebInspector.InplaceEditor.startEditing(inputElement, config);
464 var inputElement = document.createElementWithClass("span", "breakpoint-condition editing");
465 inputElement.textContent = url;
466 this.listElement.insertBefore(inputElement, element);
477 this.removeListElement(inputElement);
486 …WebInspector.InplaceEditor.startEditing(inputElement, new WebInspector.InplaceEditor.Config(finish…
/external/chromium_org/chrome/common/extensions/docs/examples/api/fontSettings/
Doptions.js486 var inputElement = slider.getInput();
488 inputElement.parentNode.classList.remove('disabled');
489 inputElement.disabled = false;
491 inputElement.parentNode.classList.add('disabled');
492 inputElement.disabled = true;
/external/chromium_org/third_party/WebKit/Source/core/testing/
DInternals.idl107 … [RaisesException, TypeChecking=Interface] boolean elementShouldAutoComplete(Element inputElement);
108 [RaisesException, TypeChecking=Interface] DOMString suggestedValue(Element inputElement);
109 …[RaisesException, TypeChecking=Interface] void setSuggestedValue(Element inputElement, DOMString v…
110 …[RaisesException, TypeChecking=Interface] void setEditingValue(Element inputElement, DOMString val…
111 …[RaisesException, TypeChecking=Interface] void setAutofilled(Element inputElement, boolean enabled…
DInternals.h157 bool elementShouldAutoComplete(Element* inputElement, ExceptionState&);
160 void setEditingValue(Element* inputElement, const String&, ExceptionState&);
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/console/
DConsoleView.js68 …WebInspector.SettingsUI.bindCheckbox(this._preserveLogCheckbox.inputElement, WebInspector.settings…
111 this._showAllMessagesCheckbox.inputElement.checked = true;
112 …this._showAllMessagesCheckbox.inputElement.addEventListener("change", this._updateMessageList.bind…
1068 this._view._showAllMessagesCheckbox.inputElement.checked = true;
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/settings/
DSettingsScreen.js1061 var inputElement = this._inputElements(itemId).get(columnId);
1063 inputElement.classList.add("editable-item-error");
1065 inputElement.classList.remove("editable-item-error");
/external/chromium_org/third_party/WebKit/Source/core/css/
DSelectorChecker.cpp819 HTMLInputElement& inputElement = toHTMLInputElement(element); in checkOne() local
825 … if (inputElement.shouldAppearChecked() && !inputElement.shouldAppearIndeterminate()) in checkOne()

12