Arquivos
sky@chromium.org b68e40bd17 Improved tab overview animations with better animation and wiring to
message loop.

BUG=none
TEST=none

Review URL: http://codereview.chromium.org/126185

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18523 0039d316-1c4b-4281-b951-d872f2087c98
2009-06-16 20:23:58 +00:00

20 linhas
426 B
C++

// 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(gdk_display_get_default(), NULL, &x, &y, NULL);
return gfx::Point(x, y);
}
} // namespace