Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(281)

Unified Diff: webkit/tools/test_shell/test_shell_x11.cc

Issue 15028002: Delete test_shell. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add dummy test_shell build target. Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webkit/tools/test_shell/test_shell_x11.cc
diff --git a/webkit/tools/test_shell/test_shell_x11.cc b/webkit/tools/test_shell/test_shell_x11.cc
deleted file mode 100644
index 73f4ca3976f31b3eec30730c8af28d796715f937..0000000000000000000000000000000000000000
--- a/webkit/tools/test_shell/test_shell_x11.cc
+++ /dev/null
@@ -1,23 +0,0 @@
-// Copyright (c) 2009 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include <gtk/gtk.h>
-#include <gdk/gdkx.h>
-
-#include "webkit/tools/test_shell/test_shell_x11.h"
-
-namespace test_shell_x11 {
-
-Display* GtkWidgetGetDisplay(GtkWidget* widget) {
- GdkDisplay* gdk_display = gtk_widget_get_display(widget);
- return gdk_x11_display_get_xdisplay(gdk_display);
-}
-
-int GtkWidgetGetScreenNum(GtkWidget* widget) {
- GdkDisplay* gdk_display = gtk_widget_get_display(widget);
- GdkScreen* gdk_screen = gdk_display_get_default_screen(gdk_display);
- return gdk_x11_screen_get_screen_number(gdk_screen);
-}
-
-} // namespace test_shell_x11

Powered by Google App Engine
This is Rietveld 408576698