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

Issue 2280513002: MD History: promote menu button to show clear browsing data in narrow mode (Closed)

Created:
4 years, 3 months ago by Dan Beam
Modified:
4 years, 3 months ago
CC:
chromium-reviews, asanka, dbeam+watch-polymer_chromium.org, dbeam+watch-elements_chromium.org, michaelpg+watch-polymer_chromium.org, Patrick Dubroy, michaelpg+watch-md-ui_chromium.org, dbeam+watch-history_chromium.org, pam+watch_chromium.org, arv+watch_chromium.org, oshima+watch_chromium.org, michaelpg+watch-elements_chromium.org, stevenjb+watch-md-settings_chromium.org, dbeam+watch-downloads_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

MD History: promote menu button to show clear browsing data in narrow mode Show this tooltip the first time a user goes into narrow mode with the new history page. R=tsergeant@chromium.org BUG=598017 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/2d6fa4fda96dd212548f8422cf589224eb305766 Committed: https://crrev.com/7db5f539aa9c828a4b1db716b14028c73e462608 Cr-Original-Commit-Position: refs/heads/master@{#419996} Cr-Commit-Position: refs/heads/master@{#420095}

Patch Set 1 : asdf #

Total comments: 14

Patch Set 2 : !showingSearch_ #

Total comments: 4

Patch Set 3 : tsergeant@ review #

Patch Set 4 : merge #

Total comments: 4

Patch Set 5 : go full vanilla #

Total comments: 2

Patch Set 6 : cr-menu-promo-shown #

Patch Set 7 : merge #

Total comments: 7

Patch Set 8 : damn it #

