summaryrefslogtreecommitdiffstats
path: root/views/screen.h
Commit message (Collapse)AuthorAgeFilesLines
* 2nd try. added UI_API to Screen class.oshima@google.com2011-07-231-41/+0
| | | | | | | | | | | | | | | Move screen.h to ui/gfx because Screen doesn't depend on views, and they're useful outside views. BUG=none TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=93724 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=93744 Review URL: http://codereview.chromium.org/7483014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93790 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 93744 - 2nd try. added UI_API to Screen class.csilv@chromium.org2011-07-231-0/+41
| | | | | | | | | | | | | | | | Move screen.h to ui/gfx because Screen doesn't depend on views, and they're useful outside views. BUG=none TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=93724 Review URL: http://codereview.chromium.org/7483014 TBR=oshima@google.com Review URL: http://codereview.chromium.org/7488035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93749 0039d316-1c4b-4281-b951-d872f2087c98
* 2nd try. added UI_API to Screen class.oshima@google.com2011-07-231-41/+0
| | | | | | | | | | | | | Move screen.h to ui/gfx because Screen doesn't depend on views, and they're useful outside views. BUG=none TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=93724 Review URL: http://codereview.chromium.org/7483014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93744 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 93724oshima@google.com2011-07-221-0/+41
| | | | | | | | | | | | | | "Move screen.h to ui/gfx because Screen doesn't depend on views, and they're useful outside views." This reverts commit 4b6b4b0a2a3d46f25ffe37d612742aba14c39462. TBR=jcivelli@chromium.org BUG=none TEST=none Review URL: http://codereview.chromium.org/7495019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93733 0039d316-1c4b-4281-b951-d872f2087c98
* Move screen.h to ui/gfx because Screen doesn't depend on views, and they're ↵oshima@google.com2011-07-221-41/+0
| | | | | | | | | | | useful outside views. BUG=none TEST=none Review URL: http://codereview.chromium.org/7483014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93724 0039d316-1c4b-4281-b951-d872f2087c98
* Change includes of gfx/* to ui/gfx/*sail@chromium.org2011-02-051-3/+3
| | | | | | | | | BUG=71063 TEST=compiled Review URL: http://codereview.chromium.org/6312156 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73890 0039d316-1c4b-4281-b951-d872f2087c98
* Lands http://codereview.chromium.org/6380007/ for jamiewalchsky@chromium.org2011-01-281-0/+3
| | | | | | | | | | | Don't allow new windows to be created outside the monitor's work area. BUG=281 TEST=Drag a tab down to the bottom of the screen. Check that the new window is created with its border accessible. Review URL: http://codereview.chromium.org/6335019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72970 0039d316-1c4b-4281-b951-d872f2087c98
* `#pragma once` for app, base, chrome, gfx, ipc, net, skia, viewsthakis@chromium.org2010-07-261-0/+1
| | | | | | | | | BUG=50273 TEST=everything still builds, build is 10% faster on windows, same speed on mac/linux TBR: erg git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53716 0039d316-1c4b-4281-b951-d872f2087c98
* Move some more files to toplevel gfx dir.ben@chromium.org2010-03-171-1/+1
| | | | | | | | | TBR=darin BUG=none TEST=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41812 0039d316-1c4b-4281-b951-d872f2087c98
* Move base/gfx contents to gfx/ben@chromium.org2010-03-141-2/+2
| | | | | | | | | TBR=darin BUG=none TEST=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41559 0039d316-1c4b-4281-b951-d872f2087c98
* Makes it so that when a folder is open on the bookmark bar and thesky@chromium.org2009-10-261-0/+3
| | | | | | | | | | | | mouse moves over another folder, the menu for that folder is shown. BUG=355 TEST=thorougly test all possible permutations of bookmark menus you can think of, including drag and drop to the menus. Review URL: http://codereview.chromium.org/328012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30049 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes regression in menu button. I converted a call from GetWidget tosky@chromium.org2009-10-141-2/+2
| | | | | | | | | | | | | GetWindow, the problem is in certain scenarios GetWindow can return null. I've changed the code back to GetWidget and converted Screen from taking a NativeWindow to a NativeView. BUG=none TEST=none Review URL: http://codereview.chromium.org/269076 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28986 0039d316-1c4b-4281-b951-d872f2087c98
* Couple of views/gtk tweaks:sky@chromium.org2009-10-131-0/+3
| | | | | | | | | | | | | . Adds accelerator to list of files compiled on views/gtk. . Adds function to Screen to get monitor bounds from a window. . Adds BrowserFrameGtk::GetAccelerator to match windows. BUG=none TEST=none Review URL: http://codereview.chromium.org/275005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28902 0039d316-1c4b-4281-b951-d872f2087c98
* Move native_widget_types and gtk_native_view_id_manager from base/gfx tobrettw@chromium.org2009-10-111-1/+1
| | | | | | | | | | | | app/gfx in preparation for removing the base_gfx project. This also moves base/window_impl.cc to app/win/window_impl because this file shouldn't be in base. TEST=none BUG=none Review URL: http://codereview.chromium.org/273017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28691 0039d316-1c4b-4281-b951-d872f2087c98
* Adds views::Screen::GetMonitorAreaNearestPoint.sky@chromium.org2009-09-041-0/+4
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/199023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25476 0039d316-1c4b-4281-b951-d872f2087c98
* Status bubble limping in TOOLKIT_VIEWS.ben@chromium.org2009-08-011-0/+5
| | | | | | | | | | | Add CreateTransparentFloatingWidget method to Widget and add Init/SetContentsView methods. BUG=none TEST=none Review URL: http://codereview.chromium.org/160474 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22229 0039d316-1c4b-4281-b951-d872f2087c98
* A helper class for screen related queries. Currently only has a single ↵erikkay@google.com2009-06-011-0/+22
method for getting the current cursor position in screen coordinates. Review URL: http://codereview.chromium.org/112072 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17322 0039d316-1c4b-4281-b951-d872f2087c98