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

Unified Diff: views/screen.h

Issue 112072: A helper class for screen related queries. Currently only has a single metho... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | views/screen_gtk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/screen.h
===================================================================
--- views/screen.h (revision 0)
+++ views/screen.h (revision 0)
@@ -0,0 +1,22 @@
+// 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.
+
+#ifndef VIEWS_SCREEN_H_
+#define VIEWS_SCREEN_H_
+
+#include "base/gfx/point.h"
+
+namespace views {
+
+// A utility class for getting various info about screen size, monitors,
+// cursor position, etc.
+// TODO(erikkay) add more of those methods here
+class Screen {
+ public:
+ static gfx::Point GetCursorScreenPoint();
+};
+
+} // namespace views
+
+#endif // VIEWS_SCREEN_H_
Property changes on: views\screen.h
___________________________________________________________________
Added: svn:eol-style
+ LF
« no previous file with comments | « no previous file | views/screen_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698