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

Issue 734243003: Adding the chrome://copresence page (Closed)

Created:
6 years ago by Charlie
Modified:
6 years ago
Reviewers:
rkc, xiyuan, sky, Dan Beam
CC:
chromium-reviews, arv+watch_chromium.org, abunner_google.com
Base URL:
https://chromium.googlesource.com/chromium/src.git@state
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Adding the chrome://copresence page. Initially this will just have debug info, but soon we need to add some settings too. BUG=420889 Committed: https://crrev.com/92c8e4e90f364f4db499b0edc8d9d491fdaa064a Cr-Commit-Position: refs/heads/master@{#309353}

Patch Set 1 #

Total comments: 27

Patch Set 2 : #

Total comments: 1

Patch Set 3 : #

Patch Set 4 : #

Total comments: 2

Patch Set 5 : Fixing BUILD.gn #

Total comments: 2

Patch Set 6 : BUILD.gn tweak #

Total comments: 21

Patch Set 7 : #

Patch Set 8 : #

Patch Set 9 : #

Total comments: 44

Patch Set 10 : Addressing review comments #

Patch Set 11 : Fixing compile errors #

Total comments: 4

Patch Set 12 : #

Patch Set 13 : #

Total comments: 1

Patch Set 14 : #

Total comments: 2

