Index: chrome/browser/chromeos/login/background_view.cc |
diff --git a/chrome/browser/chromeos/login/background_view.cc b/chrome/browser/chromeos/login/background_view.cc |
index 9f5b5a946ee7d4834bd8a8c17fc0d8811cc50a4d..c3f531af89277bf2bf28dd647332c54261065d4b 100644 |
--- a/chrome/browser/chromeos/login/background_view.cc |
+++ b/chrome/browser/chromeos/login/background_view.cc |
@@ -74,30 +74,6 @@ int GetStepId(size_t step) { |
} |
} |
-// The same as TextButton but switches cursor to hand cursor when mouse |
-// is over the button. |
-class TextButtonWithHandCursorOver : public views::TextButton { |
- public: |
- TextButtonWithHandCursorOver(views::ButtonListener* listener, |
- const std::wstring& text) |
- : views::TextButton(listener, text) { |
- } |
- |
- virtual ~TextButtonWithHandCursorOver() {} |
- |
- virtual gfx::NativeCursor GetCursorForPoint( |
- ui::EventType event_type, |
- const gfx::Point& p) { |
- if (!IsEnabled()) { |
- return NULL; |
- } |
- return gfx::GetCursor(GDK_HAND2); |
- } |
- |
- private: |
- DISALLOW_COPY_AND_ASSIGN(TextButtonWithHandCursorOver); |
-}; |
- |
// This gets rid of the ugly X default cursor. |
static void ResetXCursor() { |
// TODO(sky): nuke this once new window manager is in place. |