logo

overlay

My (experimental) gentoo overlay

webkit-gtk-2.26.1-250818_webdriver_off.diff (902B)


      1 Index: /Source/WebKit/UIProcess/Automation/gtk/WebAutomationSessionGtk.cpp
      2 ===================================================================
      3 --- /Source/WebKit/UIProcess/Automation/gtk/WebAutomationSessionGtk.cpp	(revision 250817)
      4 +++ /Source/WebKit/UIProcess/Automation/gtk/WebAutomationSessionGtk.cpp	(revision 250818)
      5 @@ -35,4 +35,5 @@
      6  using namespace WebCore;
      7  
      8 +#if ENABLE(WEBDRIVER_MOUSE_INTERACTIONS)
      9  static unsigned modifiersToEventState(OptionSet<WebEvent::Modifier> modifiers)
     10  {
     11 @@ -132,5 +133,7 @@
     12      }
     13  }
     14 -
     15 +#endif // ENABLE(WEBDRIVER_MOUSE_INTERACTIONS)
     16 +
     17 +#if ENABLE(WEBDRIVER_KEYBOARD_INTERACTIONS)
     18  static void doKeyStrokeEvent(GdkEventType type, GtkWidget* widget, unsigned keyVal, unsigned state, bool doReleaseAfterPress = false)
     19  {
     20 @@ -332,4 +335,5 @@
     21      } while (*p);
     22  }
     23 +#endif // ENABLE(WEBDRIVER_KEYBOARD_INTERACTIONS)
     24  
     25  } // namespace WebKit