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

Issue 2264403006: Update ui/views menus to use async (Closed)

Created:
4 years, 3 months ago by jonross
Modified:
4 years, 3 months ago
Reviewers:
sky
CC:
chromium-reviews, tfarina, James Su, shuchen+watch_chromium.org, yusukes+watch_chromium.org, nona+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Update ui/views menus to use async Update the menus used in Combobox, BaseScrollbar, and TextField to use the ASYNC runtype. Also update the naming of the MenuModel in Combobox. Upate the menus in the views_examples_exe to use the ASYNC runtype. TEST=manual testing of views, views_examples_exe, views_unittests BUG=557136, 557130 Committed: https://crrev.com/30d4b86ba58f9dbab255c1fe45b948137cf11b48 Cr-Commit-Position: refs/heads/master@{#414900}

Patch Set 1 #

Total comments: 7

Patch Set 2 : Review Updates #

Unified diffs Side-by-side diffs Delta from patch set Stats (+59 lines, -54 lines) Patch
M ui/views/controls/combobox/combobox.h View 1 5 chunks +9 lines, -4 lines 0 comments Download
M ui/views/controls/combobox/combobox.cc View 1 6 chunks +20 lines, -14 lines 0 comments Download
M ui/views/controls/scrollbar/base_scroll_bar.cc View 1 2 chunks +5 lines, -9 lines 0 comments Download
M ui/views/controls/textfield/textfield.cc View 1 chunk +4 lines, -3 lines 0 comments Download
M ui/views/examples/menu_example.cc View 1 chunk +6 lines, -10 lines 0 comments Download
M ui/views/examples/tree_view_example.h View 2 chunks +5 lines, -0 lines 0 comments Download
M ui/views/examples/tree_view_example.cc View 1 1 chunk +9 lines, -13 lines 0 comments Download
M ui/views/test/combobox_test_api.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 15 (7 generated)
jonross
https://codereview.chromium.org/2264403006/diff/1/ui/views/controls/combobox/combobox.cc File ui/views/controls/combobox/combobox.cc (right): https://codereview.chromium.org/2264403006/diff/1/ui/views/controls/combobox/combobox.cc#newcode900 ui/views/controls/combobox/combobox.cc:900: width, gfx::GetStringWidth(menu_model_->GetLabelAt(i), font_list)); incidental from cl format
4 years, 3 months ago (2016-08-25 21:34:26 UTC) #1
jonross
Hey, In this change I switch over the menus in other ui/views/ classes. Could you ...
4 years, 3 months ago (2016-08-25 23:02:20 UTC) #5
sky
https://codereview.chromium.org/2264403006/diff/1/ui/views/controls/combobox/combobox.cc File ui/views/controls/combobox/combobox.cc (right): https://codereview.chromium.org/2264403006/diff/1/ui/views/controls/combobox/combobox.cc#newcode840 ui/views/controls/combobox/combobox.cc:840: original_button_state_ = arrow_button_->state(); Why can't you pass this through ...
4 years, 3 months ago (2016-08-26 15:29:03 UTC) #8
jonross
https://codereview.chromium.org/2264403006/diff/1/ui/views/controls/combobox/combobox.cc File ui/views/controls/combobox/combobox.cc (right): https://codereview.chromium.org/2264403006/diff/1/ui/views/controls/combobox/combobox.cc#newcode840 ui/views/controls/combobox/combobox.cc:840: original_button_state_ = arrow_button_->state(); On 2016/08/26 15:29:03, sky wrote: > ...
4 years, 3 months ago (2016-08-26 19:11:57 UTC) #9
sky
LGTM
4 years, 3 months ago (2016-08-26 20:19:36 UTC) #10
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/2264403006/20001
4 years, 3 months ago (2016-08-27 02:56:30 UTC) #12
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 3 months ago (2016-08-27 10:47:17 UTC) #13
commit-bot: I haz the power
4 years, 3 months ago (2016-08-27 10:49:56 UTC) #15
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/30d4b86ba58f9dbab255c1fe45b948137cf11b48
Cr-Commit-Position: refs/heads/master@{#414900}

Powered by Google App Engine
This is Rietveld 408576698