blob: 04191aff9bfbfba05d6a0e99a6da2be2d0660a9b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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 <windows.h>
namespace views {
// static
gfx::Point Screen::GetCursorScreenPoint() {
POINT pt;
GetCursorPos(&pt);
return gfx::Point(pt);
}
} // namespace
|