| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Review URL: https://codereview.chromium.org/956453002
Cr-Commit-Position: refs/heads/master@{#317933}
|
|
|
|
|
|
|
|
|
|
|
| |
Geometry headers were moved from /ui/gfx/ to ui/gfx/geometry.
Updating includes accordingly.
BUG=395370
Review URL: https://codereview.chromium.org/660333004
Cr-Commit-Position: refs/heads/master@{#300902}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Increase Scrollbar fade delay during on Resize to 2000mS. Scrollbar
layer properties changes during page load, which is triggering
scrollbar animation continuously because of 300mS fade delay.
Increasing the fade delay to 2000mS on Resize ensures the
scrollbar animates optimally rather than animating rapidly while
loading heavy sites.
BUG=361141
Review URL: https://codereview.chromium.org/608223002
Cr-Commit-Position: refs/heads/master@{#298471}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch switches fade delay to use base::CancelableClosure, and makes
the animation only note the time during the first animation frame.
Background: we need to avoid spamming unnecessary animation frames
during the 300ms between a scroll and when the scrollbar starts fading.
Therefore, we post a delayed task and then start a redraw cycle only
when that task wakes up. The difficulty is that the fade may actually
need to be postponed, depending on events that occured during the
waiting period. In the past, we've dealt with this by noting the
timestamp of the last ScrollEnd, and reposting if it's later than the
current time when the task wakes up. This made the fade logic complex,
and introduced a problematic dependency on true physical time (as
opposed to frame time) that exists nowhere else in CC.
NOTRY=true
BUG=369006
Review URL: https://codereview.chromium.org/236743003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267756 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
For overlay scrollbars, when the mouse is over the scrollbar,
prevent the animation from making the scrollbar smaller.
BUG=274010
R=enne@chromium.org
Review URL: https://codereview.chromium.org/24782002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@226308 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
When the mouse cursor is near a scrollbar, trigger the scrollbar animation
so it's easier to find and grab the thinning scrollbars.
BUG=274010
Review URL: https://codereview.chromium.org/23983035
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225352 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This makes the overlay scrollbars on desktop get thinner on idle rather
than disappearing. This allows people to find and target them easier.
No changes to Android scrollbars.
BUG=274010
Review URL: https://chromiumcodereview.appspot.com/23647004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@222543 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Currently, the scrollbar layer animation is triggered at the end of every scroll
gesture. However, as not every scroll gesture actually scrolls a layer, this may
trigger extraneous animations, e.g., when the user overscrolls, or presses and
lifts their finger without scrolling. Only trigger the scrollbar animation at
the end of a scroll gesture if the gesture caused the layer to scroll.
BUG=285771
Review URL: https://chromiumcodereview.appspot.com/23978008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221801 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=254986
TEST=none
TBR=ben@chromium.org
Review URL: https://chromiumcodereview.appspot.com/18120002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209027 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
Style-only change.
Review URL: https://chromiumcodereview.appspot.com/12541024
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188946 0039d316-1c4b-4281-b951-d872f2087c98
|
|
Continuation of https://src.chromium.org/viewvc/chrome?view=rev&revision=188681
BUG=190824
TBR=enne@chromium.org, vollick@chromium.org
Review URL: https://codereview.chromium.org/12822004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188688 0039d316-1c4b-4281-b951-d872f2087c98
|