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

Issue 6685069: Disambiguate OnMouseCaptureLost from OnMouseReleased, etc. (Closed)

Created:
9 years, 9 months ago by msw
Modified:
4 years, 9 months ago
CC:
chromium-reviews, darin-cc_chromium.org, brettw-cc_chromium.org, kkania, davemoore+watch_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

Disambiguate OnMouseCaptureLost from OnMouseReleased. Nix RenderWidgetHostViewViews' OnMouseCaptureLost forwarding. Consolidate code, remove unnecessary overrides, etc. Fix up test, |event| args, OVERRIDEs, and (c) dates. BUG=72040 TEST=Views mouse button release, cancelling mouse down/drag. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=79640

Patch Set 1 #

Patch Set 2 : Refinements, etc. #

Total comments: 6

Patch Set 3 : Address most TODOs and sync. #

Total comments: 26

Patch Set 4 : Address comments, fix tests, cleanup, etc. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+385 lines, -402 lines) Patch
M chrome/browser/automation/automation_provider_win.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/frame/panel_controller.h View 1 2 3 4 chunks +12 lines, -7 lines 0 comments Download
M chrome/browser/chromeos/frame/panel_controller.cc View 1 2 3 4 chunks +15 lines, -18 lines 0 comments Download
M chrome/browser/chromeos/input_method/candidate_window.cc View 1 2 3 2 chunks +12 lines, -15 lines 0 comments Download
M chrome/browser/chromeos/panels/panel_scroller.h View 1 2 3 2 chunks +7 lines, -8 lines 0 comments Download
M chrome/browser/chromeos/panels/panel_scroller.cc View 1 2 3 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/browser/chromeos/panels/panel_scroller_header.h View 1 2 3 2 chunks +5 lines, -4 lines 0 comments Download
M chrome/browser/chromeos/panels/panel_scroller_header.cc View 1 2 3 1 chunk +5 lines, -2 lines 0 comments Download
M chrome/browser/renderer_host/render_widget_host_view_views.h View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/renderer_host/render_widget_host_view_views.cc View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/autocomplete/autocomplete_popup_contents_view.h View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/autocomplete/autocomplete_popup_contents_view.cc View 1 2 3 2 chunks +7 lines, -4 lines 0 comments Download
M chrome/browser/ui/views/browser_actions_container.h View 1 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/ui/views/browser_actions_container.cc View 1 2 3 1 chunk +3 lines, -4 lines 0 comments Download
M chrome/browser/ui/views/content_setting_bubble_contents.cc View 1 2 3 2 chunks +7 lines, -8 lines 0 comments Download
M chrome/browser/ui/views/download_item_view.h View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/download_item_view.cc View 1 2 3 2 chunks +15 lines, -8 lines 0 comments Download
M chrome/browser/ui/views/location_bar/click_handler.h View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/location_bar/click_handler.cc View 2 chunks +2 lines, -4 lines 0 comments Download
M chrome/browser/ui/views/location_bar/content_setting_image_view.h View 1 2 3 1 chunk +9 lines, -9 lines 0 comments Download
M chrome/browser/ui/views/location_bar/content_setting_image_view.cc View 1 2 3 2 chunks +3 lines, -4 lines 0 comments Download
M chrome/browser/ui/views/location_bar/ev_bubble_view.h View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/location_bar/ev_bubble_view.cc View 1 chunk +2 lines, -4 lines 0 comments Download
M chrome/browser/ui/views/location_bar/icon_label_bubble_view.h View 1 2 3 2 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/ui/views/location_bar/location_bar_view.h View 2 chunks +4 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/location_bar/location_bar_view.cc View 3 chunks +7 lines, -17 lines 0 comments Download
M chrome/browser/ui/views/location_bar/location_icon_view.h View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/location_bar/location_icon_view.cc View 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/location_bar/page_action_image_view.h View 1 2 3 1 chunk +7 lines, -7 lines 0 comments Download
M chrome/browser/ui/views/location_bar/page_action_image_view.cc View 1 2 3 2 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/ui/views/location_bar/star_view.h View 1 2 3 1 chunk +4 lines, -5 lines 0 comments Download
M chrome/browser/ui/views/location_bar/star_view.cc View 1 2 3 1 chunk +5 lines, -4 lines 0 comments Download
M chrome/browser/ui/views/tabs/base_tab.h View 1 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/tabs/base_tab.cc View 1 2 3 3 chunks +7 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/tabs/base_tab_strip.h View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/tabs/base_tab_strip.cc View 1 2 3 1 chunk +6 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/tabs/side_tab_strip.cc View 1 2 2 chunks +6 lines, -7 lines 0 comments Download
M ui/views/view.cc View 1 chunk +0 lines, -5 lines 0 comments Download
M views/controls/button/button_dropdown.h View 1 2 1 chunk +3 lines, -1 line 0 comments Download
M views/controls/button/button_dropdown.cc View 1 chunk +4 lines, -9 lines 0 comments Download
M views/controls/button/checkbox.h View 1 chunk +2 lines, -1 line 0 comments Download
M views/controls/button/checkbox.cc View 1 2 3 1 chunk +7 lines, -3 lines 0 comments Download
M views/controls/button/custom_button.h View 1 chunk +2 lines, -1 line 0 comments Download
M views/controls/button/custom_button.cc View 1 2 2 chunks +9 lines, -4 lines 0 comments Download
M views/controls/button/image_button.h View 1 2 3 2 chunks +3 lines, -3 lines 0 comments Download
M views/controls/button/menu_button.h View 1 1 chunk +1 line, -1 line 0 comments Download
M views/controls/button/menu_button.cc View 1 1 chunk +4 lines, -4 lines 0 comments Download
M views/controls/button/radio_button.h View 1 2 3 2 chunks +4 lines, -4 lines 0 comments Download
M views/controls/button/radio_button.cc View 1 2 3 2 chunks +8 lines, -4 lines 0 comments Download
M views/controls/link.h View 2 chunks +5 lines, -5 lines 0 comments Download
M views/controls/link.cc View 1 2 3 3 chunks +22 lines, -19 lines 0 comments Download
M views/controls/menu/menu_controller.h View 1 2 3 1 chunk +4 lines, -4 lines 0 comments Download
M views/controls/menu/menu_controller.cc View 1 2 3 7 chunks +13 lines, -20 lines 0 comments Download
M views/controls/menu/menu_host_root_view.h View 1 2 3 2 chunks +1 line, -9 lines 0 comments Download
M views/controls/menu/menu_host_root_view.cc View 1 2 3 3 chunks +4 lines, -29 lines 0 comments Download
M views/controls/resize_area.h View 2 chunks +3 lines, -3 lines 0 comments Download
M views/controls/resize_area.cc View 2 chunks +7 lines, -4 lines 0 comments Download
M views/controls/scrollbar/bitmap_scroll_bar.h View 1 chunk +2 lines, -1 line 0 comments Download
M views/controls/scrollbar/bitmap_scroll_bar.cc View 1 2 3 6 chunks +22 lines, -14 lines 0 comments Download
M views/controls/single_split_view.h View 1 2 chunks +2 lines, -2 lines 0 comments Download
M views/controls/single_split_view.cc View 2 2 chunks +3 lines, -3 lines 0 comments Download
M views/controls/single_split_view_unittest.cc View 1 2 3 3 chunks +9 lines, -4 lines 0 comments Download
M views/controls/textfield/native_textfield_views.h View 1 2 3 1 chunk +4 lines, -6 lines 0 comments Download
M views/controls/textfield/native_textfield_views.cc View 1 2 3 3 chunks +7 lines, -11 lines 0 comments Download
M views/focus/accelerator_handler_touch.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M views/touchui/gesture_manager.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M views/view.h View 2 chunks +6 lines, -5 lines 0 comments Download
M views/view.cc View 1 2 3 2 chunks +8 lines, -5 lines 0 comments Download
M views/view_unittest.cc View 1 2 3 8 chunks +8 lines, -8 lines 0 comments Download
M views/widget/root_view.h View 1 2 3 2 chunks +2 lines, -5 lines 0 comments Download
M views/widget/root_view.cc View 1 2 3 3 chunks +18 lines, -13 lines 0 comments Download
M views/widget/widget_gtk.cc View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M views/widget/widget_win.cc View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 8 (1 generated)
msw
Still a work in progress, but ready enough for review. Need guidance / testing / ...
9 years, 9 months ago (2011-03-17 23:28:51 UTC) #1
sadrul
It looks like you are moving a lot of overrides from private to public. Why ...
9 years, 9 months ago (2011-03-19 09:15:30 UTC) #2
Ben Goodger (Google)
http://codereview.chromium.org/6685069/diff/162/chrome/browser/chromeos/frame/panel_controller.cc File chrome/browser/chromeos/frame/panel_controller.cc (right): http://codereview.chromium.org/6685069/diff/162/chrome/browser/chromeos/frame/panel_controller.cc#newcode397 chrome/browser/chromeos/frame/panel_controller.cc:397: DCHECK(panel_controller_) << "OnMouseCaptureLost after Close"; These kind of DCHECKs ...
9 years, 9 months ago (2011-03-19 15:32:55 UTC) #3
msw
Sorry for the delay; debugging tests via print statements sux. I reverted function re-orderings, reduced ...
9 years, 9 months ago (2011-03-26 00:09:50 UTC) #4
Ben Goodger (Google)
LGTM from my perspective.
9 years, 9 months ago (2011-03-28 23:47:37 UTC) #5
sadrul
LGTM 2
9 years, 9 months ago (2011-03-29 00:18:22 UTC) #6
sky
4 years, 9 months ago (2016-03-02 18:34:58 UTC) #8
Message was sent while issue was closed.
Ok, LGTM

Powered by Google App Engine
This is Rietveld 408576698