summaryrefslogtreecommitdiffstats
path: root/chrome/browser/dock_info.cc
Commit message (Collapse)AuthorAgeFilesLines
* Add dock_info.cc to the linux build.jhawkins@chromium.org2009-06-061-0/+8
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/118344 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17804 0039d316-1c4b-4281-b951-d872f2087c98
* Refactors DockInfo so that it can be used on Linux. I haven't done thesky@chromium.org2009-05-151-333/+38
| | | | | | | | | | | gtk side yet. BUG=none TEST=none Review URL: http://codereview.chromium.org/113424 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16142 0039d316-1c4b-4281-b951-d872f2087c98
* Adds a factory method for creating DockInfos.sky@chromium.org2009-04-151-0/+8
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/75015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13810 0039d316-1c4b-4281-b951-d872f2087c98
* Changes docking in the following ways:sky@google.com2009-03-101-64/+86
| | | | | | | | | | | | | | | . Dock icons for window docking positions could go offscreen before. . It was possible to show the maximize indicator on the wrong screen. This was because equals was not comparing the monitor bounds. . Tweaks to color, size and animation from Glen. BUG=none TEST=make sure there are no bugs with docking tabs. Review URL: http://codereview.chromium.org/42041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11391 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes CRLF and trailing white spaces.maruel@chromium.org2009-03-051-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10982 0039d316-1c4b-4281-b951-d872f2087c98
* Changes tab dragging code to continue iterating through windows ifsky@google.com2009-02-181-8/+27
| | | | | | | | | | | | | | window's rect contains the point but the window region doesn't. This is necessary as some apps create a window the size of the desktop and set a window region on it. Without this check we don't allow docking when these apps are running. BUG=6149 TEST=see bug Review URL: http://codereview.chromium.org/21476 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9974 0039d316-1c4b-4281-b951-d872f2087c98
* Don't expose the go and star button views directly through the BrowserWindow ↵ben@chromium.org2009-01-231-1/+1
| | | | | | | | interface (for porting). Review URL: http://codereview.chromium.org/18540 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8572 0039d316-1c4b-4281-b951-d872f2087c98
* Changes docking behavior to not offer a maximize drop target if theresky@google.com2008-12-191-6/+31
| | | | | | | | | | | | | | | | | is a maxmized tabbed browser on the monitor already. I don't feel this is the right long term behavior, but until we figure that out I'm going with this. BUG=4878 TEST=maximize a tabbed browser, drag a tab out of the tabbed browser toward the top of the screen and make sure you aren't offered a dock target. Now restore the tabbed browser, drag a tab toward the top of the screen and make sure you are offered a maximized drop target. Review URL: http://codereview.chromium.org/14858 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7301 0039d316-1c4b-4281-b951-d872f2087c98
* During tab dragging if you hover over a browser window we now move itsky@google.com2008-12-121-1/+1
| | | | | | | | | | | | | | to front after a delay. Also made docking to another window bring the other window to front. BUG=2038 TEST=Create two window with two tabs each. Drag a tab from one window onto the other window (not the tab area), hold it for a second and make sure the other window comes to front. Review URL: http://codereview.chromium.org/14057 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6909 0039d316-1c4b-4281-b951-d872f2087c98
* Adds various docking positions when dragging around a tab. I've addedsky@google.com2008-11-201-0/+481
the ability to dock to the following locations: Maximize the window on drop. Resize the window to fill up the left, bottom, or right half of the monitor. Tile the newly created window with an existing chrome window such that the two are on top of each other and fill the height of the monitor, or tiled such that they fill the width of the monitor. The graphics suxor. Glen says he'll come up with something better once its landed. BUG=none TEST=4628 Review URL: http://codereview.chromium.org/11325 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5797 0039d316-1c4b-4281-b951-d872f2087c98