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

Issue 82113004: Fix key navigation to cut/copy/paste zoom button on wrench menu (Closed)

Created:
7 years, 1 month ago by oshima
Modified:
7 years ago
Reviewers:
sky
CC:
chromium-reviews, tfarina
Visibility:
Public.

Description

Fix key navigation to cut/copy/paste zoom button on wrench menu * Fix button class detection (added CustomButton::AsCustomButtton) * Removed obsolete touch specific color scheme. Instead, use NativeTheme as that's what MenuItemView is using. BUG=177228 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=238241

Patch Set 1 : #

Total comments: 1

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : generate hover state image on the fly #

Patch Set 5 : #

Patch Set 6 : test #

Patch Set 7 : #

Patch Set 8 : #

Total comments: 10

Patch Set 9 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+238 lines, -139 lines) Patch
M chrome/browser/ui/views/toolbar/wrench_menu.cc View 1 2 3 4 5 6 7 8 12 chunks +153 lines, -105 lines 0 comments Download
M ui/views/controls/button/custom_button.h View 1 chunk +3 lines, -0 lines 0 comments Download
M ui/views/controls/button/custom_button.cc View 1 2 chunks +28 lines, -0 lines 0 comments Download
M ui/views/controls/button/custom_button_unittest.cc View 1 2 3 4 5 2 chunks +37 lines, -0 lines 0 comments Download
M ui/views/controls/menu/menu_controller.cc View 5 chunks +17 lines, -29 lines 0 comments Download
M ui/views/controls/menu/menu_item_view.h View 1 chunk +0 lines, -5 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
oshima
https://codereview.chromium.org/82113004/diff/160001/chrome/browser/ui/views/toolbar/wrench_menu.cc File chrome/browser/ui/views/toolbar/wrench_menu.cc (right): https://codereview.chromium.org/82113004/diff/160001/chrome/browser/ui/views/toolbar/wrench_menu.cc#newcode308 chrome/browser/ui/views/toolbar/wrench_menu.cc:308: canvas->FillRect(bounds, BackgroundColor(view, state)); I wonder if this is correct/intentional. ...
7 years ago (2013-11-25 21:59:01 UTC) #1
oshima
uploaded new patch set that fixes the fullscreen image for hover state.
7 years ago (2013-11-25 22:38:41 UTC) #2
sky
Since this code is easy to break and not realize it, can you write a ...
7 years ago (2013-11-26 00:01:42 UTC) #3
oshima
Added CustomButtonTest::AsCustomButton. PTAL.
7 years ago (2013-11-26 00:29:53 UTC) #4
sky
I was thinking more of tests for the cut/copy/paste buttons created by WrenchMenu. Is it ...
7 years ago (2013-11-26 03:49:30 UTC) #5
oshima
On 2013/11/26 03:49:30, sky wrote: > I was thinking more of tests for the cut/copy/paste ...
7 years ago (2013-11-26 05:16:44 UTC) #6
sky
https://codereview.chromium.org/82113004/diff/300001/chrome/browser/ui/views/toolbar/wrench_menu.cc File chrome/browser/ui/views/toolbar/wrench_menu.cc (right): https://codereview.chromium.org/82113004/diff/300001/chrome/browser/ui/views/toolbar/wrench_menu.cc#newcode205 chrome/browser/ui/views/toolbar/wrench_menu.cc:205: if (use_new_menu_) This shouldn't be necessary sine handled on ...
7 years ago (2013-12-02 14:28:01 UTC) #7
oshima
https://codereview.chromium.org/82113004/diff/300001/chrome/browser/ui/views/toolbar/wrench_menu.cc File chrome/browser/ui/views/toolbar/wrench_menu.cc (right): https://codereview.chromium.org/82113004/diff/300001/chrome/browser/ui/views/toolbar/wrench_menu.cc#newcode205 chrome/browser/ui/views/toolbar/wrench_menu.cc:205: if (use_new_menu_) On 2013/12/02 14:28:01, sky wrote: > This ...
7 years ago (2013-12-02 20:00:58 UTC) #8
sky
LGTM
7 years ago (2013-12-02 22:10:35 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/oshima@chromium.org/82113004/320001
7 years ago (2013-12-02 22:13:02 UTC) #10
commit-bot: I haz the power
7 years ago (2013-12-03 00:29:44 UTC) #11
Message was sent while issue was closed.
Change committed as 238241

Powered by Google App Engine
This is Rietveld 408576698