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

Issue 8724004: [Mac] Move ScopedSendingEvent from content/common/mac to base/mac. (Closed)

Created:
9 years ago by Scott Hess - ex-Googler
Modified:
9 years ago
CC:
chromium-reviews, hayato
Visibility:
Public.

Description

[Mac] Move ScopedSendingEvent from content/common/mac to base/mac. Also merge content/ MockCrControlApp into base/ MockCrApp. Also use MockCrApp in test_shell_tests, and slight tweak to autorelease pool in test_shell's initialization. BUG=102224 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=112578

Patch Set 1 #

Total comments: 7

Patch Set 2 : rsesek formatting nit. #

Patch Set 3 : Remove scoped_sending_events.h dependency. #

Total comments: 2

Patch Set 4 : Use MockCrApp in test_shell_tests. #

Patch Set 5 : Add CrAppControlProtocol support to CrDrtApplication #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+77 lines, -236 lines) Patch
M base/base.gyp View 1 chunk +1 line, -0 lines 0 comments Download
M base/base.gypi View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
A + base/mac/scoped_sending_event.h View 3 chunks +5 lines, -5 lines 0 comments Download
A + base/mac/scoped_sending_event.mm View 2 chunks +3 lines, -3 lines 0 comments Download
A + base/mac/scoped_sending_event_unittest.mm View 3 chunks +4 lines, -4 lines 0 comments Download
M base/test/mock_chrome_application_mac.h View 1 2 3 2 chunks +11 lines, -5 lines 0 comments Download
M base/test/mock_chrome_application_mac.mm View 1 chunk +22 lines, -6 lines 0 comments Download
M chrome/browser/DEPS View 1 2 3 1 chunk +4 lines, -1 line 0 comments Download
M chrome/browser/chrome_browser_application_mac.mm View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/tab_contents/render_view_context_menu_mac.mm View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/tab_contents/tab_contents_view_mac.mm View 3 chunks +2 lines, -2 lines 0 comments Download
M content/browser/tab_contents/popup_menu_helper_mac.mm View 2 chunks +2 lines, -2 lines 0 comments Download
M content/common/chrome_application_mac.h View 1 chunk +1 line, -1 line 0 comments Download
M content/common/chrome_application_mac.mm View 1 chunk +1 line, -1 line 0 comments Download
D content/common/mac/scoped_sending_event.h View 1 chunk +0 lines, -49 lines 0 comments Download
D content/common/mac/scoped_sending_event.mm View 1 chunk +0 lines, -24 lines 0 comments Download
D content/common/mac/scoped_sending_event_unittest.mm View 1 chunk +0 lines, -38 lines 0 comments Download
M content/content_common.gypi View 1 2 3 1 chunk +0 lines, -2 lines 0 comments Download
M content/content_tests.gypi View 1 2 3 2 chunks +0 lines, -4 lines 2 comments Download
M content/test/content_test_suite.cc View 2 chunks +0 lines, -2 lines 0 comments Download
D content/test/mock_chrome_application_mac.h View 1 chunk +0 lines, -32 lines 0 comments Download
D content/test/mock_chrome_application_mac.mm View 1 chunk +0 lines, -28 lines 0 comments Download
M webkit/support/drt_application_mac.h View 1 2 3 4 1 chunk +7 lines, -1 line 0 comments Download
M webkit/support/drt_application_mac.mm View 1 2 3 4 1 chunk +5 lines, -0 lines 0 comments Download
M webkit/tools/test_shell/test_shell_platform_delegate_mac.mm View 1 2 3 3 chunks +4 lines, -23 lines 0 comments Download

Messages

