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

Issue 2245063006: Revert of Refactoring button field and its type (Closed)

Created:
4 years, 4 months ago by megjablon
Modified:
4 years, 4 months ago
CC:
blink-reviews, blink-reviews-events_chromium.org, blink-reviews-html_chromium.org, blink-reviews-layout_chromium.org, chromium-reviews, dcheng, dglazkov+blink, dtapuska+blinkwatch_chromium.org, eae+blinkwatch, eric.carlson_apple.com, feature-media-reviews_chromium.org, fs, gasubic, jchaffraix+rendering, kinuko+watch, leviw+renderwatch, mlamouri+watch-blink_chromium.org, nzolghadr+blinkwatch_chromium.org, pdr+renderingwatchlist_chromium.org, nessy, szager+layoutwatch_chromium.org, vcarbune.chromium, zoltan1
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Revert of Refactoring button field and its type (patchset #13 id:240001 of https://codereview.chromium.org/2227563003/ ) Reason for revert: Webkit tests failing on WebKit Linux MSAN https://build.chromium.org/p/chromium.webkit/builders/WebKit%20Linux%20MSAN/builds/11748 webkit_tests webkit_tests unexpected_failures: imported/wpt/pointerevents/pointerevent_pointertype_touch-manual.html imported/wpt/pointerevents/pointerevent_touch-action-inherit_child-auto-child-none_touch-manual.html imported/wpt/pointerevents/pointerevent_touch-action-auto-css_touch-manual.html imported/wpt/pointerevents/pointerevent_touch-action-pan-x-pan-y-pan-y_touch-manual.html imported/wpt/pointerevents/pointerevent_touch-action-none-css_touch-manual.html imported/wpt/pointerevents/pointerevent_change-touch-action-onpointerdown_touch-manual.html imported/wpt/pointerevents/pointerevent_touch-action-button-test_touch-manual.html imported/wpt/pointerevents/pointerevent_pointerleave_touch-manual.html imported/wpt/pointerevents/pointerevent_touch-action-pan-y-css_touch-manual.html imported/wpt/pointerevents/pointerevent_pointerenter_nohover-manual.html imported/wpt/pointerevents/pointerevent_touch-action-inherit_highest-parent-none_touch-manual.html imported/wpt/pointerevents/pointerevent_pointerout_after_pointercancel_touch-manual.html imported/wpt/pointerevents/pointerevent_pointerleave_after_pointerup_nohover-manual.html imported/wpt/pointerevents/pointerevent_touch-action-svg-test_touch-manual.html imported/wpt/pointerevents/pointerevent_pointerout_after_pointerup_nohover-manual.html imported/wpt/pointerevents/pointerevent_pointerleave_after_pointercancel_touch-manual.html imported/wpt/pointerevents/pointerevent_releasepointercapture_onpointercancel_touch-manual.html imported/wpt/pointerevents/pointerevent_touch-action-pan-x-pan-y_touch-manual.html imported/wpt/pointerevents/pointerevent_touch-action-inherit_parent-none_touch-manual.html imported/wpt/pointerevents/pointerevent_touch-action-pan-x-css_touch-manual.html imported/wpt/pointerevents/pointerevent_pointercancel_touch-manual.html imported/wpt/pointerevents/pointerevent_touch-action-inherit_child-pan-x-child-pan-y_touch-manual.html imported/wpt/pointerevents/pointerevent_touch-action-table-test_touch-manual.html imported/wpt/pointerevents/pointerevent_touch-action-span-test_touch-manual.html imported/wpt/pointerevents/pointerevent_touch-action-inherit_child-none_touch-manual.html imported/wpt/pointerevents/pointerevent_touch-action-inherit_child-pan-x-child-pan-x_touch-manual.html Original issue's description: > Refactoring button field and its type > > - Remove m_button field from PlatformMouseEvent as > there was one in WebPointerProperties. > - Remove duplicate PlatformMouseEvent::MouseButton > and WebScrollbarBehavior::Button enums and use > WebPointerProperties::Button enum instead. > - Making WebPointerProperties::Button an enum class. > > - Also cleanup related target for pointerevents. The related target for all pointerevents (similar to mouseevent) should be null except for boundary events. So relatedTarget can be removed from some of the functions as they don't send boundary events. > > BUG=635670 > CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation > > TBR=pfeldman@chromium.org > > Committed: https://crrev.com/3acb734ff34a77e76228425d06952317c10e252b > Cr-Commit-Position: refs/heads/master@{#412552} TBR=pdr@chromium.org,bokan@chromium.org,dtapuska@chromium.org,mustaq@chromium.org,pfeldman@chromium.org,danakj@chromium.org,sky@chromium.org,thestig@chromium.org,nzolghadr@chromium.org # Skipping CQ checks because original CL landed less than 1 days ago. BUG=635670 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation Committed: https://crrev.com/1c1f8f7a786bb441229143629a30048f187bf937 Cr-Commit-Position: refs/heads/master@{#412684}

Patch Set 1 #

Patch Set 2 : fix patch apply #

Unified diffs Side-by-side diffs Delta from patch set Stats (+428 lines, -417 lines) Patch
M chrome/browser/apps/guest_view/web_view_browsertest.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/apps/guest_view/web_view_interactive_browsertest.cc View 1 8 chunks +8 lines, -8 lines 0 comments Download
M chrome/browser/apps/window_controls_browsertest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/autofill/autofill_browsertest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/autofill/autofill_interactive_uitest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/autofill/autofill_server_browsertest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chrome_service_worker_browsertest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/input_method/textinput_test_helper.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/devtools/devtools_sanity_browsertest.cc View 1 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/download/download_browsertest.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/extensions/api/tab_capture/tab_capture_apitest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/api/web_navigation/web_navigation_apitest.cc View 1 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/extensions/api/web_request/web_request_apitest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/history/history_browsertest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/history/redirect_browsertest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/page_load_metrics/observers/from_gws_page_load_metrics_observer_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/password_manager/password_manager_browsertest.cc View 1 13 chunks +13 lines, -13 lines 0 comments Download
M chrome/browser/password_manager/password_manager_interactive_uitest.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/password_manager/password_manager_test_base.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/pdf/pdf_extension_test.cc View 1 4 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/plugins/plugin_power_saver_browsertest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/policy/policy_browsertest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/referrer_policy_browsertest.cc View 1 29 chunks +34 lines, -42 lines 0 comments Download
M chrome/browser/renderer_context_menu/render_view_context_menu_browsertest.cc View 1 4 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/ui/browser_browsertest.cc View 1 10 chunks +10 lines, -10 lines 0 comments Download
M chrome/browser/unload_browsertest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/remoting/remote_desktop_browsertest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M components/printing/test/print_web_view_helper_browsertest.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M components/test_runner/event_sender.h View 1 1 chunk +1 line, -1 line 0 comments Download
M components/test_runner/event_sender.cc View 1 14 chunks +27 lines, -27 lines 0 comments Download
M content/browser/android/content_view_core_impl.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M content/browser/devtools/protocol/color_picker.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M content/browser/devtools/protocol/input_handler.cc View 1 1 chunk +4 lines, -4 lines 0 comments Download
M content/browser/frame_host/render_widget_host_view_guest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/input/main_thread_event_queue_browsertest.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/renderer_host/input/synthetic_gesture_controller_unittest.cc View 1 4 chunks +5 lines, -5 lines 0 comments Download
M content/browser/renderer_host/input/synthetic_gesture_target_aura.cc View 1 1 chunk +3 lines, -3 lines 0 comments Download
M content/browser/renderer_host/input/synthetic_pointer_action_unittest.cc View 1 8 chunks +8 lines, -8 lines 0 comments Download
M content/browser/renderer_host/input/touch_emulator.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M content/browser/renderer_host/input/touch_emulator_unittest.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M content/browser/renderer_host/input/web_input_event_builders_android.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/renderer_host/input/web_input_event_builders_mac.mm View 1 3 chunks +11 lines, -11 lines 0 comments Download
M content/browser/renderer_host/input/web_input_event_builders_win.cc View 1 4 chunks +13 lines, -13 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/render_widget_host_view_mac.mm View 1 3 chunks +3 lines, -3 lines 0 comments Download
M content/browser/renderer_host/web_input_event_aura.cc View 1 4 chunks +6 lines, -6 lines 0 comments Download
M content/browser/renderer_host/web_input_event_aura_unittest.cc View 1 11 chunks +11 lines, -11 lines 0 comments Download
M content/browser/site_per_process_browsertest.cc View 1 9 chunks +9 lines, -9 lines 0 comments Download
M content/common/input/synthetic_web_input_event_builders.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M content/public/test/render_view_test.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M content/renderer/pepper/event_conversion.cc View 1 2 chunks +7 lines, -7 lines 0 comments Download
M content/renderer/render_view_browsertest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/render_widget_fullscreen_pepper.cc View 1 3 chunks +6 lines, -6 lines 0 comments Download
M content/renderer/webscrollbarbehavior_impl_gtkoraura.h View 1 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/webscrollbarbehavior_impl_gtkoraura.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M content/renderer/webscrollbarbehavior_impl_mac.h View 1 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/webscrollbarbehavior_impl_mac.mm View 1 1 chunk +2 lines, -2 lines 0 comments Download
M mojo/converters/blink/blink_input_events_type_converters.cc View 1 2 chunks +5 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/dom/Node.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/editing/SelectionController.cpp View 1 4 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/events/MouseEvent.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/events/MouseEvent.cpp View 1 5 chunks +19 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/events/PointerEventFactory.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/events/PointerEventFactory.cpp View 1 5 chunks +9 lines, -25 lines 0 comments Download
M third_party/WebKit/Source/core/events/PointerEventFactoryTest.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/html/HTMLAnchorElement.cpp View 1 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLInputElement.cpp View 1 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLSelectElement.cpp View 1 4 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/html/forms/RangeInputType.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/html/shadow/MediaControlElements.cpp View 1 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/html/shadow/SliderThumbElement.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/html/shadow/SpinButtonElement.cpp View 1 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/html/shadow/TextControlInnerElements.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/input/EventHandler.cpp View 1 11 chunks +13 lines, -16 lines 0 comments Download
M third_party/WebKit/Source/core/input/EventHandlerTest.cpp View 1 7 chunks +7 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/core/input/GestureManager.cpp View 1 5 chunks +5 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/input/PointerEventManager.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/input/PointerEventManager.cpp View 1 2 chunks +3 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutFrameSet.cpp View 1 2 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/page/AutoscrollController.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/page/DragController.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/PlatformMouseEvent.h View 1 4 chunks +11 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/platform/scroll/Scrollbar.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/scroll/ScrollbarTheme.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/web/AssertMatchingEnums.cpp View 1 2 chunks +10 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/web/ChromeClientImpl.cpp View 1 1 chunk +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp View 1 1 chunk +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp View 1 3 chunks +5 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/web/WebInputEventConversion.cpp View 1 5 chunks +15 lines, -15 lines 0 comments Download
M third_party/WebKit/Source/web/WebViewImpl.cpp View 1 6 chunks +8 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/web/tests/ChromeClientImplTest.cpp View 1 10 chunks +10 lines, -10 lines 0 comments Download
M third_party/WebKit/Source/web/tests/LinkSelectionTest.cpp View 1 6 chunks +7 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/web/tests/VisualViewportTest.cpp View 1 3 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/web/tests/WebInputEventConversionTest.cpp View 1 2 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/web/tests/WebPluginContainerTest.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/web/tests/WebViewTest.cpp View 1 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/public/platform/WebPointerProperties.h View 1 3 chunks +7 lines, -8 lines 0 comments Download
M third_party/WebKit/public/platform/WebScrollbarBehavior.h View 1 2 chunks +7 lines, -3 lines 0 comments Download
M ui/events/blink/web_input_event_traits.cc View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 36 (23 generated)
megjablon
Created Revert of Refactoring button field and its type
4 years, 4 months ago (2016-08-17 19:20:35 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2245063006/1
4 years, 4 months ago (2016-08-17 19:21:02 UTC) #3
commit-bot: I haz the power
Failed to apply patch for content/common/input/web_input_event_traits.cc: While running git apply --index -3 -p1; error: content/common/input/web_input_event_traits.cc: ...
4 years, 4 months ago (2016-08-17 19:22:15 UTC) #5
mustaq
Why are you suspecting crrev.com/2227563003? This shouldn't affect wpt tests IMO.
4 years, 4 months ago (2016-08-17 19:33:09 UTC) #6
Navid Zolghadr
On 2016/08/17 19:22:15, commit-bot: I haz the power wrote: > Failed to apply patch for ...
4 years, 4 months ago (2016-08-17 19:35:21 UTC) #7
megjablon
On 2016/08/17 19:35:21, Navid Zolghadr wrote: > On 2016/08/17 19:22:15, commit-bot: I haz the power ...
4 years, 4 months ago (2016-08-17 19:40:48 UTC) #8
Navid Zolghadr
On 2016/08/17 19:40:48, megjablon wrote: > On 2016/08/17 19:35:21, Navid Zolghadr wrote: > > On ...
4 years, 4 months ago (2016-08-17 19:47:50 UTC) #13
megjablon
On 2016/08/17 19:47:50, Navid Zolghadr wrote: > On 2016/08/17 19:40:48, megjablon wrote: > > On ...
4 years, 4 months ago (2016-08-17 19:56:01 UTC) #14
Navid Zolghadr
On 2016/08/17 19:56:01, megjablon wrote: > On 2016/08/17 19:47:50, Navid Zolghadr wrote: > > On ...
4 years, 4 months ago (2016-08-17 20:16:57 UTC) #16
mustaq
On 2016/08/17 20:16:57, Navid Zolghadr wrote: > On 2016/08/17 19:56:01, megjablon wrote: > > On ...
4 years, 4 months ago (2016-08-17 20:19:51 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2245063006/300001
4 years, 4 months ago (2016-08-17 21:40:14 UTC) #32
commit-bot: I haz the power
Committed patchset #2 (id:300001)
4 years, 4 months ago (2016-08-17 23:14:29 UTC) #34
commit-bot: I haz the power
4 years, 4 months ago (2016-08-17 23:19:51 UTC) #36
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/1c1f8f7a786bb441229143629a30048f187bf937
Cr-Commit-Position: refs/heads/master@{#412684}

Powered by Google App Engine
This is Rietveld 408576698