Commit af71c6ac authored by Stuart Langley's avatar Stuart Langley Committed by Commit Bot

Move more files from web/ to core/exported/.

This CL moves more implementation files of public/web/ classes to
core/exported/. Files moved:

- WebDOMMessageEvent.cpp.
- WebContextFeatures.cpp.
- WebLanguageDetectionDetails.cpp
- WebPluginDocument.cpp.
- WebSearchableFormData.cpp
- WebScopedWindowFocusAllowedIndicator.cpp.

Bug: 712963
Change-Id: Ib9c92047516cd5401fd6f6406c1b9967f6d49b86
Reviewed-on: https://chromium-review.googlesource.com/530427Reviewed-by: default avatarDaniel Cheng <dcheng@chromium.org>
Commit-Queue: Stuart Langley <slangley@chromium.org>
Cr-Commit-Position: refs/heads/master@{#478519}
parent 3505cba9
......@@ -15,9 +15,11 @@ blink_core_sources("exported") {
"WebBlob.cpp",
"WebCSSParser.cpp",
"WebColorSuggestion.cpp",
"WebContextFeatures.cpp",
"WebCustomElement.cpp",
"WebDOMActivityLogger.cpp",
"WebDOMEvent.cpp",
"WebDOMMessageEvent.cpp",
"WebDataSourceImpl.cpp",
"WebDataSourceImpl.h",
"WebDateTimeSuggestion.cpp",
......@@ -40,6 +42,7 @@ blink_core_sources("exported") {
"WebInputMethodControllerImpl.cpp",
"WebInputMethodControllerImpl.h",
"WebLabelElement.cpp",
"WebLanguageDetectionDetails.cpp",
"WebMemoryStatistics.cpp",
"WebMetaElement.cpp",
"WebNode.cpp",
......@@ -50,14 +53,17 @@ blink_core_sources("exported") {
"WebPluginContainerBase.h",
"WebPluginContainerImpl.cpp",
"WebPluginContainerImpl.h",
"WebPluginDocument.cpp",
"WebPluginScriptForbiddenScope.cpp",
"WebRange.cpp",
"WebRemoteFrameImpl.cpp",
"WebRemoteFrameImpl.h",
"WebRenderTheme.cpp",
"WebScopedUserGesture.cpp",
"WebScopedWindowFocusAllowedIndicator.cpp",
"WebScriptController.cpp",
"WebScriptSource.cpp",
"WebSearchableFormData.cpp",
"WebSecurityPolicy.cpp",
"WebSelectElement.cpp",
"WebSelection.cpp",
......
......@@ -121,9 +121,10 @@ bool IsInDefaultState(const HTMLFormControlElement& form_element) {
if (isHTMLInputElement(form_element)) {
const HTMLInputElement& input_element = toHTMLInputElement(form_element);
if (input_element.type() == InputTypeNames::checkbox ||
input_element.type() == InputTypeNames::radio)
input_element.type() == InputTypeNames::radio) {
return input_element.checked() ==
input_element.FastHasAttribute(checkedAttr);
}
} else if (isHTMLSelectElement(form_element)) {
return IsSelectInDefaultState(toHTMLSelectElement(form_element));
}
......
......@@ -77,8 +77,6 @@ component("web") {
"StorageQuotaClientImpl.h",
"TextFinder.cpp",
"TextFinder.h",
"WebContextFeatures.cpp",
"WebDOMMessageEvent.cpp",
"WebDevToolsAgentImpl.cpp",
"WebDevToolsAgentImpl.h",
"WebDevToolsFrontendImpl.cpp",
......@@ -102,7 +100,6 @@ component("web") {
"WebIDBKeyRange.cpp",
"WebInputEvent.cpp",
"WebKit.cpp",
"WebLanguageDetectionDetails.cpp",
"WebLeakDetector.cpp",
"WebLocalFrameImpl.cpp",
"WebLocalFrameImpl.h",
......@@ -112,9 +109,6 @@ component("web") {
"WebPepperSocketChannelClientProxy.h",
"WebPepperSocketImpl.cpp",
"WebPepperSocketImpl.h",
"WebPluginDocument.cpp",
"WebScopedWindowFocusAllowedIndicator.cpp",
"WebSearchableFormData.cpp",
"WebSurroundingText.cpp",
"WebViewImpl.cpp",
"WebViewImpl.h",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment