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

Unified Diff: ui/base/gtk/gtk_screen_util.h

Issue 231733005: Delete the GTK+ port of Chrome. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remerge to ToT Created 6 years, 8 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: ui/base/gtk/gtk_screen_util.h
diff --git a/ui/base/gtk/gtk_screen_util.h b/ui/base/gtk/gtk_screen_util.h
deleted file mode 100644
index c3a7f2c4ab9afe6cb33b900da20ad1f9ab6b0203..0000000000000000000000000000000000000000
--- a/ui/base/gtk/gtk_screen_util.h
+++ /dev/null
@@ -1,34 +0,0 @@
-// Copyright (c) 2012 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.
-
-#ifndef UI_BASE_GTK_GTK_SCREEN_UTILS_H_
-#define UI_BASE_GTK_GTK_SCREEN_UTILS_H_
-
-#include <gtk/gtk.h>
-
-#include "ui/base/ui_base_export.h"
-#include "ui/gfx/point.h"
-#include "ui/gfx/rect.h"
-#include "ui/gfx/vector2d.h"
-
-namespace ui {
-
-// Returns true if the screen is composited, false otherwise.
-UI_BASE_EXPORT bool IsScreenComposited();
-
-// Get the current location of the mouse cursor relative to the screen.
-UI_BASE_EXPORT gfx::Point ScreenPoint(GtkWidget* widget);
-
-// Get the current location of the mouse cursor relative to the widget.
-UI_BASE_EXPORT gfx::Point ClientPoint(GtkWidget* widget);
-
-// Gets the offset of a gtk widget from the origin in screen coordinates.
-UI_BASE_EXPORT gfx::Vector2d GetWidgetScreenOffset(GtkWidget* widget);
-
-// Returns the bounds of the specified widget in screen coordinates.
-UI_BASE_EXPORT gfx::Rect GetWidgetScreenBounds(GtkWidget* widget);
-
-} // namespace ui
-
-#endif // UI_BASE_GTK_GTK_SCREEN_UTILS_H_

Powered by Google App Engine
This is Rietveld 408576698