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

Issue 9372120: Implementation of AutomationEventQueue and associated framework to support generic non-blocking aut… (Closed)

Created:
8 years, 10 months ago by craigdh
Modified:
8 years, 9 months ago
CC:
chromium-reviews, Nirnimesh, John Grabowski, kkania, anantha, robertshield, dyu1, dennis_jeffrey
Visibility:
Public.

Description

Implementation of AutomationEventQueue and associated framework to support generic non-blocking automation events. Change-Id: I39f50d1d5b321a863572eec6c61e11923092ed47 BUG=98289 TEST=functional/apptest.py Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=125069

Patch Set 1 #

Total comments: 25

Patch Set 2 : Addressed Dennis' comments. #

Total comments: 67

Patch Set 3 : Addressed frankf's comments on the Python. #

Patch Set 4 : Addressed Nirnimesh's comments. #

Total comments: 38

Patch Set 5 : Addressed Nirnimesh's second round of comments. #

Total comments: 40

Patch Set 6 : Addressed Frank and Nirnimesh's second set of comments. #

Patch Set 7 : Lazy creation of the AutomationEventQueue instance. #

Patch Set 8 : Made CompareEventId predicate class private to AutomationEventQueue. #

Total comments: 26

Patch Set 9 : Addressed Nirnimesh's most recent comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+648 lines, -0 lines) Patch
A chrome/browser/automation/automation_event_observer.h View 1 2 3 4 5 1 chunk +56 lines, -0 lines 0 comments Download
A chrome/browser/automation/automation_event_observer.cc View 1 2 3 4 5 6 7 8 1 chunk +63 lines, -0 lines 0 comments Download
A chrome/browser/automation/automation_event_queue.h View 1 2 3 4 5 6 7 8 1 chunk +76 lines, -0 lines 0 comments Download
A chrome/browser/automation/automation_event_queue.cc View 1 2 3 4 5 6 7 8 1 chunk +127 lines, -0 lines 0 comments Download
M chrome/browser/automation/testing_automation_provider.h View 1 2 3 4 5 6 3 chunks +43 lines, -0 lines 0 comments Download
M chrome/browser/automation/testing_automation_provider.cc View 1 2 3 4 5 6 7 8 2 chunks +80 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 chunk +4 lines, -0 lines 0 comments Download
A chrome/test/data/apptest/basic.html View 1 2 3 1 chunk +74 lines, -0 lines 0 comments Download
M chrome/test/functional/PYAUTO_TESTS View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
A chrome/test/functional/apptest.py View 1 2 3 4 5 1 chunk +38 lines, -0 lines 0 comments Download
M chrome/test/pyautolib/pyauto.py View 1 2 3 4 5 6 7 8 1 chunk +86 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (0 generated)
craigdh
8 years, 10 months ago (2012-02-23 01:37:56 UTC) #1
dennis_jeffrey
Cool! Can't wait to start getting rid of our WaitUntil's :-) I have some drive-by ...
8 years, 10 months ago (2012-02-23 19:26:36 UTC) #2
craigdh
https://chromiumcodereview.appspot.com/9372120/diff/1/chrome/test/data/apptest_basic.html File chrome/test/data/apptest_basic.html (right): https://chromiumcodereview.appspot.com/9372120/diff/1/chrome/test/data/apptest_basic.html#newcode1 chrome/test/data/apptest_basic.html:1: <html> On 2012/02/23 19:26:36, dennis_jeffrey wrote: > I recommend ...
8 years, 10 months ago (2012-02-24 01:30:02 UTC) #3
frankf
More to come... https://chromiumcodereview.appspot.com/9372120/diff/4001/chrome/test/pyautolib/pyauto.py File chrome/test/pyautolib/pyauto.py (right): https://chromiumcodereview.appspot.com/9372120/diff/4001/chrome/test/pyautolib/pyauto.py#newcode2802 chrome/test/pyautolib/pyauto.py:2802: frame_xpath=''): alignment issue https://chromiumcodereview.appspot.com/9372120/diff/4001/chrome/test/pyautolib/pyauto.py#newcode2809 chrome/test/pyautolib/pyauto.py:2809: 'event_name': ...
8 years, 10 months ago (2012-02-24 22:05:04 UTC) #4
Nirnimesh
So excited to see this. Many lives will be saved by the simplicity this brings. ...
8 years, 10 months ago (2012-02-24 23:18:08 UTC) #5
craigdh
https://chromiumcodereview.appspot.com/9372120/diff/4001/chrome/test/pyautolib/pyauto.py File chrome/test/pyautolib/pyauto.py (right): https://chromiumcodereview.appspot.com/9372120/diff/4001/chrome/test/pyautolib/pyauto.py#newcode2802 chrome/test/pyautolib/pyauto.py:2802: frame_xpath=''): On 2012/02/24 22:05:07, frankf wrote: > alignment issue ...
8 years, 10 months ago (2012-02-24 23:19:33 UTC) #6
craigdh
https://chromiumcodereview.appspot.com/9372120/diff/4001/chrome/browser/automation/automation_event_observer.cc File chrome/browser/automation/automation_event_observer.cc (right): https://chromiumcodereview.appspot.com/9372120/diff/4001/chrome/browser/automation/automation_event_observer.cc#newcode57 chrome/browser/automation/automation_event_observer.cc:57: void RaisedEventObserver::OnJavascriptBlocked() { On 2012/02/24 23:18:09, Nirnimesh wrote: > ...
8 years, 9 months ago (2012-02-27 22:43:38 UTC) #7
Nirnimesh
http://codereview.chromium.org/9372120/diff/4001/chrome/browser/automation/testing_automation_provider.cc File chrome/browser/automation/testing_automation_provider.cc (right): http://codereview.chromium.org/9372120/diff/4001/chrome/browser/automation/testing_automation_provider.cc#newcode6485 chrome/browser/automation/testing_automation_provider.cc:6485: automation_event_queue_.RemoveObserver(observer_id); On 2012/02/27 22:43:38, craigdh-chromium wrote: > On 2012/02/24 ...
8 years, 9 months ago (2012-02-28 09:13:08 UTC) #8
craigdh
https://chromiumcodereview.appspot.com/9372120/diff/13001/chrome/browser/automation/automation_event_queue.cc File chrome/browser/automation/automation_event_queue.cc (right): https://chromiumcodereview.appspot.com/9372120/diff/13001/chrome/browser/automation/automation_event_queue.cc#newcode30 chrome/browser/automation/automation_event_queue.cc:30: AutomationJSONReply(automation, reply_message) On 2012/02/28 09:13:09, Nirnimesh wrote: > This ...
8 years, 9 months ago (2012-02-28 22:42:55 UTC) #9
frankf
https://chromiumcodereview.appspot.com/9372120/diff/21001/chrome/browser/automation/automation_event_observer.h File chrome/browser/automation/automation_event_observer.h (right): https://chromiumcodereview.appspot.com/9372120/diff/21001/chrome/browser/automation/automation_event_observer.h#newcode19 chrome/browser/automation/automation_event_observer.h:19: explicit AutomationEventObserver(AutomationEventQueue& event_queue); All reference parameters should be const. ...
8 years, 9 months ago (2012-02-29 02:29:00 UTC) #10
Nirnimesh
https://chromiumcodereview.appspot.com/9372120/diff/21001/chrome/browser/automation/automation_event_observer.cc File chrome/browser/automation/automation_event_observer.cc (right): https://chromiumcodereview.appspot.com/9372120/diff/21001/chrome/browser/automation/automation_event_observer.cc#newcode21 chrome/browser/automation/automation_event_observer.cc:21: new AutomationEventQueue::AutomationEvent( who deletes this? https://chromiumcodereview.appspot.com/9372120/diff/21001/chrome/browser/automation/automation_event_observer.cc#newcode42 chrome/browser/automation/automation_event_observer.cc:42: DictionaryValue* dict ...
8 years, 9 months ago (2012-02-29 03:22:07 UTC) #11
craigdh
https://chromiumcodereview.appspot.com/9372120/diff/21001/chrome/browser/automation/automation_event_observer.cc File chrome/browser/automation/automation_event_observer.cc (right): https://chromiumcodereview.appspot.com/9372120/diff/21001/chrome/browser/automation/automation_event_observer.cc#newcode21 chrome/browser/automation/automation_event_observer.cc:21: new AutomationEventQueue::AutomationEvent( On 2012/02/29 03:22:08, Nirnimesh wrote: > who ...
8 years, 9 months ago (2012-02-29 22:53:43 UTC) #12
craigdh
Made the CompareEventId class private to AutomationEventQueue.
8 years, 9 months ago (2012-03-01 00:56:45 UTC) #13
frankf
lgtm
8 years, 9 months ago (2012-03-01 01:03:02 UTC) #14
Nirnimesh
https://chromiumcodereview.appspot.com/9372120/diff/33002/chrome/browser/automation/automation_event_observer.cc File chrome/browser/automation/automation_event_observer.cc (right): https://chromiumcodereview.appspot.com/9372120/diff/33002/chrome/browser/automation/automation_event_observer.cc#newcode7 chrome/browser/automation/automation_event_observer.cc:7: remove blank line https://chromiumcodereview.appspot.com/9372120/diff/33002/chrome/browser/automation/automation_event_observer.cc#newcode8 chrome/browser/automation/automation_event_observer.cc:8: #include "base/logging.h" should go ...
8 years, 9 months ago (2012-03-01 10:34:12 UTC) #15
craigdh
https://chromiumcodereview.appspot.com/9372120/diff/33002/chrome/browser/automation/automation_event_observer.cc File chrome/browser/automation/automation_event_observer.cc (right): https://chromiumcodereview.appspot.com/9372120/diff/33002/chrome/browser/automation/automation_event_observer.cc#newcode7 chrome/browser/automation/automation_event_observer.cc:7: On 2012/03/01 10:34:12, Nirnimesh wrote: > remove blank line ...
8 years, 9 months ago (2012-03-01 21:34:18 UTC) #16
Nirnimesh
LGTM. Let's roll.
8 years, 9 months ago (2012-03-02 02:08:20 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/craigdh@chromium.org/9372120/37003
8 years, 9 months ago (2012-03-05 23:35:20 UTC) #18
commit-bot: I haz the power
8 years, 9 months ago (2012-03-06 01:42:40 UTC) #19
Change committed as 125069

Powered by Google App Engine
This is Rietveld 408576698