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

Issue 1432803002: Removed emojis from generated_resources.grd and update the code. (Closed)

Created:
5 years, 1 month ago by shahriar
Modified:
5 years, 1 month ago
Reviewers:
Robert Sesek
CC:
chromium-reviews, asanka, benjhayden+dwatch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Indicate in the Window menu which Chrome window has an active sound playing Continuing https://codereview.chromium.org/1412083002 but: Removed emojis from generated_resources.grd and update the code. Now we are keeping Emojis in the code rather than resource files. BUG=498288 TEST=Follow these steps (taken from bug report): 1. Open multiple Chrome windows (optionally with multiple tabs) 2. Play sound clip (e.g via youtube) on a given tab 3. Drop down the Window menu 4. It is also possible to mute the tab and see what will happen but chrome://flags/#enable-tab-audio-muting should be enable. Committed: https://crrev.com/eed68eca8150449bb6749bd7900320b2c0594f45 Cr-Commit-Position: refs/heads/master@{#361238}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Inlined emojis and remove accessors #

Total comments: 5

Patch Set 3 : Reflect recent review comments #

Patch Set 4 : Fixed the unit test build failure by casting NSNotFound #

Total comments: 3

Patch Set 5 : Applied some fixes based on the recent nits #

Total comments: 1

Patch Set 6 : Prevent leaking strings in the unit test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+282 lines, -11 lines) Patch
M chrome/app/generated_resources.grd View 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/browser_window_cocoa.h View 1 3 chunks +17 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/browser_window_cocoa.mm View 1 2 3 4 2 chunks +24 lines, -7 lines 0 comments Download
M chrome/browser/ui/cocoa/browser_window_cocoa_unittest.mm View 1 2 3 4 5 2 chunks +24 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/browser_window_controller.h View 2 chunks +8 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/browser_window_controller.mm View 1 chunk +9 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/tabs/tab_strip_controller.h View 1 2 2 chunks +15 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/tabs/tab_strip_controller.mm View 1 2 3 4 5 chunks +60 lines, -3 lines 0 comments Download
M chrome/browser/ui/cocoa/tabs/tab_strip_controller_unittest.mm View 1 2 6 chunks +119 lines, -1 line 0 comments Download

Messages

