| Index: views/screen_gtk.cc
|
| ===================================================================
|
| --- views/screen_gtk.cc (revision 0)
|
| +++ views/screen_gtk.cc (revision 0)
|
| @@ -0,0 +1,19 @@
|
| +// 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 "views/screen.h"
|
| +
|
| +#include <gtk/gtk.h>
|
| +
|
| +namespace views {
|
| +
|
| +// static
|
| +gfx::Point Screen::GetCursorScreenPoint() {
|
| + gint x, y;
|
| + gdk_display_get_pointer(NULL, NULL, &x, &y, NULL);
|
| + return gfx::Point(x, y);
|
| +}
|
| +
|
| +} // namespace
|
| +
|
|
|
| Property changes on: views\screen_gtk.cc
|
| ___________________________________________________________________
|
| Added: svn:eol-style
|
| + LF
|
|
|
|
|