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

Side by Side Diff: ui/gfx/screen_aura.cc

Issue 7903018: More shell content. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 3 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ui/gfx/screen.h" 5 #include "ui/gfx/screen.h"
6 6
7 #if defined(OS_WIN) 7 #if defined(OS_WIN)
8 #include <windows.h> 8 #include <windows.h>
9 #endif 9 #endif
10 10
11 #include "base/logging.h" 11 #include "base/logging.h"
12 #include "ui/gfx/native_widget_types.h"
12 13
13 namespace gfx { 14 namespace gfx {
14 15
15 // static 16 // static
16 gfx::Point Screen::GetCursorScreenPoint() { 17 gfx::Point Screen::GetCursorScreenPoint() {
17 #if defined(OS_WIN) 18 #if defined(OS_WIN)
18 POINT pt; 19 POINT pt;
19 GetCursorPos(&pt); 20 GetCursorPos(&pt);
20 return gfx::Point(pt); 21 return gfx::Point(pt);
21 #endif 22 #endif
(...skipping 28 matching lines...) Expand all
50 gfx::Rect Screen::GetMonitorAreaNearestPoint(const gfx::Point& point) { 51 gfx::Rect Screen::GetMonitorAreaNearestPoint(const gfx::Point& point) {
51 return GetMonitorAreaOrWorkAreaNearestPoint(point, false); 52 return GetMonitorAreaOrWorkAreaNearestPoint(point, false);
52 } 53 }
53 54
54 gfx::NativeWindow Screen::GetWindowAtCursorScreenPoint() { 55 gfx::NativeWindow Screen::GetWindowAtCursorScreenPoint() {
55 NOTIMPLEMENTED(); 56 NOTIMPLEMENTED();
56 return NULL; 57 return NULL;
57 } 58 }
58 59
59 } // namespace gfx 60 } // namespace gfx
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698