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

Issue 137893017: Rebuild Views Textfield context menu runner on each showing. (Closed)

Created:
6 years, 11 months ago by msw
Modified:
6 years, 11 months ago
Reviewers:
sky
CC:
chromium-reviews, yusukes+watch_chromium.org, yukishiino+watch_chromium.org, tfarina, penghuang+watch_chromium.org, nona+watch_chromium.org, James Su
Visibility:
Public.

Description

Rebuild Views Textfield context menu runner on each showing. Without rebuilding, stale command states are used. That may leave menu items incorrectly enabled/disabled. Fixes a regression from http://crrev.com/244436 BUG=334604 TEST=Bug doesn't repro; omnibox and textfield context menu items are enabled or disabled as expected on each menu invocation. R=sky@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=245461

Patch Set 1 #

Patch Set 2 : Just recreate the menu runner on each showing. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -2 lines) Patch
M ui/views/controls/textfield/textfield.cc View 1 2 chunks +1 line, -2 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
msw
Hey Scott please take a look; thanks for the help!
6 years, 11 months ago (2014-01-16 23:51:40 UTC) #1
sky
LGTM
6 years, 11 months ago (2014-01-17 00:34:18 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/msw@chromium.org/137893017/20001
6 years, 11 months ago (2014-01-17 00:44:19 UTC) #3
commit-bot: I haz the power
6 years, 11 months ago (2014-01-17 07:15:13 UTC) #4
Message was sent while issue was closed.
Change committed as 245461

Powered by Google App Engine
This is Rietveld 408576698