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

Issue 2138183002: [ios] Added cr.isIOS function to use in WebUI pages. (Closed)

Created:
4 years, 5 months ago by Eugene But (OOO till 7-30)
Modified:
4 years, 5 months ago
Reviewers:
dpapad
CC:
chromium-reviews, oshima+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[ios] Added cr.isIOS function to use in WebUI pages. BUG=566163 CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/80b0ad017d10c202838700f768f7ec3ed439564c Cr-Commit-Position: refs/heads/master@{#405180}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Addressed review comment #

Total comments: 4

Patch Set 3 : Account for iPod hardware #

Patch Set 4 : Added missing comma, s/navigator.userAgent/navigator.platform #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -0 lines) Patch
M ui/webui/resources/js/cr.js View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (8 generated)
Eugene But (OOO till 7-30)
4 years, 5 months ago (2016-07-11 19:41:02 UTC) #3
dpapad
https://codereview.chromium.org/2138183002/diff/1/ui/webui/resources/js/cr.js File ui/webui/resources/js/cr.js (right): https://codereview.chromium.org/2138183002/diff/1/ui/webui/resources/js/cr.js#newcode482 ui/webui/resources/js/cr.js:482: return navigator.platform === 'iPhone' || navigator.platform === 'iPad'; Can ...
4 years, 5 months ago (2016-07-11 20:45:33 UTC) #4
Eugene But (OOO till 7-30)
https://codereview.chromium.org/2138183002/diff/1/ui/webui/resources/js/cr.js File ui/webui/resources/js/cr.js (right): https://codereview.chromium.org/2138183002/diff/1/ui/webui/resources/js/cr.js#newcode482 ui/webui/resources/js/cr.js:482: return navigator.platform === 'iPhone' || navigator.platform === 'iPad'; On ...
4 years, 5 months ago (2016-07-11 21:43:13 UTC) #5
dpapad
lgtm
4 years, 5 months ago (2016-07-11 21:48:35 UTC) #6
Dan Beam
https://codereview.chromium.org/2138183002/diff/20001/ui/webui/resources/js/cr.js File ui/webui/resources/js/cr.js (right): https://codereview.chromium.org/2138183002/diff/20001/ui/webui/resources/js/cr.js#newcode482 ui/webui/resources/js/cr.js:482: return /(iPhone|iPad)/.test(navigator.platform); why do you need capturing parens? /iPhone|iPad/ ...
4 years, 5 months ago (2016-07-11 21:49:05 UTC) #7
Dan Beam
https://codereview.chromium.org/2138183002/diff/20001/ui/webui/resources/js/cr.js File ui/webui/resources/js/cr.js (right): https://codereview.chromium.org/2138183002/diff/20001/ui/webui/resources/js/cr.js#newcode482 ui/webui/resources/js/cr.js:482: return /(iPhone|iPad)/.test(navigator.platform); On 2016/07/11 21:49:05, Dan Beam wrote: > ...
4 years, 5 months ago (2016-07-11 21:50:16 UTC) #8
Eugene But (OOO till 7-30)
Thanks everyone! https://codereview.chromium.org/2138183002/diff/20001/ui/webui/resources/js/cr.js File ui/webui/resources/js/cr.js (right): https://codereview.chromium.org/2138183002/diff/20001/ui/webui/resources/js/cr.js#newcode482 ui/webui/resources/js/cr.js:482: return /(iPhone|iPad)/.test(navigator.platform); On 2016/07/11 21:50:15, Dan Beam ...
4 years, 5 months ago (2016-07-11 22:00:54 UTC) #9
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/2138183002/40001
4 years, 5 months ago (2016-07-12 02:50:39 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: closure_compilation on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/closure_compilation/builds/960)
4 years, 5 months ago (2016-07-12 03:05:11 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/2138183002/60001
4 years, 5 months ago (2016-07-13 15:41:18 UTC) #17
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 5 months ago (2016-07-13 16:25:06 UTC) #18
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-13 16:25:22 UTC) #19
commit-bot: I haz the power
4 years, 5 months ago (2016-07-13 16:28:36 UTC) #21
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/80b0ad017d10c202838700f768f7ec3ed439564c
Cr-Commit-Position: refs/heads/master@{#405180}

Powered by Google App Engine
This is Rietveld 408576698