| Summary: | [iOS] Make iOS build when ENABLE_TOUCH_EVENT and ENABLE_IOS_TOUCH_EVENTS disabled | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Daniel Bates <dbates> | ||||||
| Component: | Tools / Tests | Assignee: | Daniel Bates <dbates> | ||||||
| Status: | RESOLVED FIXED | ||||||||
| Severity: | Normal | CC: | aestes, cmarcelo, commit-queue, ddkilzer, esprehn+autocc, glenn, jamesr, kondapallykalyan, luiz, simon.fraser, tonikitoo | ||||||
| Priority: | P2 | ||||||||
| Version: | 528+ (Nightly build) | ||||||||
| Hardware: | iPhone / iPad | ||||||||
| OS: | Unspecified | ||||||||
| Attachments: |
|
||||||||
|
Description
Daniel Bates
2014-09-03 12:59:37 PDT
Created attachment 237573 [details]
Patch
Created attachment 237576 [details]
Patch
Export symbol EventHandler::handleTouchEvent when building with ENABLE(TOUCH_EVENTS).
Comment on attachment 237576 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=237576&action=review > Source/WebCore/bindings/js/JSDocumentCustom.cpp:38 > +#if ENABLE(TOUCH_EVENTS) > #include "JSTouch.h" > #include "JSTouchList.h" > +#endif We usually separate the conditional includes from the unconditional ones. > Source/WebCore/platform/ios/ScrollAnimatorIOS.mm:33 > +#if ENABLE(TOUCH_EVENTS) > #include "PlatformTouchEventIOS.h" > +#endif Ditto. > Source/WebCore/rendering/RenderLayer.cpp:183 > +#endif > +#if ENABLE(IOS_TOUCH_EVENTS) > , m_registeredAsTouchEventListenerForScrolling(false) > +#endif > +#if PLATFORM(IOS) I would just nest the ENABLE(IOS_TOUCH_EVENTS) inside the PLATFORM(IOS) block, which would make this simpler. > Source/WebKit/mac/MigrateHeaders.make:239 > +ifeq ($(findstring ENABLE_IOS_TOUCH_EVENTS, $(FEATURE_DEFINES)), ENABLE_IOS_TOUCH_EVENTS) > +all : \ > + $(PRIVATE_HEADERS_DIR)/WebEventRegion.h > +endif > + You should remove line 219. Comment on attachment 237576 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=237576&action=review >> Source/WebCore/bindings/js/JSDocumentCustom.cpp:38 >> +#endif > > We usually separate the conditional includes from the unconditional ones. Will move conditional includes for ENABLE(TOUCH_EVENTS) and ENABLE(WEBGL) after the list of unconditional includes. >> Source/WebCore/platform/ios/ScrollAnimatorIOS.mm:33 >> +#endif > > Ditto. Will move this conditional include after the list of unconditional includes. >> Source/WebCore/rendering/RenderLayer.cpp:183 >> +#if PLATFORM(IOS) > > I would just nest the ENABLE(IOS_TOUCH_EVENTS) inside the PLATFORM(IOS) block, which would make this simpler. Will nest ENABLE(IOS_TOUCH_EVENTS) inside the PLATFORM(IOS) block here and in file RenderLayer.h. >> Source/WebKit/mac/MigrateHeaders.make:239 >> + > > You should remove line 219. Oops! Will remove. Committed r173258: <http://trac.webkit.org/changeset/173258> Committed iOS build fix in <http://trac.webkit.org/changeset/173292>. |