Unified diffs Side-by-side diffs Delta from patch set Stats (+471 lines, -95 lines) Patch
M chrome/app/generated_resources.grd View 1 2 3 4 5 6 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/prefs/browser_prefs.cc View 1 2 3 4 5 6 7 2 chunks +8 lines, -0 lines 0 comments Download
M chrome/browser/resources/md_downloads/crisper.js View 1 2 3 4 5 6 2 chunks +28 lines, -1 line 0 comments Download
M chrome/browser/resources/md_downloads/vulcanized.html View 1 2 3 4 5 6 2 chunks +60 lines, -3 lines 0 comments Download
M chrome/browser/resources/md_history/app.crisper.js View 1 2 3 4 5 6 5 chunks +112 lines, -73 lines 0 comments Download
M chrome/browser/resources/md_history/app.vulcanized.html View 1 2 3 4 5 6 5 chunks +62 lines, -5 lines 0 comments Download
M chrome/browser/resources/md_history/browser_service.js View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/resources/md_history/compiled_resources2.gyp View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/resources/md_history/history_toolbar.html View 1 2 3 4 2 chunks +14 lines, -5 lines 0 comments Download
M chrome/browser/resources/md_history/history_toolbar.js View 1 2 3 4 5 6 2 chunks +14 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/md_history_ui.h View 1 2 chunks +16 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/md_history_ui.cc View 1 2 3 4 5 8 chunks +26 lines, -3 lines 0 comments Download
M chrome/common/pref_names.h View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/common/pref_names.cc View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M ui/webui/resources/cr_elements/cr_toolbar/compiled_resources2.gyp View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar.html View 1 2 3 4 2 chunks +62 lines, -3 lines 0 comments Download
M ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar.js View 1 2 3 4 5 3 chunks +48 lines, -2 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 69 (43 generated)
Dan Beam
https://codereview.chromium.org/2280513002/diff/60001/third_party/polymer/v1_0/components-chromium/paper-tooltip/paper-tooltip-extracted.js File third_party/polymer/v1_0/components-chromium/paper-tooltip/paper-tooltip-extracted.js (right): https://codereview.chromium.org/2280513002/diff/60001/third_party/polymer/v1_0/components-chromium/paper-tooltip/paper-tooltip-extracted.js#newcode141 third_party/polymer/v1_0/components-chromium/paper-tooltip/paper-tooltip-extracted.js:141: this.listen(this, 'mouseenter', 'hide'); this already landed in Polymer, I ...
4 years, 3 months ago (2016-08-25 01:24:43 UTC) #5
Dan Beam
screenshot on bug: https://bugs.chromium.org/p/chromium/issues/detail?id=598017#c7
4 years, 3 months ago (2016-08-25 01:25:47 UTC) #7
tsergeant
Do you mind adding a UMA histogram/actions for promo shown and promo dismissed? I think ...
4 years, 3 months ago (2016-08-25 04:50:59 UTC) #11
Dan Beam
On 2016/08/25 04:50:59, tsergeant wrote: > Do you mind adding a UMA histogram/actions for promo ...
4 years, 3 months ago (2016-09-09 03:12:08 UTC) #16
Dan Beam
and yes, I know that the current implementation does not notify open pages (I.e. open ...
4 years, 3 months ago (2016-09-09 03:32:29 UTC) #17
tsergeant
As discussed separately, I'm happy to drop the metric for now. As for notifying other ...
4 years, 3 months ago (2016-09-09 06:09:39 UTC) #20
Dan Beam
hoping to screenreader test this soon https://codereview.chromium.org/2280513002/diff/60001/ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar.html File ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar.html (right): https://codereview.chromium.org/2280513002/diff/60001/ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar.html#newcode105 ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar.html:105: <iron-icon icon="cr:clear" on-tap="onMenuPromoCloseTap_"> ...
4 years, 3 months ago (2016-09-16 00:01:24 UTC) #22
tsergeant
The trip down the rabbit hole continues. https://codereview.chromium.org/2280513002/diff/160001/ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar.html File ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar.html (right): https://codereview.chromium.org/2280513002/diff/160001/ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar.html#newcode78 ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar.html:78: paper-tooltip { ...
4 years, 3 months ago (2016-09-16 01:23:09 UTC) #31
Dan Beam
axed both paper-tooltip and iron-icon they weren't paying their own costs. moved to fancy <div>/<button> ...
4 years, 3 months ago (2016-09-17 00:21:38 UTC) #32
tsergeant
lgtm with one little fix below. New vanilla flavour seems a good amount simpler, thanks! ...
4 years, 3 months ago (2016-09-19 01:21:41 UTC) #33
Dan Beam
https://codereview.chromium.org/2280513002/diff/180001/ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar.js File ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar.js (right): https://codereview.chromium.org/2280513002/diff/180001/ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar.js#newcode79 ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar.js:79: if (this.showMenu && this.showMenuPromo && !this.showingSearch_) { On 2016/09/19 ...
4 years, 3 months ago (2016-09-20 00:53:35 UTC) #38
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/2280513002/220001
4 years, 3 months ago (2016-09-21 03:41:56 UTC) #45
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/263577)
4 years, 3 months ago (2016-09-21 03:51:06 UTC) #47
Dan Beam
+pam for chrome/browser/prefs
4 years, 3 months ago (2016-09-21 04:20:55 UTC) #49
Pam (message me for reviews)
Owner LGTM. A couple of optional nits, no need for re-review. https://codereview.chromium.org/2280513002/diff/220001/chrome/browser/resources/md_downloads/crisper.js File chrome/browser/resources/md_downloads/crisper.js (right): ...
4 years, 3 months ago (2016-09-21 04:44:12 UTC) #50
Dan Beam
hey Pam, all of those are generated files (any crisper or vulcanized files are a ...
4 years, 3 months ago (2016-09-21 06:08:14 UTC) #51
Dan Beam
https://codereview.chromium.org/2280513002/diff/220001/chrome/browser/resources/md_history/history_toolbar.html File chrome/browser/resources/md_history/history_toolbar.html (right): https://codereview.chromium.org/2280513002/diff/220001/chrome/browser/resources/md_history/history_toolbar.html#newcode185 chrome/browser/resources/md_history/history_toolbar.html:185: on-cr-menu-promo-shown="onMenuPromoShown_"> On 2016/09/21 04:44:12, Pam (also PM for reviews) ...
4 years, 3 months ago (2016-09-21 06:09:43 UTC) #52
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/2280513002/220001
4 years, 3 months ago (2016-09-21 06:10:17 UTC) #54
commit-bot: I haz the power
Committed patchset #7 (id:220001)
4 years, 3 months ago (2016-09-21 07:27:29 UTC) #56
commit-bot: I haz the power
Patchset 7 (id:??) landed as https://crrev.com/2d6fa4fda96dd212548f8422cf589224eb305766 Cr-Commit-Position: refs/heads/master@{#419996}
4 years, 3 months ago (2016-09-21 07:29:24 UTC) #58
hbos_chromium
Manually reverted this CL due to compile error on Google Chrome Win bot: https://codereview.chromium.org/2354193002/
4 years, 3 months ago (2016-09-21 09:06:39 UTC) #59
tyoshino (SeeGerritForStatus)
On 2016/09/21 09:06:39, hbos_chromium wrote: > Manually reverted this CL due to compile error on ...
4 years, 3 months ago (2016-09-21 09:10:01 UTC) #60
Dan Beam
https://codereview.chromium.org/2280513002/diff/220001/chrome/browser/prefs/browser_prefs.cc File chrome/browser/prefs/browser_prefs.cc (right): https://codereview.chromium.org/2280513002/diff/220001/chrome/browser/prefs/browser_prefs.cc#newcode245 chrome/browser/prefs/browser_prefs.cc:245: #include "chrome/browser/ui/webui/md_history_ui.cc" dang
4 years, 3 months ago (2016-09-21 15:51:02 UTC) #61
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/2280513002/240001
4 years, 3 months ago (2016-09-21 15:52:11 UTC) #65
commit-bot: I haz the power
Committed patchset #8 (id:240001)
4 years, 3 months ago (2016-09-21 17:33:44 UTC) #67
commit-bot: I haz the power
4 years, 3 months ago (2016-09-21 17:36:59 UTC) #69
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/7db5f539aa9c828a4b1db716b14028c73e462608
Cr-Commit-Position: refs/heads/master@{#420095}

Powered by Google App Engine
This is Rietveld 408576698