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

Issue 8212006: base::Bind: Cleanup in automation. (Closed)

Created:
9 years, 2 months ago by James Hawkins
Modified:
9 years, 2 months ago
CC:
chromium-reviews, kkania, Paweł Hajdan Jr.
Visibility:
Public.

Description

base::Bind: Cleanup in automation. BUG=none TEST=none R=csilv@chromium.org Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=105761

Patch Set 1 #

Patch Set 2 : Build fixes 1. #

Total comments: 3

Patch Set 3 : Linux test fixes. #

Total comments: 10

Patch Set 4 : Win fix. #

Patch Set 5 : Review fixes. #

Patch Set 6 : Review fixes. #

Total comments: 14

Patch Set 7 : Mac build fixes. #

Total comments: 8

Patch Set 8 : Hopefully final fixes. #

Patch Set 9 : Win build fix. #

Patch Set 10 : Views test fixes. #

Patch Set 11 : Rebase. #

Total comments: 2

Patch Set 12 : Review fixes. #

Patch Set 13 : Build fix. #

Patch Set 14 : Mac build fix. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+251 lines, -310 lines) Patch
M base/message_loop.h View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +9 lines, -5 lines 0 comments Download
M base/message_loop.cc View 1 2 3 4 5 6 7 8 9 10 11 5 chunks +10 lines, -4 lines 0 comments Download
M chrome/browser/automation/automation_provider_gtk.cc View 1 2 3 4 5 6 7 4 chunks +33 lines, -88 lines 0 comments Download
M chrome/browser/automation/automation_provider_win.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/automation/automation_resource_message_filter.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/automation/automation_resource_message_filter.cc View 8 chunks +11 lines, -20 lines 0 comments Download
M chrome/browser/automation/automation_util.cc View 6 chunks +15 lines, -19 lines 0 comments Download
M chrome/browser/automation/testing_automation_provider.cc View 1 2 3 4 5 6 7 8 9 10 3 chunks +6 lines, -5 lines 0 comments Download
M chrome/browser/automation/testing_automation_provider_views.cc View 4 chunks +6 lines, -6 lines 0 comments Download
M chrome/browser/automation/ui_controls.h View 1 2 5 chunks +12 lines, -12 lines 0 comments Download
M chrome/browser/automation/ui_controls_gtk.cc View 1 2 3 4 5 6 7 8 chunks +16 lines, -14 lines 0 comments Download
M chrome/browser/automation/ui_controls_internal.h View 1 2 3 4 1 chunk +4 lines, -16 lines 0 comments Download
M chrome/browser/automation/ui_controls_internal.cc View 1 2 3 4 1 chunk +4 lines, -10 lines 0 comments Download
M chrome/browser/automation/ui_controls_mac.mm View 1 2 3 4 5 6 7 8 9 10 11 12 13 9 chunks +42 lines, -40 lines 0 comments Download
M chrome/browser/automation/ui_controls_win.cc View 1 2 3 4 12 chunks +26 lines, -21 lines 0 comments Download
M chrome/browser/automation/url_request_automation_job.h View 3 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/automation/url_request_automation_job.cc View 6 chunks +7 lines, -8 lines 0 comments Download
M chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc View 1 2 3 4 5 6 7 8 9 10 16 chunks +19 lines, -16 lines 0 comments Download
M chrome/browser/ui/views/menu_item_view_test.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/ui/views/menu_model_adapter_test.cc View 1 2 3 4 5 6 7 8 9 10 3 chunks +3 lines, -2 lines 0 comments Download
M chrome/test/base/ui_test_utils.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/base/ui_test_utils_gtk.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/base/ui_test_utils_mac.mm View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/base/ui_test_utils_win.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/base/view_event_test_base.h View 1 2 3 4 5 6 7 8 9 10 11 12 4 chunks +7 lines, -8 lines 0 comments Download
M chrome/test/base/view_event_test_base.cc View 1 2 3 4 5 6 7 8 9 6 chunks +9 lines, -7 lines 0 comments Download

Messages

