Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(185)

Unified Diff: ui/views/controls/glow_hover_controller.h

Issue 11881042: highlight intermediate tabs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Disable tests for win7_aura Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | ui/views/controls/glow_hover_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/glow_hover_controller.h
diff --git a/ui/views/controls/glow_hover_controller.h b/ui/views/controls/glow_hover_controller.h
index 1c75d4fde575c4135bc993a57305fc1eea02115d..7d8e62ce2bd17654d5f0e59eed3cc325ac1f0d7b 100644
--- a/ui/views/controls/glow_hover_controller.h
+++ b/ui/views/controls/glow_hover_controller.h
@@ -29,6 +29,11 @@ class View;
// invokes SchedulePaint() back on the View as necessary.
class VIEWS_EXPORT GlowHoverController : public ui::AnimationDelegate {
public:
+ enum Style {
+ SUBTLE,
+ PRONOUNCED
+ };
+
explicit GlowHoverController(views::View* view);
virtual ~GlowHoverController();
@@ -40,7 +45,7 @@ class VIEWS_EXPORT GlowHoverController : public ui::AnimationDelegate {
void SetLocation(const gfx::Point& location);
// Initiates showing the hover.
- void Show();
+ void Show(Style style);
// Hides the hover.
void Hide();
@@ -72,6 +77,7 @@ class VIEWS_EXPORT GlowHoverController : public ui::AnimationDelegate {
// Location of the glow, relative to view.
gfx::Point location_;
+ double opacity_scale_;
DISALLOW_COPY_AND_ASSIGN(GlowHoverController);
};
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | ui/views/controls/glow_hover_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698