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

Issue 873513002: [Views] Make MenuButton track its desired state while pressed (Closed)

Created:
5 years, 11 months ago by Devlin
Modified:
5 years, 11 months ago
Reviewers:
sky
CC:
chromium-reviews, tfarina
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Views] Make MenuButton track its desired state while pressed Make MenuButton track its desried state while it's pressed so that, upon release, it returns to the proper state (instead of assuming STATE_NORMAL). BUG=431481 Committed: https://crrev.com/f7efba8fd39ab70ffd77abc5bceadb66656e553d Cr-Commit-Position: refs/heads/master@{#313105}

Patch Set 1 : #

Total comments: 2

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+61 lines, -8 lines) Patch
M ui/views/controls/button/menu_button.h View 2 chunks +6 lines, -0 lines 0 comments Download
M ui/views/controls/button/menu_button.cc View 3 chunks +26 lines, -7 lines 0 comments Download
M ui/views/controls/button/menu_button_unittest.cc View 1 chunk +25 lines, -0 lines 0 comments Download
M ui/views/widget/desktop_aura/desktop_native_widget_aura.cc View 1 1 chunk +4 lines, -1 line 0 comments Download

Messages

Total messages: 15 (6 generated)
Devlin
Scott, please take a look when you can. :)
5 years, 11 months ago (2015-01-23 22:49:33 UTC) #5
sky
https://codereview.chromium.org/873513002/diff/60001/ui/views/widget/desktop_aura/desktop_native_widget_aura.cc File ui/views/widget/desktop_aura/desktop_native_widget_aura.cc (right): https://codereview.chromium.org/873513002/diff/60001/ui/views/widget/desktop_aura/desktop_native_widget_aura.cc#newcode873 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc:873: if (!content_window_ || !host_) This has me worried, and ...
5 years, 11 months ago (2015-01-24 00:00:36 UTC) #6
sky
Everything else looks good.
5 years, 11 months ago (2015-01-24 00:00:42 UTC) #7
Devlin
https://codereview.chromium.org/873513002/diff/60001/ui/views/widget/desktop_aura/desktop_native_widget_aura.cc File ui/views/widget/desktop_aura/desktop_native_widget_aura.cc (right): https://codereview.chromium.org/873513002/diff/60001/ui/views/widget/desktop_aura/desktop_native_widget_aura.cc#newcode873 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc:873: if (!content_window_ || !host_) On 2015/01/24 00:00:36, sky wrote: ...
5 years, 11 months ago (2015-01-24 00:11:48 UTC) #8
sky
I can't think of anything better. Add a comment and LGTM
5 years, 11 months ago (2015-01-26 15:48:36 UTC) #9
Devlin
On 2015/01/26 15:48:36, sky wrote: > I can't think of anything better. Add a comment ...
5 years, 11 months ago (2015-01-26 19:50:59 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/873513002/100001
5 years, 11 months ago (2015-01-26 19:52:03 UTC) #13
commit-bot: I haz the power
Committed patchset #2 (id:100001)
5 years, 11 months ago (2015-01-26 19:57:16 UTC) #14
commit-bot: I haz the power
5 years, 11 months ago (2015-01-26 19:58:30 UTC) #15
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/f7efba8fd39ab70ffd77abc5bceadb66656e553d
Cr-Commit-Position: refs/heads/master@{#313105}

Powered by Google App Engine
This is Rietveld 408576698