Total messages: 22 (0 generated)
James Hawkins
9 years, 2 months ago (2011-10-09 15:47:14 UTC) #1
csilv
Need to also include: ui_test_utils_mac.mm automation_provider_win.cc
9 years, 2 months ago (2011-10-10 17:29:44 UTC) #2
csilv
http://codereview.chromium.org/8212006/diff/4001/chrome/browser/automation/automation_provider_gtk.cc File chrome/browser/automation/automation_provider_gtk.cc (right): http://codereview.chromium.org/8212006/diff/4001/chrome/browser/automation/automation_provider_gtk.cc#newcode137 chrome/browser/automation/automation_provider_gtk.cc:137: task = &task5; This looks problematic. 'task' will point ...
9 years, 2 months ago (2011-10-10 18:36:47 UTC) #3
James Hawkins
+ajwong Made a ton of changes, please take another look.
9 years, 2 months ago (2011-10-11 00:49:45 UTC) #4
awong
Nice! Got a few comments. One that is critical. http://codereview.chromium.org/8212006/diff/7002/chrome/browser/automation/automation_provider_gtk.cc File chrome/browser/automation/automation_provider_gtk.cc (right): http://codereview.chromium.org/8212006/diff/7002/chrome/browser/automation/automation_provider_gtk.cc#newcode87 chrome/browser/automation/automation_provider_gtk.cc:87: ...
9 years, 2 months ago (2011-10-11 01:18:04 UTC) #5
James Hawkins
http://codereview.chromium.org/8212006/diff/7002/chrome/browser/automation/automation_provider_gtk.cc File chrome/browser/automation/automation_provider_gtk.cc (right): http://codereview.chromium.org/8212006/diff/7002/chrome/browser/automation/automation_provider_gtk.cc#newcode87 chrome/browser/automation/automation_provider_gtk.cc:87: task = &task5; On 2011/10/11 01:18:04, awong wrote: > ...
9 years, 2 months ago (2011-10-11 21:11:22 UTC) #6
csilv
http://codereview.chromium.org/8212006/diff/12001/chrome/browser/automation/automation_provider_gtk.cc File chrome/browser/automation/automation_provider_gtk.cc (right): http://codereview.chromium.org/8212006/diff/12001/chrome/browser/automation/automation_provider_gtk.cc#newcode28 chrome/browser/automation/automation_provider_gtk.cc:28: void WindowDragResponse(AutomationProvider* provider, maybe 'SendWindowDragResponse' would be a better ...
9 years, 2 months ago (2011-10-11 21:48:00 UTC) #7
James Hawkins
http://codereview.chromium.org/8212006/diff/12001/chrome/browser/automation/automation_provider_gtk.cc File chrome/browser/automation/automation_provider_gtk.cc (right): http://codereview.chromium.org/8212006/diff/12001/chrome/browser/automation/automation_provider_gtk.cc#newcode28 chrome/browser/automation/automation_provider_gtk.cc:28: void WindowDragResponse(AutomationProvider* provider, On 2011/10/11 21:48:00, csilv wrote: > ...
9 years, 2 months ago (2011-10-11 21:54:20 UTC) #8
csilv
http://codereview.chromium.org/8212006/diff/11002/chrome/browser/automation/ui_controls_mac.mm File chrome/browser/automation/ui_controls_mac.mm (right): http://codereview.chromium.org/8212006/diff/11002/chrome/browser/automation/ui_controls_mac.mm#newcode306 chrome/browser/automation/ui_controls_mac.mm:306: return (SendMouseEventsNotifyWhenDone(type, DOWN, NULL) && NULL -> base::Closure()
9 years, 2 months ago (2011-10-11 22:20:52 UTC) #9
awong
the big chain looks much nicer. :) Here's a few more comments. http://codereview.chromium.org/8212006/diff/11002/chrome/browser/automation/automation_provider_gtk.cc File chrome/browser/automation/automation_provider_gtk.cc ...
9 years, 2 months ago (2011-10-12 08:20:03 UTC) #10
James Hawkins
http://codereview.chromium.org/8212006/diff/11002/chrome/browser/automation/automation_provider_gtk.cc File chrome/browser/automation/automation_provider_gtk.cc (right): http://codereview.chromium.org/8212006/diff/11002/chrome/browser/automation/automation_provider_gtk.cc#newcode36 chrome/browser/automation/automation_provider_gtk.cc:36: void SendMouseEventsNotifyWhenDoneWithoutResult( On 2011/10/12 08:20:03, awong wrote: > Do ...
9 years, 2 months ago (2011-10-12 17:12:39 UTC) #11
awong
LGTM
9 years, 2 months ago (2011-10-12 17:15:33 UTC) #12
csilv
lgtm
9 years, 2 months ago (2011-10-12 20:51:32 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jhawkins@chromium.org/8212006/23001
9 years, 2 months ago (2011-10-13 02:44:57 UTC) #14
commit-bot: I haz the power
Can't apply patch for file chrome/browser/ui/views/menu_item_view_test.cc. While running patch -p1 --forward --force; patching file chrome/browser/ui/views/menu_item_view_test.cc ...
9 years, 2 months ago (2011-10-13 02:45:03 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jhawkins@chromium.org/8212006/29001
9 years, 2 months ago (2011-10-16 02:05:09 UTC) #16
commit-bot: I haz the power
Presubmit check for 8212006-29001 failed and returned exit status 1. Running presubmit commit checks ...
9 years, 2 months ago (2011-10-16 02:05:17 UTC) #17
James Hawkins
+willchan for base/ approval. I'd git cl dcommit -f, but I can't connect to my ...
9 years, 2 months ago (2011-10-16 02:31:27 UTC) #18
willchan no longer on Chromium
http://codereview.chromium.org/8212006/diff/29001/base/message_loop.h File base/message_loop.h (right): http://codereview.chromium.org/8212006/diff/29001/base/message_loop.h#newcode267 base/message_loop.h:267: return base::Bind(&MessageLoop::Quit, We're trying to keep bind.h out of ...
9 years, 2 months ago (2011-10-16 02:51:32 UTC) #19
James Hawkins
http://codereview.chromium.org/8212006/diff/29001/base/message_loop.h File base/message_loop.h (right): http://codereview.chromium.org/8212006/diff/29001/base/message_loop.h#newcode267 base/message_loop.h:267: return base::Bind(&MessageLoop::Quit, Oops. Done.
9 years, 2 months ago (2011-10-16 22:00:24 UTC) #20
James Hawkins
Will, I'm going to go ahead and commit. If you have any further review comments, ...
9 years, 2 months ago (2011-10-17 01:17:52 UTC) #21
willchan no longer on Chromium
9 years, 2 months ago (2011-10-17 20:29:37 UTC) #22
OK, sounds good. Thanks.

On Sun, Oct 16, 2011 at 6:17 PM, <jhawkins@chromium.org> wrote:

> Will, I'm going to go ahead and commit.  If you have any further review
> comments, I'll follow those up with another CL.
>
>
http://codereview.chromium.**org/8212006/<http://codereview.chromium.org/8212...
>

Powered by Google App Engine
This is Rietveld 408576698