Changeset 128583 in webkit
- Timestamp:
- Sep 14, 2012 4:11:17 AM (12 years ago)
- Location:
- trunk
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ChangeLog
r128470 r128583 1 2012-09-14 Keishi Hattori <keishi@webkit.org> 2 3 Add runtime flag that enables lang attribute for form controls in LayoutTests 4 https://bugs.webkit.org/show_bug.cgi?id=96636 5 6 Reviewed by Kent Tamura. 7 8 * Source/autotools/symbols.filter: 9 1 10 2012-09-13 Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com> 2 11 -
trunk/Source/WebCore/ChangeLog
r128582 r128583 1 2012-09-14 Keishi Hattori <keishi@webkit.org> 2 3 Add runtime flag that enables lang attribute for form controls in LayoutTests 4 https://bugs.webkit.org/show_bug.cgi?id=96636 5 6 Reviewed by Kent Tamura. 7 8 Lang attribute support for form controls will be incomplete and just for LayoutTests. 9 10 No new tests. No behavior change. 11 12 * WebCore.exp.in: 13 * bindings/generic/RuntimeEnabledFeatures.cpp: 14 (WebCore): 15 * bindings/generic/RuntimeEnabledFeatures.h: 16 (WebCore::RuntimeEnabledFeatures::langAttributeAwareFormControlUIEnabled): 17 (WebCore::RuntimeEnabledFeatures::setLangAttributeAwareFormControlUIEnabled): 18 (RuntimeEnabledFeatures): 19 * testing/InternalSettings.cpp: 20 (WebCore::InternalSettings::Backup::Backup): 21 (WebCore::InternalSettings::Backup::restoreTo): 22 (WebCore::InternalSettings::setLangAttributeAwareFormControlUIEnabled): 23 (WebCore): 24 * testing/InternalSettings.h: 25 (Backup): 26 (InternalSettings): 27 * testing/InternalSettings.idl: 28 1 29 2012-09-14 Keishi Hattori <keishi@webkit.org> 2 30 -
trunk/Source/WebCore/WebCore.exp.in
r128559 r128583 562 562 __ZN7WebCore21setPlatformStrategiesEPNS_18PlatformStrategiesE 563 563 __ZN7WebCore22RuntimeEnabledFeatures22isCSSExclusionsEnabledE 564 __ZN7WebCore22RuntimeEnabledFeatures40isLangAttributeAwareFormControlUIEnabledE 564 565 __ZN7WebCore22ScriptExecutionContext26canSuspendActiveDOMObjectsEv 565 566 __ZN7WebCore22URLWithUserTypedStringEP8NSStringP5NSURL -
trunk/Source/WebCore/bindings/generic/RuntimeEnabledFeatures.cpp
r127674 r128583 56 56 bool RuntimeEnabledFeatures::isSpeechInputEnabled = true; 57 57 bool RuntimeEnabledFeatures::isCSSExclusionsEnabled = false; 58 bool RuntimeEnabledFeatures::isLangAttributeAwareFormControlUIEnabled = false; 58 59 59 60 #if ENABLE(SCRIPTED_SPEECH) -
trunk/Source/WebCore/bindings/generic/RuntimeEnabledFeatures.h
r127674 r128583 261 261 #endif 262 262 263 static bool langAttributeAwareFormControlUIEnabled() { return isLangAttributeAwareFormControlUIEnabled; } 264 // The lang attribute support is incomplete and should only be turned on for tests. 265 static void setLangAttributeAwareFormControlUIEnabled(bool isEnabled) { isLangAttributeAwareFormControlUIEnabled = isEnabled; } 266 263 267 private: 264 268 // Never instantiate. … … 278 282 static bool isSpeechInputEnabled; 279 283 static bool isCSSExclusionsEnabled; 284 static bool isLangAttributeAwareFormControlUIEnabled; 280 285 #if ENABLE(SCRIPTED_SPEECH) 281 286 static bool isScriptedSpeechEnabled; -
trunk/Source/WebCore/testing/InternalSettings.cpp
r128210 r128583 99 99 , m_canStartMedia(page->canStartMedia()) 100 100 , m_originalMockScrollbarsEnabled(settings->mockScrollbarsEnabled()) 101 , m_langAttributeAwareFormControlUIEnabled(RuntimeEnabledFeatures::langAttributeAwareFormControlUIEnabled()) 101 102 { 102 103 } … … 132 133 page->setCanStartMedia(m_canStartMedia); 133 134 settings->setMockScrollbarsEnabled(m_originalMockScrollbarsEnabled); 135 RuntimeEnabledFeatures::setLangAttributeAwareFormControlUIEnabled(m_langAttributeAwareFormControlUIEnabled); 134 136 } 135 137 … … 645 647 } 646 648 647 } 649 void InternalSettings::setLangAttributeAwareFormControlUIEnabled(bool enabled) 650 { 651 RuntimeEnabledFeatures::setLangAttributeAwareFormControlUIEnabled(enabled); 652 } 653 654 } -
trunk/Source/WebCore/testing/InternalSettings.h
r128210 r128583 81 81 bool m_canStartMedia; 82 82 bool m_originalMockScrollbarsEnabled; 83 bool m_langAttributeAwareFormControlUIEnabled; 83 84 }; 84 85 … … 144 145 void setMemoryInfoEnabled(bool, ExceptionCode&); 145 146 void setStorageBlockingPolicy(const String&, ExceptionCode&); 147 void setLangAttributeAwareFormControlUIEnabled(bool); 146 148 private: 147 149 explicit InternalSettings(Page*); -
trunk/Source/WebCore/testing/InternalSettings.idl
r127956 r128583 69 69 void setWindowFocusRestricted(in boolean restricted) raises(DOMException); 70 70 void setDialogElementEnabled(in boolean enabled) raises(DOMException); 71 void setLangAttributeAwareFormControlUIEnabled(in boolean enabled); 71 72 72 73 void setPagination(in DOMString mode, in long gap, in [Optional] long pageLength) raises(DOMException); -
trunk/Source/WebKit2/ChangeLog
r128567 r128583 1 2012-09-14 Keishi Hattori <keishi@webkit.org> 2 3 Add runtime flag that enables lang attribute for form controls in LayoutTests 4 https://bugs.webkit.org/show_bug.cgi?id=96636 5 6 Reviewed by Kent Tamura. 7 8 * win/WebKit2.def: 9 * win/WebKit2CFLite.def: 10 1 11 2012-09-14 Grzegorz Czajkowski <g.czajkowski@samsung.com> 2 12 -
trunk/Source/WebKit2/win/WebKit2.def
r128403 r128583 187 187 ?isActiveInsertionPoint@WebCore@@YA_NPBVNode@1@@Z 188 188 ?isCSSExclusionsEnabled@RuntimeEnabledFeatures@WebCore@@0_NA 189 ?isLangAttributeAwareFormControlUIEnabled@RuntimeEnabledFeatures@WebCore@@0_NA 189 190 ?isPreloaded@CachedResourceLoader@WebCore@@QBE_NABVString@WTF@@@Z 190 191 ?jsArray@WebCore@@YA?AVJSValue@JSC@@PAVExecState@3@PAVJSDOMGlobalObject@1@V?$PassRefPtr@VDOMStringList@WebCore@@@WTF@@@Z -
trunk/Source/WebKit2/win/WebKit2CFLite.def
r128523 r128583 180 180 ?isActiveInsertionPoint@WebCore@@YA_NPBVNode@1@@Z 181 181 ?isCSSExclusionsEnabled@RuntimeEnabledFeatures@WebCore@@0_NA 182 ?isLangAttributeAwareFormControlUIEnabled@RuntimeEnabledFeatures@WebCore@@0_NA 182 183 ?isPreloaded@CachedResourceLoader@WebCore@@QBE_NABVString@WTF@@@Z 183 184 ?jsArray@WebCore@@YA?AVJSValue@JSC@@PAVExecState@3@PAVJSDOMGlobalObject@1@V?$PassRefPtr@VDOMStringList@WebCore@@@WTF@@@Z -
trunk/Source/autotools/symbols.filter
r128403 r128583 162 162 _ZN7WebCore22RuntimeEnabledFeatures18isShadowDOMEnabledE; 163 163 _ZN7WebCore22RuntimeEnabledFeatures22isCSSExclusionsEnabledE; 164 _ZN7WebCore22RuntimeEnabledFeatures40isLangAttributeAwareFormControlUIEnabledE; 164 165 _ZN7WebCore22RuntimeEnabledFeatures22isDialogElementEnabledE; 165 166 _ZN7WebCore22RuntimeEnabledFeatures37isAuthorShadowDOMForAnyElementEnabledE;
Note: See TracChangeset
for help on using the changeset viewer.