diff options
author | sky@google.com <sky@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-20 23:07:41 +0000 |
---|---|---|
committer | sky@google.com <sky@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-20 23:07:41 +0000 |
commit | 5e49546581a5a4c2c02d718f9d6e3dbebd7bebc7 (patch) | |
tree | 2a908845ceef1a7df68ff47eed5f2bd54d12cc9e /chrome/common/slide_animation.h | |
parent | dcda464d91fb97423f5b551babffe786b24ee251 (diff) | |
download | chromium_src-5e49546581a5a4c2c02d718f9d6e3dbebd7bebc7.zip chromium_src-5e49546581a5a4c2c02d718f9d6e3dbebd7bebc7.tar.gz chromium_src-5e49546581a5a4c2c02d718f9d6e3dbebd7bebc7.tar.bz2 |
Adds various docking positions when dragging around a tab. I've added
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
Diffstat (limited to 'chrome/common/slide_animation.h')
-rw-r--r-- | chrome/common/slide_animation.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/chrome/common/slide_animation.h b/chrome/common/slide_animation.h index 42e9e65..f690e48 100644 --- a/chrome/common/slide_animation.h +++ b/chrome/common/slide_animation.h @@ -2,8 +2,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef CHROME_SLIDE_COMMON_ANIMATION_H__ -#define CHROME_SLIDE_COMMON_ANIMATION_H__ +#ifndef CHROME_COMMON_SLIDE_ANIMATION_H_ +#define CHROME_COMMON_SLIDE_ANIMATION_H_ #include "chrome/common/animation.h" @@ -97,5 +97,4 @@ class SlideAnimation : public Animation { int slide_duration_; }; -#endif // CHROME_COMMON_SLIDE_ANIMATION_H__ - +#endif // CHROME_COMMON_SLIDE_ANIMATION_H_ |