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

Unified Diff: views/widget/root_view.cc

Issue 6756043: Consolidate Widget Event code, other cleanup. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Additional code consolidation, move base defs, nix MakeMSG, TooltipManager cleanup, etc. Created 9 years, 9 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
Index: views/widget/root_view.cc
diff --git a/views/widget/root_view.cc b/views/widget/root_view.cc
index aae04b7bec0d35f4f8a8a12b59f2fa36b63fd2b7..323612e8a7ae67ce71b3696c7223113c91113c5a 100644
--- a/views/widget/root_view.cc
+++ b/views/widget/root_view.cc
@@ -271,7 +271,7 @@ void RootView::OnMouseReleased(const MouseEvent& event) {
void RootView::OnMouseCaptureLost() {
if (mouse_pressed_handler_) {
- // Synthesize a release event for UpdateCursor and OnMouseReleased.
+ // Synthesize a release event for UpdateCursor.
MouseEvent release_event(ui::ET_MOUSE_RELEASED, last_mouse_event_x_,
last_mouse_event_y_, last_mouse_event_flags_);
UpdateCursor(release_event);

Powered by Google App Engine
This is Rietveld 408576698