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

Unified Diff: views/controls/button/custom_button.h

Issue 194037: Fix hottracking on button views... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Rebased Created 11 years, 3 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/browser/views/toolbar_view.cc ('k') | views/controls/button/custom_button.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/controls/button/custom_button.h
diff --git a/views/controls/button/custom_button.h b/views/controls/button/custom_button.h
index 75cb29b3eb4992a942f0f0f2539eadc68f97fa36..bd43d4d4963ad9eee2ad9849c30fb13a66b3e168 100644
--- a/views/controls/button/custom_button.h
+++ b/views/controls/button/custom_button.h
@@ -72,6 +72,9 @@ class CustomButton : public Button,
virtual void OnDragDone();
virtual void ShowContextMenu(int x, int y, bool is_mouse_gesture);
virtual void ViewHierarchyChanged(bool is_add, View *parent, View *child);
+ virtual void SetHotTracked(bool flag);
+ virtual bool IsHotTracked() const;
+ virtual void WillLoseFocus();
// Overridden from AnimationDelegate:
virtual void AnimationProgressed(const Animation* animation);
« no previous file with comments | « chrome/browser/views/toolbar_view.cc ('k') | views/controls/button/custom_button.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698