| OLD | NEW |
| (Empty) |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_X11_H | |
| 6 #define WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_X11_H | |
| 7 | |
| 8 // This header is required because one cannot include both Xlib headers and | |
| 9 // WebKit headers in the same source file. | |
| 10 | |
| 11 typedef struct _XDisplay Display; | |
| 12 | |
| 13 namespace test_shell_x11 { | |
| 14 | |
| 15 // Return an Xlib Display pointer for the given widget | |
| 16 Display* GtkWidgetGetDisplay(GtkWidget* widget); | |
| 17 // Return the screen number for the given widget | |
| 18 int GtkWidgetGetScreenNum(GtkWidget* widget); | |
| 19 | |
| 20 } // namespace test_shell_x11 | |
| 21 | |
| 22 #endif // !WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_X11_H | |
| OLD | NEW |