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

Issue 935163002: [Extensions Toolbar Views] Override ShouldEnterPushedState in ToolbarActionView (Closed)

Created:
5 years, 10 months ago by Devlin
Modified:
5 years, 1 month ago
Reviewers:
Finnur
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

[Extensions Toolbar Views] Override ShouldEnterPushedState in ToolbarActionView crrev.com/48bb4848bf961d8e1b744ac6b4d8275d425279fc introduced a new behavior for menu buttons where they don't enter pushed state if they can be dragged. Since ToolbarActionView emulates either a LabelButton or a MenuButton depending whether it has a popup, it should override this. BUG=458041 Committed: https://crrev.com/ef5c7aee88bc06a4c62714e9c1d6fbd64968e795 Cr-Commit-Position: refs/heads/master@{#317435}

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -0 lines) Patch
M chrome/browser/ui/views/toolbar/toolbar_action_view.h View 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/toolbar/toolbar_action_view.cc View 1 chunk +6 lines, -0 lines 2 comments Download

Messages

Total messages: 8 (2 generated)
Devlin
5 years, 10 months ago (2015-02-19 01:02:22 UTC) #2
Finnur
LGTM https://codereview.chromium.org/935163002/diff/1/chrome/browser/ui/views/toolbar/toolbar_action_view.cc File chrome/browser/ui/views/toolbar/toolbar_action_view.cc (right): https://codereview.chromium.org/935163002/diff/1/chrome/browser/ui/views/toolbar/toolbar_action_view.cc#newcode235 chrome/browser/ui/views/toolbar/toolbar_action_view.cc:235: LabelButton::ShouldEnterPushedState(event); style-nit: Maybe I'm getting tainted by writing ...
5 years, 10 months ago (2015-02-20 10:36:10 UTC) #3
Devlin
https://codereview.chromium.org/935163002/diff/1/chrome/browser/ui/views/toolbar/toolbar_action_view.cc File chrome/browser/ui/views/toolbar/toolbar_action_view.cc (right): https://codereview.chromium.org/935163002/diff/1/chrome/browser/ui/views/toolbar/toolbar_action_view.cc#newcode235 chrome/browser/ui/views/toolbar/toolbar_action_view.cc:235: LabelButton::ShouldEnterPushedState(event); On 2015/02/20 10:36:10, Finnur wrote: > style-nit: Maybe ...
5 years, 10 months ago (2015-02-20 22:56:20 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/935163002/1
5 years, 10 months ago (2015-02-20 22:56:50 UTC) #6
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years, 10 months ago (2015-02-20 23:07:02 UTC) #7
commit-bot: I haz the power
5 years, 10 months ago (2015-02-20 23:07:35 UTC) #8
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/ef5c7aee88bc06a4c62714e9c1d6fbd64968e795
Cr-Commit-Position: refs/heads/master@{#317435}

Powered by Google App Engine
This is Rietveld 408576698