Total messages: 19 (0 generated)
Scott Hess - ex-Googler
jam@ as the implicated content/common/OWNERS rep. rsesek@ for all that the offline thread isn't going ...
9 years ago (2011-11-29 20:42:59 UTC) #1
Robert Sesek
http://codereview.chromium.org/8724004/diff/1/base/test/mock_chrome_application_mac.h File base/test/mock_chrome_application_mac.h (right): http://codereview.chromium.org/8724004/diff/1/base/test/mock_chrome_application_mac.h#newcode20 base/test/mock_chrome_application_mac.h:20: @interface MockCrApp : NSApplication<CrAppProtocol,CrAppControlProtocol> { nit: break after ',' ...
9 years ago (2011-11-29 22:41:55 UTC) #2
jam
lgtm, thanks for doing this so will chrome_application_mac.h be moved elsewhere in a separate patch?
9 years ago (2011-11-29 23:20:19 UTC) #3
Scott Hess - ex-Googler
http://codereview.chromium.org/8724004/diff/1/base/test/mock_chrome_application_mac.h File base/test/mock_chrome_application_mac.h (right): http://codereview.chromium.org/8724004/diff/1/base/test/mock_chrome_application_mac.h#newcode20 base/test/mock_chrome_application_mac.h:20: @interface MockCrApp : NSApplication<CrAppProtocol,CrAppControlProtocol> { On 2011/11/29 22:41:56, rsesek ...
9 years ago (2011-11-29 23:22:58 UTC) #4
Scott Hess - ex-Googler
On Tue, Nov 29, 2011 at 3:20 PM, <jam@chromium.org> wrote: > lgtm, thanks for doing ...
9 years ago (2011-11-29 23:25:12 UTC) #5
jam
On 2011/11/29 23:25:12, shess wrote: > On Tue, Nov 29, 2011 at 3:20 PM, <mailto:jam@chromium.org> ...
9 years ago (2011-11-29 23:29:01 UTC) #6
Scott Hess - ex-Googler
On 2011/11/29 23:29:01, John Abd-El-Malek wrote: > sgtm. please update chrome/browser/DEPS to remove the scoped_sending_event.h ...
9 years ago (2011-11-30 00:32:58 UTC) #7
Robert Sesek
lgtm http://codereview.chromium.org/8724004/diff/1/base/test/mock_chrome_application_mac.h File base/test/mock_chrome_application_mac.h (right): http://codereview.chromium.org/8724004/diff/1/base/test/mock_chrome_application_mac.h#newcode20 base/test/mock_chrome_application_mac.h:20: @interface MockCrApp : NSApplication<CrAppProtocol,CrAppControlProtocol> { On 2011/11/29 23:22:58, ...
9 years ago (2011-11-30 15:29:44 UTC) #8
Scott Hess - ex-Googler
On 2011/11/30 15:29:44, rsesek wrote: > lgtm In case things go awry and some sheriff ...
9 years ago (2011-11-30 17:19:54 UTC) #9
Scott Hess - ex-Googler
[Damn. It. OWNERS, how does it work?] Mark, Nico, I need a base/ OWNERS approval ...
9 years ago (2011-11-30 17:30:30 UTC) #10
Nico
lgtm stamp. Thanks for working on this! http://codereview.chromium.org/8724004/diff/7001/base/test/mock_chrome_application_mac.mm File base/test/mock_chrome_application_mac.mm (left): http://codereview.chromium.org/8724004/diff/7001/base/test/mock_chrome_application_mac.mm#oldcode21 base/test/mock_chrome_application_mac.mm:21: // this ...
9 years ago (2011-11-30 18:04:13 UTC) #11
Scott Hess - ex-Googler
Unfortunately, the original landing of this was reverted by hayato@ because it was breaking test_shell. ...
9 years ago (2011-12-01 19:28:51 UTC) #12
Mark Mentovai
LGTM for OWNERS approval wherever you need it.
9 years ago (2011-12-01 19:32:30 UTC) #13
tony
LGTM stamp for webkit/tools/test_shell/
9 years ago (2011-12-01 19:35:56 UTC) #14
Scott Hess - ex-Googler
On 2011/12/01 19:35:56, tony wrote: > LGTM stamp for webkit/tools/test_shell/ Sigh. webkit_unit_tests also affected. I'll ...
9 years ago (2011-12-01 20:36:39 UTC) #15
Scott Hess - ex-Googler
On 2011/12/01 20:36:39, shess wrote: > On 2011/12/01 19:35:56, tony wrote: > > LGTM stamp ...
9 years ago (2011-12-01 22:00:12 UTC) #16
dvyukov
http://codereview.chromium.org/8724004/diff/20006/content/content_tests.gypi File content/content_tests.gypi (left): http://codereview.chromium.org/8724004/diff/20006/content/content_tests.gypi#oldcode231 content/content_tests.gypi:231: 'common/gamepad_seqlock_unittest.cc', What is the reason to remove gamepad_seqlock_unittest.cc? I ...
9 years ago (2011-12-08 12:11:01 UTC) #17
Scott Hess - ex-Googler
http://codereview.chromium.org/8724004/diff/20006/content/content_tests.gypi File content/content_tests.gypi (left): http://codereview.chromium.org/8724004/diff/20006/content/content_tests.gypi#oldcode231 content/content_tests.gypi:231: 'common/gamepad_seqlock_unittest.cc', On 2011/12/08 12:11:01, dvyukov wrote: > What is ...
9 years ago (2011-12-08 14:29:45 UTC) #18
dvyukov
9 years ago (2011-12-08 14:37:33 UTC) #19
On 2011/12/08 14:29:45, shess wrote:
> http://codereview.chromium.org/8724004/diff/20006/content/content_tests.gypi
> File content/content_tests.gypi (left):
> 
>
http://codereview.chromium.org/8724004/diff/20006/content/content_tests.gypi#...
> content/content_tests.gypi:231: 'common/gamepad_seqlock_unittest.cc',
> On 2011/12/08 12:11:01, dvyukov wrote:
> > What is the reason to remove gamepad_seqlock_unittest.cc?
> > I am going to add it back in http://codereview.chromium.org/8772004/
> 
> Holy Broken Merge, Batman!  I'm sorry about that - it was entirely
> unintentional.  Let me know if you want me to push it back in before the other
> CL.

No problem, I've already included it in my CL that I am going to submit soon...
I just need to fix that mess that merge done with my CL :)

Powered by Google App Engine
This is Rietveld 408576698