OLD | NEW |
(Empty) | |
| 1 #ifndef WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_X11_H |
| 2 #define WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_X11_H |
| 3 |
| 4 // This header is required because one cannot include both Xlib headers and |
| 5 // WebKit headers in the same source file. |
| 6 |
| 7 typedef struct _XDisplay Display; |
| 8 |
| 9 namespace test_shell_x11 { |
| 10 |
| 11 // Return an Xlib Display pointer for the given widget |
| 12 Display* GtkWidgetGetDisplay(GtkWidget* widget); |
| 13 // Return the screen number for the given widget |
| 14 int GtkWidgetGetScreenNum(GtkWidget* widget); |
| 15 |
| 16 } // namespace test_shell_x11 |
| 17 |
| 18 #endif // !WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_X11_H |
OLD | NEW |