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

Issue 2688883002: Revert [MacViews] Implemented text context menu (Closed)

Created:
3 years, 10 months ago by jonross
Modified:
3 years, 10 months ago
Reviewers:
sky, nasko
CC:
chromium-reviews, James Su, creis+watch_chromium.org, yusukes+watch_chromium.org, tfarina, nasko+codewatch_chromium.org, jam, nona+watch_chromium.org, darin-cc_chromium.org, shuchen+watch_chromium.org, mac-reviews_chromium.org, srahim+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Revert [MacViews] Implemented text context menu This change reverts the implementation of TextField context menus. The original feature was targetting MacViews, however this breaks menus on non Mac platforms. Textfield::OnCaretBoundsChanged deletes the MenuModel while the MenuController is still active. Subsequent UI events attempt to access the now destroyed model. This is causing two major crashes on dev channel. So I am reverting to unblock. TBR=sky@chromium.org, nasko@chromium.org Revert "[MacViews] Implemented text context menu" This reverts commit 375ddabe9cdc45673e112c5b1b06cc754aa45759. Original review: https://codereview.chromium.org/2164483006 BUG=617436, 690097, 690443 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation Review-Url: https://codereview.chromium.org/2688883002 Cr-Commit-Position: refs/heads/master@{#449645} Committed: https://chromium.googlesource.com/chromium/src/+/6dcf90cf6c047e222f9da8d2567b60d66fa2fe87

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+404 lines, -1164 lines) Patch
M chrome/app/chrome_command_ids.h View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/app/generated_resources.grd View 3 chunks +27 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/renderer_context_menu/render_view_context_menu_mac.h View 2 chunks +23 lines, -20 lines 0 comments Download
M chrome/browser/ui/cocoa/renderer_context_menu/render_view_context_menu_mac.mm View 8 chunks +148 lines, -72 lines 0 comments Download
M chrome/browser/ui/views/renderer_context_menu/render_view_context_menu_views.cc View 2 chunks +1 line, -1 line 0 comments Download
M content/browser/frame_host/render_widget_host_view_child_frame.h View 1 chunk +3 lines, -0 lines 0 comments Download
M content/browser/frame_host/render_widget_host_view_child_frame.cc View 1 chunk +9 lines, -0 lines 0 comments Download
M content/browser/frame_host/render_widget_host_view_guest.h View 1 chunk +3 lines, -0 lines 0 comments Download
M content/browser/frame_host/render_widget_host_view_guest.cc View 1 chunk +11 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_mac.h View 5 chunks +10 lines, -6 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_mac.mm View 11 chunks +39 lines, -10 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_mac_unittest.mm View 2 chunks +6 lines, -5 lines 0 comments Download
M content/public/browser/render_widget_host_view.h View 1 chunk +7 lines, -3 lines 0 comments Download
M content/test/test_render_view_host.h View 1 chunk +3 lines, -0 lines 0 comments Download
M content/test/test_render_view_host.cc View 1 chunk +10 lines, -0 lines 0 comments Download
M ui/base/BUILD.gn View 2 chunks +0 lines, -3 lines 0 comments Download
D ui/base/cocoa/text_services_context_menu.h View 1 chunk +0 lines, -70 lines 0 comments Download
D ui/base/cocoa/text_services_context_menu.cc View 1 chunk +0 lines, -152 lines 0 comments Download
D ui/base/cocoa/text_services_context_menu_unittest.mm View 1 chunk +0 lines, -213 lines 0 comments Download
M ui/gfx/BUILD.gn View 1 chunk +0 lines, -2 lines 0 comments Download
D ui/gfx/decorated_text_mac.h View 1 chunk +0 lines, -22 lines 0 comments Download
D ui/gfx/decorated_text_mac.mm View 1 chunk +0 lines, -51 lines 0 comments Download
M ui/gfx/render_text.h View 1 chunk +4 lines, -12 lines 0 comments Download
M ui/gfx/render_text.cc View 2 chunks +4 lines, -15 lines 0 comments Download
M ui/gfx/render_text_unittest.cc View 9 chunks +27 lines, -104 lines 0 comments Download
M ui/strings/ui_strings.grd View 1 chunk +0 lines, -29 lines 0 comments Download
M ui/views/BUILD.gn View 2 chunks +0 lines, -4 lines 0 comments Download
M ui/views/cocoa/bridged_content_view.mm View 5 chunks +38 lines, -6 lines 0 comments Download
M ui/views/controls/label.h View 1 chunk +3 lines, -6 lines 0 comments Download
M ui/views/controls/label.cc View 1 chunk +5 lines, -20 lines 0 comments Download
M ui/views/controls/textfield/textfield.h View 3 chunks +3 lines, -8 lines 0 comments Download
M ui/views/controls/textfield/textfield.cc View 6 chunks +5 lines, -39 lines 0 comments Download
M ui/views/controls/textfield/textfield_test_api.h View 1 chunk +0 lines, -4 lines 0 comments Download
M ui/views/controls/textfield/textfield_unittest.cc View 3 chunks +8 lines, -76 lines 0 comments Download
D ui/views/controls/views_text_services_context_menu.h View 1 chunk +0 lines, -47 lines 0 comments Download
D ui/views/controls/views_text_services_context_menu.cc View 1 chunk +0 lines, -16 lines 0 comments Download
D ui/views/controls/views_text_services_context_menu_mac.mm View 1 chunk +0 lines, -135 lines 0 comments Download
M ui/views/word_lookup_client.h View 1 chunk +4 lines, -13 lines 0 comments Download

Messages

Total messages: 11 (7 generated)
jonross
3 years, 10 months ago (2017-02-10 16:02:41 UTC) #3
jonross
nasko@chromium.org: Please review changes in
3 years, 10 months ago (2017-02-10 16:03:49 UTC) #5
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/2688883002/1
3 years, 10 months ago (2017-02-10 16:04:52 UTC) #8
commit-bot: I haz the power
3 years, 10 months ago (2017-02-10 17:16:26 UTC) #11
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/6dcf90cf6c047e222f9da8d2567b...

Powered by Google App Engine
This is Rietveld 408576698