Changeset 238397 in webkit


Ignore:
Timestamp:
Nov 20, 2018 7:32:32 AM (5 years ago)
Author:
don.olmstead@sony.com
Message:

[WPE] Fix some feature guards in WebKit
https://bugs.webkit.org/show_bug.cgi?id=191847

Reviewed by Michael Catanzaro.

Some feature guards are not present in these files.

  • UIProcess/API/wpe/PageClientImpl.cpp:
  • UIProcess/API/wpe/PageClientImpl.h:
  • UIProcess/wpe/WebProcessPoolWPE.cpp:

(WebKit::WebProcessPool::platformInitializeWebProcess):

Location:
trunk/Source/WebKit
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r238394 r238397  
     12018-11-20  Don Olmstead  <don.olmstead@sony.com>
     2
     3        [WPE] Fix some feature guards in WebKit
     4        https://bugs.webkit.org/show_bug.cgi?id=191847
     5
     6        Reviewed by Michael Catanzaro.
     7
     8        Some feature guards are not present in these files.
     9
     10        * UIProcess/API/wpe/PageClientImpl.cpp:
     11        * UIProcess/API/wpe/PageClientImpl.h:
     12        * UIProcess/wpe/WebProcessPoolWPE.cpp:
     13        (WebKit::WebProcessPool::platformInitializeWebProcess):
     14
    1152018-11-20  Antti Koivisto  <antti@apple.com>
    216
  • trunk/Source/WebKit/UIProcess/API/wpe/PageClientImpl.cpp

    r234921 r238397  
    182182}
    183183
     184#if ENABLE(TOUCH_EVENTS)
    184185void PageClientImpl::doneWithTouchEvent(const NativeWebTouchEvent& touchEvent, bool wasEventHandled)
    185186{
     
    228229    page.handleMouseEvent(NativeWebMouseEvent(&pointerEvent, page.deviceScaleFactor()));
    229230}
     231#endif
    230232
    231233void PageClientImpl::wheelEventWasNotHandledByWebCore(const NativeWebWheelEvent&)
  • trunk/Source/WebKit/UIProcess/API/wpe/PageClientImpl.h

    r237110 r238397  
    9090
    9191    void doneWithKeyEvent(const NativeWebKeyboardEvent&, bool) override;
     92#if ENABLE(TOUCH_EVENTS)
    9293    void doneWithTouchEvent(const NativeWebTouchEvent&, bool) override;
     94#endif
    9395    void wheelEventWasNotHandledByWebCore(const NativeWebWheelEvent&) override;
    9496
  • trunk/Source/WebKit/UIProcess/wpe/WebProcessPoolWPE.cpp

    r235260 r238397  
    3535#include "WebProcessCreationParameters.h"
    3636#include "WebProcessMessages.h"
    37 #include <JavaScriptCore/RemoteInspectorServer.h>
    3837#include <WebCore/FileSystem.h>
    39 #include <WebCore/GStreamerCommon.h>
    4038#include <WebCore/NotImplemented.h>
    4139#include <WebCore/SchemeRegistry.h>
    4240#include <cstdlib>
     41
     42#if ENABLE(REMOTE_INSPECTOR)
     43#include <JavaScriptCore/RemoteInspectorServer.h>
    4344#include <wtf/glib/GUniquePtr.h>
     45#endif
     46
     47#if USE(GSTREAMER)
     48#include <WebCore/GStreamerCommon.h>
     49#endif
    4450
    4551namespace WebKit {
     
    9096    parameters.gstreamerOptions = WebCore::extractGStreamerOptionsFromCommandLine();
    9197#endif
    92 
    9398}
    9499
Note: See TracChangeset for help on using the changeset viewer.