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

Unified Diff: chrome/browser/chromeos/login/background_view.cc

Issue 6880201: Scrap WNDCLASSEX.hCursor, update GetCursorForPoint, etc. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Use brace style struct init for WNDCLASSEX |class_ex|, fix comment. Created 9 years, 8 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 | « no previous file | chrome/browser/chromeos/login/shutdown_button.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/shutdown_button.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698