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

Side by Side Diff: views/screen.h

Issue 6312156: Change includes of gfx/* to ui/gfx/* (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 10 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 | « views/painter.cc ('k') | views/view.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 #ifndef VIEWS_SCREEN_H_ 5 #ifndef VIEWS_SCREEN_H_
6 #define VIEWS_SCREEN_H_ 6 #define VIEWS_SCREEN_H_
7 #pragma once 7 #pragma once
8 8
9 #include "gfx/native_widget_types.h" 9 #include "ui/gfx/native_widget_types.h"
10 #include "gfx/point.h" 10 #include "ui/gfx/point.h"
11 #include "gfx/rect.h" 11 #include "ui/gfx/rect.h"
12 12
13 namespace views { 13 namespace views {
14 14
15 // A utility class for getting various info about screen size, monitors, 15 // A utility class for getting various info about screen size, monitors,
16 // cursor position, etc. 16 // cursor position, etc.
17 // TODO(erikkay) add more of those methods here 17 // TODO(erikkay) add more of those methods here
18 class Screen { 18 class Screen {
19 public: 19 public:
20 static gfx::Point GetCursorScreenPoint(); 20 static gfx::Point GetCursorScreenPoint();
21 21
(...skipping 10 matching lines...) Expand all
32 // the monitor nearest the specified point. 32 // the monitor nearest the specified point.
33 static gfx::Rect GetMonitorAreaNearestPoint(const gfx::Point& point); 33 static gfx::Rect GetMonitorAreaNearestPoint(const gfx::Point& point);
34 34
35 // Returns the window under the cursor. 35 // Returns the window under the cursor.
36 static gfx::NativeWindow GetWindowAtCursorScreenPoint(); 36 static gfx::NativeWindow GetWindowAtCursorScreenPoint();
37 }; 37 };
38 38
39 } // namespace views 39 } // namespace views
40 40
41 #endif // VIEWS_SCREEN_H_ 41 #endif // VIEWS_SCREEN_H_
OLDNEW
« no previous file with comments | « views/painter.cc ('k') | views/view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698