Total messages: 33 (9 generated)
shahriar
PTAL.
5 years, 1 month ago (2015-11-06 01:31:33 UTC) #3
Robert Sesek
https://codereview.chromium.org/1432803002/diff/1/chrome/browser/ui/cocoa/browser_window_cocoa.h File chrome/browser/ui/cocoa/browser_window_cocoa.h (right): https://codereview.chromium.org/1432803002/diff/1/chrome/browser/ui/cocoa/browser_window_cocoa.h#newcode183 chrome/browser/ui/cocoa/browser_window_cocoa.h:183: void UpdateMediaState(TabMediaState media_state); This part of your CL has ...
5 years, 1 month ago (2015-11-06 15:23:14 UTC) #5
shahriar
On 2015/11/06 15:23:14, Robert Sesek wrote: > https://codereview.chromium.org/1432803002/diff/1/chrome/browser/ui/cocoa/browser_window_cocoa.h > File chrome/browser/ui/cocoa/browser_window_cocoa.h (right): > > https://codereview.chromium.org/1432803002/diff/1/chrome/browser/ui/cocoa/browser_window_cocoa.h#newcode183 ...
5 years, 1 month ago (2015-11-09 04:01:03 UTC) #6
Robert Sesek
On 2015/11/09 04:01:03, shahriar wrote: > On 2015/11/06 15:23:14, Robert Sesek wrote: > > > ...
5 years, 1 month ago (2015-11-09 20:52:20 UTC) #7
shahriar
On 2015/11/09 20:52:20, Robert Sesek (OOO til 23.11) wrote: > On 2015/11/09 04:01:03, shahriar wrote: ...
5 years, 1 month ago (2015-11-09 23:31:18 UTC) #8
shahriar
On 2015/11/09 23:31:18, shahriar wrote: > On 2015/11/09 20:52:20, Robert Sesek (OOO til 23.11) wrote: ...
5 years, 1 month ago (2015-11-09 23:33:43 UTC) #9
Robert Sesek
On 2015/11/09 23:33:43, shahriar wrote: > For the build bot failure (last commit), should I ...
5 years, 1 month ago (2015-11-09 23:41:25 UTC) #10
shahriar
On 2015/11/09 23:41:25, Robert Sesek (OOO til 23.11) wrote: > On 2015/11/09 23:33:43, shahriar wrote: ...
5 years, 1 month ago (2015-11-10 00:47:56 UTC) #11
Robert Sesek
On 2015/11/10 00:47:56, shahriar wrote: > On 2015/11/09 23:41:25, Robert Sesek (OOO til 23.11) wrote: ...
5 years, 1 month ago (2015-11-11 22:33:12 UTC) #12
shahriar
On 2015/11/11 22:33:12, Robert Sesek (OOO til 23.11) wrote: > On 2015/11/10 00:47:56, shahriar wrote: ...
5 years, 1 month ago (2015-11-12 17:13:33 UTC) #13
Robert Sesek
I don't think you need to credit sdefresne@ since it's such a minor contribution, though ...
5 years, 1 month ago (2015-11-21 03:39:01 UTC) #14
shahriar
On 2015/11/21 03:39:01, Robert Sesek wrote: > I don't think you need to credit sdefresne@ ...
5 years, 1 month ago (2015-11-21 17:10:47 UTC) #15
Robert Sesek
https://codereview.chromium.org/1432803002/diff/80001/chrome/browser/ui/cocoa/browser_window_cocoa_unittest.mm File chrome/browser/ui/cocoa/browser_window_cocoa_unittest.mm (right): https://codereview.chromium.org/1432803002/diff/80001/chrome/browser/ui/cocoa/browser_window_cocoa_unittest.mm#newcode56 chrome/browser/ui/cocoa/browser_window_cocoa_unittest.mm:56: NSString* playing_emoji = [[NSString alloc] initWithString:@"🔊"]; This is now ...
5 years, 1 month ago (2015-11-23 16:25:17 UTC) #16
shahriar
On 2015/11/23 16:25:17, Robert Sesek wrote: > https://codereview.chromium.org/1432803002/diff/80001/chrome/browser/ui/cocoa/browser_window_cocoa_unittest.mm > File chrome/browser/ui/cocoa/browser_window_cocoa_unittest.mm (right): > > https://codereview.chromium.org/1432803002/diff/80001/chrome/browser/ui/cocoa/browser_window_cocoa_unittest.mm#newcode56 ...
5 years, 1 month ago (2015-11-23 16:51:56 UTC) #17
Robert Sesek
LGTM
5 years, 1 month ago (2015-11-23 17:21:18 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1432803002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1432803002/100001
5 years, 1 month ago (2015-11-23 17:22:52 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/132825)
5 years, 1 month ago (2015-11-23 18:44:38 UTC) #23
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1432803002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1432803002/100001
5 years, 1 month ago (2015-11-23 20:54:02 UTC) #25
shahriar
On 2015/11/23 18:44:38, commit-bot: I haz the power wrote: > Try jobs failed on following ...
5 years, 1 month ago (2015-11-23 21:08:21 UTC) #26
Robert Sesek
On 2015/11/23 21:08:21, shahriar wrote: > On 2015/11/23 18:44:38, commit-bot: I haz the power wrote: ...
5 years, 1 month ago (2015-11-23 21:22:07 UTC) #27
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/133024)
5 years, 1 month ago (2015-11-23 22:31:16 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1432803002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1432803002/100001
5 years, 1 month ago (2015-11-24 01:10:49 UTC) #31
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years, 1 month ago (2015-11-24 03:13:19 UTC) #32
commit-bot: I haz the power
5 years, 1 month ago (2015-11-24 03:14:25 UTC) #33
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/eed68eca8150449bb6749bd7900320b2c0594f45
Cr-Commit-Position: refs/heads/master@{#361238}

Powered by Google App Engine
This is Rietveld 408576698