Changeset 250818 in webkit


Ignore:
Timestamp:
Oct 8, 2019 1:52:27 AM (4 years ago)
Author:
Adrian Perez de Castro
Message:

[WPE][GTK] Build fails with ENABLE_WEBDRIVER=OFF
https://bugs.webkit.org/show_bug.cgi?id=202658

Reviewed by Carlos Garcia Campos.

  • UIProcess/Automation/gtk/WebAutomationSessionGtk.cpp: Add missing

ENABLE(WEBDRIVER_MOUSE_INTERACTIONS) and ENABLE(WEBDRIVER_KEYBOARD_INTERACTIONS)
preprocessor guards.

  • UIProcess/Automation/wpe/WebAutomationSessionWPE.cpp: Ditto.
Location:
trunk/Source/WebKit
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r250816 r250818  
     12019-10-08  Adrian Perez de Castro  <aperez@igalia.com>
     2
     3        [WPE][GTK] Build fails with ENABLE_WEBDRIVER=OFF
     4        https://bugs.webkit.org/show_bug.cgi?id=202658
     5
     6        Reviewed by Carlos Garcia Campos.
     7
     8        * UIProcess/Automation/gtk/WebAutomationSessionGtk.cpp: Add missing
     9        ENABLE(WEBDRIVER_MOUSE_INTERACTIONS) and ENABLE(WEBDRIVER_KEYBOARD_INTERACTIONS)
     10        preprocessor guards.
     11        * UIProcess/Automation/wpe/WebAutomationSessionWPE.cpp: Ditto.
     12
    1132019-10-07  Ryosuke Niwa  <rniwa@webkit.org>
    214
  • trunk/Source/WebKit/UIProcess/Automation/gtk/WebAutomationSessionGtk.cpp

    r248715 r250818  
    3535using namespace WebCore;
    3636
     37#if ENABLE(WEBDRIVER_MOUSE_INTERACTIONS)
    3738static unsigned modifiersToEventState(OptionSet<WebEvent::Modifier> modifiers)
    3839{
     
    132133    }
    133134}
    134 
     135#endif // ENABLE(WEBDRIVER_MOUSE_INTERACTIONS)
     136
     137#if ENABLE(WEBDRIVER_KEYBOARD_INTERACTIONS)
    135138static void doKeyStrokeEvent(GdkEventType type, GtkWidget* widget, unsigned keyVal, unsigned state, bool doReleaseAfterPress = false)
    136139{
     
    332335    } while (*p);
    333336}
     337#endif // ENABLE(WEBDRIVER_KEYBOARD_INTERACTIONS)
    334338
    335339} // namespace WebKit
  • trunk/Source/WebKit/UIProcess/Automation/wpe/WebAutomationSessionWPE.cpp

    r248715 r250818  
    3333using namespace WebCore;
    3434
     35#if ENABLE(WEBDRIVER_MOUSE_INTERACTIONS)
    3536static uint32_t modifiersToEventState(OptionSet<WebEvent::Modifier> modifiers)
    3637{
     
    122123    }
    123124}
    124 
     125#endif // ENABLE(WEBDRIVER_MOUSE_INTERACTIONS)
     126
     127#if ENABLE(WEBDRIVER_KEYBOARD_INTERACTIONS)
    125128static void doKeyStrokeEvent(struct wpe_view_backend* viewBackend, bool pressed, uint32_t keyCode, uint32_t modifiers, bool doReleaseAfterPress = false)
    126129{
     
    310313    } while (*p);
    311314}
     315#endif // ENABLE(WEBDRIVER_KEYBOARD_INTERACTIONS)
    312316
    313317} // namespace WebKit
Note: See TracChangeset for help on using the changeset viewer.