Patch Set 15 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+636 lines, -2 lines) Patch
M chrome/app/generated_resources.grd View 1 chunk +39 lines, -0 lines 0 comments Download
M chrome/browser/browser_resources.grd View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +5 lines, -0 lines 0 comments Download
A chrome/browser/resources/copresence.css View 1 2 3 4 5 6 7 8 9 10 1 chunk +69 lines, -0 lines 0 comments Download
A chrome/browser/resources/copresence.html View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +71 lines, -0 lines 0 comments Download
A chrome/browser/resources/copresence.js View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +107 lines, -0 lines 0 comments Download
M chrome/browser/ui/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +4 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc View 1 2 3 4 5 6 7 8 9 2 chunks +3 lines, -0 lines 0 comments Download
A chrome/browser/ui/webui/copresence_ui.h View 1 1 chunk +20 lines, -0 lines 0 comments Download
A chrome/browser/ui/webui/copresence_ui.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +66 lines, -0 lines 0 comments Download
A chrome/browser/ui/webui/copresence_ui_handler.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +49 lines, -0 lines 0 comments Download
A chrome/browser/ui/webui/copresence_ui_handler.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +182 lines, -0 lines 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/common/url_constants.h View 1 2 3 4 5 6 7 8 9 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/common/url_constants.cc View 1 2 3 4 5 6 7 8 9 3 chunks +10 lines, -0 lines 0 comments Download
M components/copresence/copresence_state_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -0 lines 0 comments Download
M tools/gritsettings/resource_ids View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 52 (10 generated)
Charlie
This depends on https://codereview.chromium.org/764673003. Would a browsertest or unittest make more sense?
6 years ago (2014-12-05 03:08:59 UTC) #2
xiyuan
https://codereview.chromium.org/734243003/diff/1/chrome/browser/resources/copresence.css File chrome/browser/resources/copresence.css (right): https://codereview.chromium.org/734243003/diff/1/chrome/browser/resources/copresence.css#newcode6 chrome/browser/resources/copresence.css:6: background-color: white; nit: not necessary, default bg color is ...
6 years ago (2014-12-05 18:56:56 UTC) #3
rkc
https://codereview.chromium.org/734243003/diff/1/chrome/browser/ui/webui/copresence_ui_handler.cc File chrome/browser/ui/webui/copresence_ui_handler.cc (right): https://codereview.chromium.org/734243003/diff/1/chrome/browser/ui/webui/copresence_ui_handler.cc#newcode40 chrome/browser/ui/webui/copresence_ui_handler.cc:40: return "Broadcast"; Any reason we aren't just sticking with ...
6 years ago (2014-12-05 19:46:36 UTC) #4
Charlie
+sky for reviews of: chrome/browser/browser_resources.grd chrome/browser/ui/BUILD.gn https://codereview.chromium.org/734243003/diff/1/chrome/browser/resources/copresence.css File chrome/browser/resources/copresence.css (right): https://codereview.chromium.org/734243003/diff/1/chrome/browser/resources/copresence.css#newcode6 chrome/browser/resources/copresence.css:6: background-color: white; On ...
6 years ago (2014-12-05 21:26:09 UTC) #6
rkc
lgtm % (comment and xiyuan's lgtm) https://codereview.chromium.org/734243003/diff/20001/chrome/browser/ui/webui/copresence_ui_handler.cc File chrome/browser/ui/webui/copresence_ui_handler.cc (right): https://codereview.chromium.org/734243003/diff/20001/chrome/browser/ui/webui/copresence_ui_handler.cc#newcode40 chrome/browser/ui/webui/copresence_ui_handler.cc:40: return "Send"; We ...
6 years ago (2014-12-05 21:36:34 UTC) #7
xiyuan
I would like get Dan's thoughts on adopting the "Omit optional tags" rule in chromium ...
6 years ago (2014-12-05 22:38:01 UTC) #9
Charlie
Xiyuan, I made some small HTML/CSS changes. Let me know if there are any problems. ...
6 years ago (2014-12-05 23:02:37 UTC) #10
xiyuan
On 2014/12/05 23:02:37, Charlie wrote: > Xiyuan, I made some small HTML/CSS changes. Let me ...
6 years ago (2014-12-05 23:16:46 UTC) #11
sky
https://codereview.chromium.org/734243003/diff/60001/chrome/browser/ui/BUILD.gn File chrome/browser/ui/BUILD.gn (right): https://codereview.chromium.org/734243003/diff/60001/chrome/browser/ui/BUILD.gn#newcode412 chrome/browser/ui/BUILD.gn:412: if (!is_ios && !is_android) { Move to block on ...
6 years ago (2014-12-05 23:51:51 UTC) #12
Charlie
https://codereview.chromium.org/734243003/diff/60001/chrome/browser/ui/BUILD.gn File chrome/browser/ui/BUILD.gn (right): https://codereview.chromium.org/734243003/diff/60001/chrome/browser/ui/BUILD.gn#newcode412 chrome/browser/ui/BUILD.gn:412: if (!is_ios && !is_android) { On 2014/12/05 23:51:51, sky ...
6 years ago (2014-12-06 00:48:20 UTC) #13
Dan Beam
2 out of the 3 style guide[1] maintainers agree: omitting "rootier" end tags (e.g. <html>, ...
6 years ago (2014-12-06 01:39:18 UTC) #14
Charlie
On 2014/12/06 01:39:18, Dan Beam wrote: > 2 out of the 3 style guide[1] maintainers ...
6 years ago (2014-12-06 01:51:15 UTC) #15
sky
LGTM https://codereview.chromium.org/734243003/diff/80001/chrome/browser/ui/BUILD.gn File chrome/browser/ui/BUILD.gn (right): https://codereview.chromium.org/734243003/diff/80001/chrome/browser/ui/BUILD.gn#newcode132 chrome/browser/ui/BUILD.gn:132: deps += [ "//device/bluetooth", "//components/copresence" ] I believe ...
6 years ago (2014-12-06 21:19:49 UTC) #16
Charlie
https://codereview.chromium.org/734243003/diff/80001/chrome/browser/ui/BUILD.gn File chrome/browser/ui/BUILD.gn (right): https://codereview.chromium.org/734243003/diff/80001/chrome/browser/ui/BUILD.gn#newcode132 chrome/browser/ui/BUILD.gn:132: deps += [ "//device/bluetooth", "//components/copresence" ] On 2014/12/06 21:19:49, ...
6 years ago (2014-12-08 05:37:57 UTC) #17
Dan Beam
On 2014/12/06 01:51:15, Charlie wrote: > On 2014/12/06 01:39:18, Dan Beam wrote: > > 2 ...
6 years ago (2014-12-08 22:28:55 UTC) #18
Dan Beam
https://codereview.chromium.org/734243003/diff/100001/chrome/browser/resources/copresence.css File chrome/browser/resources/copresence.css (right): https://codereview.chromium.org/734243003/diff/100001/chrome/browser/resources/copresence.css#newcode7 chrome/browser/resources/copresence.css:7: font-family: Helvetica,Arial,sans-serif; you should include chrome_shared.css instead https://codereview.chromium.org/734243003/diff/100001/chrome/browser/resources/copresence.css#newcode64 chrome/browser/resources/copresence.css:64: ...
6 years ago (2014-12-08 22:41:59 UTC) #19
Charlie
On 2014/12/08 22:28:55, Dan Beam wrote: > On 2014/12/06 01:51:15, Charlie wrote: > > On ...
6 years ago (2014-12-08 22:46:34 UTC) #20
Charlie
https://codereview.chromium.org/734243003/diff/100001/chrome/browser/resources/copresence.css File chrome/browser/resources/copresence.css (right): https://codereview.chromium.org/734243003/diff/100001/chrome/browser/resources/copresence.css#newcode7 chrome/browser/resources/copresence.css:7: font-family: Helvetica,Arial,sans-serif; On 2014/12/08 22:41:59, Dan Beam wrote: > ...
6 years ago (2014-12-08 23:10:46 UTC) #21
Charlie
On 2014/12/08 23:10:46, Charlie wrote: > https://codereview.chromium.org/734243003/diff/100001/chrome/browser/resources/copresence.css > File chrome/browser/resources/copresence.css (right): > > https://codereview.chromium.org/734243003/diff/100001/chrome/browser/resources/copresence.css#newcode7 > ...
6 years ago (2014-12-08 23:11:56 UTC) #22
Charlie
https://codereview.chromium.org/734243003/diff/100001/chrome/browser/resources/copresence.js File chrome/browser/resources/copresence.js (right): https://codereview.chromium.org/734243003/diff/100001/chrome/browser/resources/copresence.js#newcode7 chrome/browser/resources/copresence.js:7: * @param {Array.<Object>} directives On 2014/12/08 22:41:59, Dan Beam ...
6 years ago (2014-12-08 23:37:07 UTC) #23
Dan Beam
https://codereview.chromium.org/734243003/diff/100001/chrome/browser/resources/copresence.js File chrome/browser/resources/copresence.js (right): https://codereview.chromium.org/734243003/diff/100001/chrome/browser/resources/copresence.js#newcode7 chrome/browser/resources/copresence.js:7: * @param {Array.<Object>} directives On 2014/12/08 23:37:07, Charlie wrote: ...
6 years ago (2014-12-08 23:52:56 UTC) #24
Charlie
On 2014/12/08 23:52:56, Dan Beam wrote: > https://codereview.chromium.org/734243003/diff/100001/chrome/browser/resources/copresence.js > File chrome/browser/resources/copresence.js (right): > > https://codereview.chromium.org/734243003/diff/100001/chrome/browser/resources/copresence.js#newcode7 ...
6 years ago (2014-12-09 00:28:15 UTC) #25
Dan Beam
On 2014/12/09 00:28:15, Charlie wrote: > On 2014/12/08 23:52:56, Dan Beam wrote: > > > ...
6 years ago (2014-12-09 00:37:57 UTC) #26
Charlie
On 2014/12/09 00:37:57, Dan Beam wrote: > On 2014/12/09 00:28:15, Charlie wrote: > > On ...
6 years ago (2014-12-09 00:45:32 UTC) #27
Dan Beam
https://codereview.chromium.org/734243003/diff/160001/chrome/browser/resources/copresence.css File chrome/browser/resources/copresence.css (right): https://codereview.chromium.org/734243003/diff/160001/chrome/browser/resources/copresence.css#newcode6 chrome/browser/resources/copresence.css:6: font-size: 10pt; nit: please match the rest of webui ...
6 years ago (2014-12-09 05:33:39 UTC) #28
Charlie
Synced to head. (Well, yesterday's head.) Sorry for the churn. https://codereview.chromium.org/734243003/diff/160001/chrome/browser/resources/copresence.css File chrome/browser/resources/copresence.css (right): https://codereview.chromium.org/734243003/diff/160001/chrome/browser/resources/copresence.css#newcode6 ...
6 years ago (2014-12-17 23:39:56 UTC) #29
Charlie
On 2014/12/17 23:39:56, Charlie wrote: > Synced to head. (Well, yesterday's head.) Sorry for the ...
6 years ago (2014-12-19 15:45:42 UTC) #30
xiyuan
LGTM
6 years ago (2014-12-19 22:55:51 UTC) #31
Dan Beam
https://codereview.chromium.org/734243003/diff/160001/chrome/browser/ui/webui/copresence_ui_handler.h File chrome/browser/ui/webui/copresence_ui_handler.h (right): https://codereview.chromium.org/734243003/diff/160001/chrome/browser/ui/webui/copresence_ui_handler.h#newcode27 chrome/browser/ui/webui/copresence_ui_handler.h:27: // TODO(ckehoe): Write tests. On 2014/12/17 23:39:56, Charlie wrote: ...
6 years ago (2014-12-20 00:10:29 UTC) #32
Dan Beam
+adlr -- why wouldn't this code benefit from having tests like the rest of chrome? ...
6 years ago (2014-12-20 00:15:40 UTC) #35
chromium-reviews
I think you got the wrong manager. Mine is +Andrew Bunner <abunner@google.com>​. On Fri Dec ...
6 years ago (2014-12-20 00:16:53 UTC) #36
Dan Beam
whoops, -adlr, +abunner
6 years ago (2014-12-20 00:20:40 UTC) #37
Charlie
Andrew and I are planning to be out the next two weeks for the holidays. ...
6 years ago (2014-12-20 02:04:51 UTC) #38
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/734243003/260001
6 years ago (2014-12-20 02:06:28 UTC) #40
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_gn_dbg on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_dbg/builds/28224)
6 years ago (2014-12-20 02:17:53 UTC) #42
Dan Beam
https://codereview.chromium.org/734243003/diff/260001/chrome/browser/ui/webui/copresence_ui_handler.cc File chrome/browser/ui/webui/copresence_ui_handler.cc (right): https://codereview.chromium.org/734243003/diff/260001/chrome/browser/ui/webui/copresence_ui_handler.cc#newcode62 chrome/browser/ui/webui/copresence_ui_handler.cc:62: } I meant remove the default: and add a ...
6 years ago (2014-12-20 03:44:20 UTC) #43
Charlie
https://codereview.chromium.org/734243003/diff/260001/chrome/browser/ui/webui/copresence_ui_handler.cc File chrome/browser/ui/webui/copresence_ui_handler.cc (right): https://codereview.chromium.org/734243003/diff/260001/chrome/browser/ui/webui/copresence_ui_handler.cc#newcode62 chrome/browser/ui/webui/copresence_ui_handler.cc:62: } On 2014/12/20 03:44:20, Dan Beam wrote: > I ...
6 years ago (2014-12-20 06:53:35 UTC) #44
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/734243003/280001
6 years ago (2014-12-20 07:02:45 UTC) #46
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on tryserver.chromium.win (http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/10406)
6 years ago (2014-12-20 08:30:01 UTC) #48
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/734243003/280001
6 years ago (2014-12-20 16:59:32 UTC) #50
commit-bot: I haz the power
Committed patchset #15 (id:280001)
6 years ago (2014-12-20 17:00:37 UTC) #51
commit-bot: I haz the power
6 years ago (2014-12-20 17:01:24 UTC) #52
Message was sent while issue was closed.
Patchset 15 (id:??) landed as
https://crrev.com/92c8e4e90f364f4db499b0edc8d9d491fdaa064a
Cr-Commit-Position: refs/heads/master@{#309353}

Powered by Google App Engine
This is Rietveld 408576698