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

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

Issue 7749020: Revert 98306 - Create a new views_aura_desktop. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 4 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
« no previous file with comments | « ui/gfx/canvas_skia.cc ('k') | ui/ui.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "ui/gfx/screen.h"
6
7 #include <windows.h>
8
9 #include "base/logging.h"
10
11 namespace gfx {
12
13 // static
14 gfx::Point Screen::GetCursorScreenPoint() {
15 #if defined(OS_WIN)
16 POINT pt;
17 GetCursorPos(&pt);
18 return gfx::Point(pt);
19 #endif
20 }
21
22 // static
23 gfx::Rect Screen::GetMonitorWorkAreaNearestWindow(gfx::NativeWindow window) {
24 NOTIMPLEMENTED();
25 return gfx::Rect();
26 }
27
28 // static
29 gfx::Rect Screen::GetMonitorAreaNearestWindow(gfx::NativeWindow window) {
30 NOTIMPLEMENTED();
31 return gfx::Rect();
32 }
33
34 static gfx::Rect GetMonitorAreaOrWorkAreaNearestPoint(const gfx::Point& point,
35 bool work_area) {
36 NOTIMPLEMENTED();
37 return gfx::Rect();
38 }
39
40 // static
41 gfx::Rect Screen::GetMonitorWorkAreaNearestPoint(const gfx::Point& point) {
42 return GetMonitorAreaOrWorkAreaNearestPoint(point, true);
43 }
44
45 // static
46 gfx::Rect Screen::GetMonitorAreaNearestPoint(const gfx::Point& point) {
47 return GetMonitorAreaOrWorkAreaNearestPoint(point, false);
48 }
49
50 gfx::NativeWindow Screen::GetWindowAtCursorScreenPoint() {
51 NOTIMPLEMENTED();
52 return NULL;
53 }
54
55 } // namespace gfx
OLDNEW
« no previous file with comments | « ui/gfx/canvas_skia.cc ('k') | ui/ui.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698