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

Issue 1412803012: Revert "Indicate in the Window menu which Chrome window has an active sound playing" (Closed)

Created:
5 years, 1 month ago by vasilii
Modified:
5 years, 1 month ago
Reviewers:
shahriar, Robert Sesek
CC:
chromium-reviews, cschuet (SLOW)
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Revert "Indicate in the Window menu which Chrome window has an active sound playing" The patch broke compilation on Mac with SDK 10.11. In file included from ../../chrome/browser/ui/cocoa/browser_window_cocoa_unittest.mm:13: In file included from ../../chrome/browser/ui/cocoa/cocoa_profile_test.h:9: In file included from ../../chrome/browser/ui/cocoa/cocoa_test_helper.h:10: In file included from ../../ui/gfx/test/ui_cocoa_test_helper.h:14: In file included from ../../testing/platform_test.h:8: ../../testing/gtest/include/gtest/gtest.h:1392:16: error: comparison of integers of different signs: 'const unsigned long' and 'const long' [-Werror,-Wsign-compare] if (expected == actual) { ~~~~~~~~ ^ ~~~~~~ ../../testing/gtest/include/gtest/gtest.h:1422:12: note: in instantiation of function template specialization 'testing::internal::CmpHelperEQ<unsigned long, long>' requested here return CmpHelperEQ(expected_expression, actual_expression, expected, ^ ../../chrome/browser/ui/cocoa/browser_window_cocoa_unittest.mm:60:3: note: in instantiation of function template specialization 'testing::internal::EqHelper<false>::Compare<unsigned long, long>' requested here EXPECT_EQ([bwc->WindowTitle() rangeOfString:playing_emoji].location, ^ The constant NSNotFound is declared differently 10.10: enum {NSNotFound = NSIntegerMax}; 10.11: static const NSInteger NSNotFound = NSIntegerMax; This reverts commit 70d337daa152a75db530fa04214caba48ff39bd6. R=shahriar.rostami@gmail.com TBR=rsesek@chromium.org,miu@chromium.org Committed: https://crrev.com/00c4dceedd23e6a98df0e7104e28f3ba257208da Cr-Commit-Position: refs/heads/master@{#358331}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -278 lines) Patch
M chrome/app/generated_resources.grd View 1 chunk +0 lines, -6 lines 0 comments Download
M chrome/browser/ui/cocoa/browser_window_cocoa.h View 3 chunks +0 lines, -17 lines 0 comments Download
M chrome/browser/ui/cocoa/browser_window_cocoa.mm View 2 chunks +6 lines, -21 lines 0 comments Download
M chrome/browser/ui/cocoa/browser_window_cocoa_unittest.mm View 2 chunks +0 lines, -26 lines 0 comments Download
M chrome/browser/ui/cocoa/browser_window_controller.h View 2 chunks +0 lines, -8 lines 0 comments Download
M chrome/browser/ui/cocoa/browser_window_controller.mm View 1 chunk +0 lines, -9 lines 0 comments Download
M chrome/browser/ui/cocoa/tabs/tab_strip_controller.h View 2 chunks +0 lines, -15 lines 0 comments Download
M chrome/browser/ui/cocoa/tabs/tab_strip_controller.mm View 5 chunks +3 lines, -59 lines 0 comments Download
M chrome/browser/ui/cocoa/tabs/tab_strip_controller_unittest.mm View 6 chunks +1 line, -117 lines 0 comments Download

Messages

Total messages: 11 (3 generated)
vasilii
5 years, 1 month ago (2015-11-06 15:12:51 UTC) #1
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1412803012/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1412803012/1
5 years, 1 month ago (2015-11-06 15:16:14 UTC) #4
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years, 1 month ago (2015-11-06 15:59:48 UTC) #5
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/00c4dceedd23e6a98df0e7104e28f3ba257208da Cr-Commit-Position: refs/heads/master@{#358331}
5 years, 1 month ago (2015-11-06 16:00:54 UTC) #6
Robert Sesek
Was this broke on on a bot, if so which one? I don't think we ...
5 years, 1 month ago (2015-11-09 20:51:22 UTC) #8
vasilii
On 2015/11/09 20:51:22, Robert Sesek (OOO til 23.11) wrote: > Was this broke on on ...
5 years, 1 month ago (2015-11-10 09:11:04 UTC) #9
sdefresne
On 2015/11/10 at 09:11:04, vasilii wrote: > On 2015/11/09 20:51:22, Robert Sesek (OOO til 23.11) ...
5 years, 1 month ago (2015-11-12 09:08:00 UTC) #10
shahriar
5 years, 1 month ago (2015-11-12 17:16:18 UTC) #11
Message was sent while issue was closed.
On 2015/11/12 09:08:00, sdefresne wrote:
> On 2015/11/10 at 09:11:04, vasilii wrote:
> > On 2015/11/09 20:51:22, Robert Sesek (OOO til 23.11) wrote:
> > > Was this broke on on a bot, if so which one? I don't think we should be
> > > reverting CLs for breaking 10.11 SDK.
> > 
> > There is no bot. People have put an effort to make this work
> (http://crbug.com/517914,
>
https://groups.google.com/a/chromium.org/forum/?utm_source=digest&utm_medium=...).
> XCode 7 installs only the new SDK.
> 
> I had an approved CL to fix this: https://codereview.chromium.org/1411043009
> 
> I did not land it because I was asked to make some cosmetic changes and had to
> leave for an extended weekend. It can still be integrated into a reland of the
> CL.


@sdefresne
I applied that cosmetic change that you got on your CL, 
and mention it on the comments that I took the idea from your CL review:

https://codereview.chromium.org/1432803002/#msg13

I'm not sure if it's ethical or not to take that review from your CL.

Powered by Google App Engine
This is Rietveld 408576698