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

Issue 1534303002: CustomButton cleanup: make protected members private, create accessors (Closed)

Created:
5 years ago by Evan Stade
Modified:
4 years, 11 months ago
CC:
chromium-reviews, kalyank, sadrul, Matt Giuca, tapted, tfarina
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

CustomButton cleanup: make protected members private, create accessors Also delete some old file that's not in use. BUG=none TBR=erg@chromium.org Committed: https://crrev.com/a1dbae6db9820855aa13dea0bba989793ed7d54a Cr-Commit-Position: refs/heads/master@{#367093}

Patch Set 1 #

Patch Set 2 : revert a change #

Total comments: 5

Patch Set 3 : tidy up #

Total comments: 6

Patch Set 4 : fix mash #

Patch Set 5 : rebase #

Patch Set 6 : fix bad merge #

Patch Set 7 : dont move declaration randomly #

Unified diffs Side-by-side diffs Delta from patch set Stats (+89 lines, -105 lines) Patch
M ash/frame/caption_buttons/frame_caption_button.cc View 2 chunks +7 lines, -5 lines 0 comments Download
M ash/shelf/overflow_button.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/tabs/media_indicator_button.cc View 1 2 3 4 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/tabs/tab_strip.cc View 1 2 3 4 6 chunks +6 lines, -14 lines 0 comments Download
M chrome/browser/ui/views/toolbar/toolbar_button.cc View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M mash/wm/frame/caption_buttons/frame_caption_button.cc View 1 2 3 2 chunks +4 lines, -6 lines 0 comments Download
M ui/app_list/views/app_list_item_view.cc View 1 2 3 4 2 chunks +5 lines, -5 lines 0 comments Download
M ui/app_list/views/search_box_view.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M ui/views/controls/button/custom_button.h View 1 2 3 4 5 6 3 chunks +8 lines, -9 lines 0 comments Download
M ui/views/controls/button/custom_button.cc View 1 2 3 4 5 chunks +12 lines, -12 lines 0 comments Download
M ui/views/controls/button/image_button.cc View 1 2 3 chunks +17 lines, -15 lines 0 comments Download
M ui/views/controls/button/label_button.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M ui/views/controls/combobox/combobox.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M ui/views/controls/scrollbar/native_scroll_bar_views.cc View 1 2 3 3 chunks +19 lines, -26 lines 0 comments Download
M ui/views/views.gyp View 1 2 3 4 1 chunk +0 lines, -2 lines 0 comments Download

Messages

Total messages: 24 (10 generated)
Evan Stade
+oshima for ash/ +pkasting for chrome/ +sadrul for ui/
5 years ago (2015-12-18 22:43:22 UTC) #2
oshima
ash/ lgtm
5 years ago (2015-12-18 22:44:47 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1534303002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1534303002/1
5 years ago (2015-12-18 22:44:55 UTC) #5
Peter Kasting
LGTM https://codereview.chromium.org/1534303002/diff/20001/chrome/browser/ui/views/tabs/tab_strip.cc File chrome/browser/ui/views/tabs/tab_strip.cc (left): https://codereview.chromium.org/1534303002/diff/20001/chrome/browser/ui/views/tabs/tab_strip.cc#oldcode378 chrome/browser/ui/views/tabs/tab_strip.cc:378: hover_value = hover_animation_->GetCurrentValue(); I _think_ your changes to ...
5 years ago (2015-12-19 01:22:27 UTC) #6
Evan Stade
https://codereview.chromium.org/1534303002/diff/20001/chrome/browser/ui/views/tabs/tab_strip.cc File chrome/browser/ui/views/tabs/tab_strip.cc (left): https://codereview.chromium.org/1534303002/diff/20001/chrome/browser/ui/views/tabs/tab_strip.cc#oldcode378 chrome/browser/ui/views/tabs/tab_strip.cc:378: hover_value = hover_animation_->GetCurrentValue(); On 2015/12/19 01:22:27, Peter Kasting wrote: ...
5 years ago (2015-12-21 20:19:28 UTC) #7
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1534303002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1534303002/40001
5 years ago (2015-12-21 20:19:53 UTC) #9
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_compile_dbg_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_compile_dbg_ng/builds/29948)
5 years ago (2015-12-21 20:31:56 UTC) #11
Peter Kasting
https://codereview.chromium.org/1534303002/diff/20001/chrome/browser/ui/views/tabs/tab_strip.cc File chrome/browser/ui/views/tabs/tab_strip.cc (right): https://codereview.chromium.org/1534303002/diff/20001/chrome/browser/ui/views/tabs/tab_strip.cc#newcode588 chrome/browser/ui/views/tabs/tab_strip.cc:588: if (hover_animation().GetCurrentValue()) { On 2015/12/21 20:19:28, Evan Stade wrote: ...
5 years ago (2015-12-21 20:34:18 UTC) #12
sadrul
lgtm. A couple of nits https://codereview.chromium.org/1534303002/diff/40001/ui/views/controls/button/custom_button.h File ui/views/controls/button/custom_button.h (right): https://codereview.chromium.org/1534303002/diff/40001/ui/views/controls/button/custom_button.h#newcode149 ui/views/controls/button/custom_button.h:149: // Hover animation. The ...
5 years ago (2015-12-21 22:05:32 UTC) #13
Evan Stade
+erg for mash/ https://codereview.chromium.org/1534303002/diff/40001/chrome/browser/ui/views/tabs/tab_strip.cc File chrome/browser/ui/views/tabs/tab_strip.cc (right): https://codereview.chromium.org/1534303002/diff/40001/chrome/browser/ui/views/tabs/tab_strip.cc#newcode590 chrome/browser/ui/views/tabs/tab_strip.cc:590: if (alpha != SK_AlphaTRANSPARENT) On 2015/12/21 ...
5 years ago (2015-12-21 22:27:16 UTC) #15
Evan Stade
TBR'ing mash/wm/ because the code is cloned from ash/
4 years, 11 months ago (2015-12-29 18:18:08 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1534303002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1534303002/120001
4 years, 11 months ago (2015-12-29 18:36:26 UTC) #20
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 11 months ago (2015-12-29 19:37:46 UTC) #22
commit-bot: I haz the power
4 years, 11 months ago (2015-12-29 19:38:47 UTC) #24
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/a1dbae6db9820855aa13dea0bba989793ed7d54a
Cr-Commit-Position: refs/heads/master@{#367093}

Powered by Google App Engine
This is Rietveld 408576698