Commit 72beeb75 authored by estade@chromium.org's avatar estade@chromium.org

couple minor fixes to PageInfoBubble

1450 is too long for an animation. In this case it is painfully long.

BUG=none
TEST=clicking on the page icon on https://google.com


Review URL: https://chromiumcodereview.appspot.com/10835015

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149655 0039d316-1c4b-4281-b951-d872f2087c98
parent 83c09ff8
...@@ -49,7 +49,7 @@ const int kIconVerticalOffset = -7; ...@@ -49,7 +49,7 @@ const int kIconVerticalOffset = -7;
// The duration of the animation that resizes the bubble once the async // The duration of the animation that resizes the bubble once the async
// information is provided through the ModelChanged event. // information is provided through the ModelChanged event.
const int kPageInfoSlideDuration = 1450; const int kPageInfoSlideDuration = 250;
// A section contains an image that shows a status (good or bad), a title, an // A section contains an image that shows a status (good or bad), a title, an
// optional head-line (in bold) and a description. // optional head-line (in bold) and a description.
...@@ -68,9 +68,9 @@ class Section : public views::View, ...@@ -68,9 +68,9 @@ class Section : public views::View,
void SetAnimationStage(double animation_stage); void SetAnimationStage(double animation_stage);
// views::View methods: // views::View methods:
virtual int GetHeightForWidth(int w); virtual int GetHeightForWidth(int w) OVERRIDE;
virtual void Layout(); virtual void Layout() OVERRIDE;
virtual void Paint(gfx::Canvas* canvas); virtual void Paint(gfx::Canvas* canvas) OVERRIDE;
// views::LinkListener methods: // views::LinkListener methods:
virtual void LinkClicked(views::Link* source, int event_flags) OVERRIDE; virtual void LinkClicked(views::Link* source, int event_flags) OVERRIDE;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment