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

Issue 2512553007: Add GetIsPinnedToTaskbarState() (Closed)

Created:
4 years, 1 month ago by Patrick Monette
Modified:
4 years ago
CC:
chromium-reviews, asvitkine+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add GetIsPinnedToTaskbarState() Adds the more general function to get the pinned state and refactor the 2 usages of ShellHandler. BUG=667335 Committed: https://crrev.com/a9831524bf640f9a3eb7842e83fe6c4d3d13652e Cr-Commit-Position: refs/heads/master@{#434254}

Patch Set 1 #

Total comments: 10

Patch Set 2 : grt's comments #

Total comments: 4

Patch Set 3 : More nits #

Total comments: 2

Patch Set 4 : Added comment #

Patch Set 5 : Merge #

Patch Set 6 : Fixed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+125 lines, -76 lines) Patch
M chrome/browser/metrics/chrome_browser_main_extra_parts_metrics.cc View 1 2 3 chunks +33 lines, -3 lines 0 comments Download
M chrome/browser/shell_integration_win.h View 1 1 chunk +10 lines, -3 lines 0 comments Download
M chrome/browser/shell_integration_win.cc View 1 2 3 4 5 3 chunks +59 lines, -43 lines 0 comments Download
M chrome/browser/ui/webui/welcome_win10_handler.h View 1 2 3 4 5 4 chunks +4 lines, -7 lines 0 comments Download
M chrome/browser/ui/webui/welcome_win10_handler.cc View 1 2 3 4 3 chunks +19 lines, -20 lines 0 comments Download

Messages

Total messages: 27 (12 generated)
Patrick Monette
PTAL. https://codereview.chromium.org/2512553007/diff/1/chrome/browser/metrics/chrome_browser_main_extra_parts_metrics.cc File chrome/browser/metrics/chrome_browser_main_extra_parts_metrics.cc (right): https://codereview.chromium.org/2512553007/diff/1/chrome/browser/metrics/chrome_browser_main_extra_parts_metrics.cc#newcode116 chrome/browser/metrics/chrome_browser_main_extra_parts_metrics.cc:116: UMA_ANDROID_ARM_FPU_VFPV3_D16, // The ARM CPU only supports vfpv3-d16. ...
4 years, 1 month ago (2016-11-19 00:22:40 UTC) #2
grt (UTC plus 2)
looks good. is there a bug number this could be associated with in the CL ...
4 years, 1 month ago (2016-11-21 10:45:31 UTC) #3
Patrick Monette
Thanks Greg! PTAnL https://codereview.chromium.org/2512553007/diff/1/chrome/browser/shell_integration_win.cc File chrome/browser/shell_integration_win.cc (right): https://codereview.chromium.org/2512553007/diff/1/chrome/browser/shell_integration_win.cc#newcode464 chrome/browser/shell_integration_win.cc:464: new IsPinnedToTaskbarHelper(error_callback, result_callback); On 2016/11/21 10:45:31, ...
4 years ago (2016-11-21 18:48:48 UTC) #5
grt (UTC plus 2)
lgtm w/ two nits https://codereview.chromium.org/2512553007/diff/20001/chrome/browser/metrics/chrome_browser_main_extra_parts_metrics.cc File chrome/browser/metrics/chrome_browser_main_extra_parts_metrics.cc (right): https://codereview.chromium.org/2512553007/diff/20001/chrome/browser/metrics/chrome_browser_main_extra_parts_metrics.cc#newcode330 chrome/browser/metrics/chrome_browser_main_extra_parts_metrics.cc:330: enum Result { NOT_PINNED, PINNED, ...
4 years ago (2016-11-22 10:06:41 UTC) #6
Patrick Monette
Thanks! asvitkine@ PTAL at chrome_browser_main_extra_parts_metrics.cc michaelpg@ PTAL at chrome/browser/ui/webui/* This is only a refactoring patch. ...
4 years ago (2016-11-22 22:41:59 UTC) #8
michaelpg
c/b/ui/webui lgtm
4 years ago (2016-11-23 00:59:38 UTC) #9
Alexei Svitkine (slow)
Seems you're missing the histograms.xml change?
4 years ago (2016-11-23 17:56:39 UTC) #10
Alexei Svitkine (slow)
On 2016/11/23 17:56:39, Alexei Svitkine (slow) wrote: > Seems you're missing the histograms.xml change? Nevermind, ...
4 years ago (2016-11-23 17:58:06 UTC) #11
Alexei Svitkine (slow)
lgtm % comment https://codereview.chromium.org/2512553007/diff/40001/chrome/browser/shell_integration_win.cc File chrome/browser/shell_integration_win.cc (right): https://codereview.chromium.org/2512553007/diff/40001/chrome/browser/shell_integration_win.cc#newcode482 chrome/browser/shell_integration_win.cc:482: base::Unretained(this))); Why base::Unretained()? Is there a ...
4 years ago (2016-11-23 17:59:53 UTC) #12
Patrick Monette
Thanks! https://codereview.chromium.org/2512553007/diff/40001/chrome/browser/shell_integration_win.cc File chrome/browser/shell_integration_win.cc (right): https://codereview.chromium.org/2512553007/diff/40001/chrome/browser/shell_integration_win.cc#newcode482 chrome/browser/shell_integration_win.cc:482: base::Unretained(this))); On 2016/11/23 17:59:53, Alexei Svitkine (slow) wrote: ...
4 years ago (2016-11-23 19:26:01 UTC) #14
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/2512553007/80001
4 years ago (2016-11-23 19:26:36 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/111388) ios-simulator on master.tryserver.chromium.mac (JOB_FAILED, ...
4 years ago (2016-11-23 19:29:57 UTC) #19
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/2512553007/120001
4 years ago (2016-11-23 19:56:27 UTC) #22
commit-bot: I haz the power
Committed patchset #6 (id:120001)
4 years ago (2016-11-23 21:39:45 UTC) #25
commit-bot: I haz the power
4 years ago (2016-11-23 21:41:59 UTC) #27
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/a9831524bf640f9a3eb7842e83fe6c4d3d13652e
Cr-Commit-Position: refs/heads/master@{#434254}

Powered by Google App Engine
This is Rietveld 408576698