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

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: Nix WindowWin cursors; only SetCuror on client events; add RootView::UpdateCursor Win arrow default. 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') | ui/base/win/window_impl.cc » ('J')
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 aa008470e9ef6f5c311b7a8f0fb02868d4500d27..07ac42723285f53871fc1817b35691db7876b49b 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') | ui/base/win/window_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698