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

Unified Diff: chrome/views/widget/root_view.cc

Issue 92004: Fix focus rects for checkboxes and radio buttons:... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 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 | « chrome/views/view.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/views/widget/root_view.cc
===================================================================
--- chrome/views/widget/root_view.cc (revision 14145)
+++ chrome/views/widget/root_view.cc (working copy)
@@ -402,13 +402,7 @@
gfx::Point p;
ConvertPointToMouseHandler(e.location(), &p);
MouseEvent mouse_event(e.GetType(), p.x(), p.y(), e.GetFlags());
- if (!mouse_pressed_handler_->ProcessMouseDragged(mouse_event,
- &drag_info)) {
- mouse_pressed_handler_ = NULL;
- return false;
- } else {
- return true;
- }
+ return mouse_pressed_handler_->ProcessMouseDragged(mouse_event, &drag_info);
}
return false;
}
« no previous file with comments | « chrome/views/view.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698