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

Issue 10692067: Convert PyAuto's NavigateToURL, GetActiveTabIndex, Refresh, RefreshActiveTab, and AppendTab to the … (Closed)

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

Description

Convert PyAuto's NavigateToURL, GetActiveTabIndex, Refresh, RefreshActiveTab, and AppendTab to the JSON interface. BUG=132794 TEST=chrome/test/functional/browser.py, chrome/test/functional/navigation.py Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=146273

Patch Set 1 #

Patch Set 2 : Fixed the return value of AppendTab. #

Total comments: 11

Patch Set 3 : Removed an extraneous function declaration from pyautolib.h #

Patch Set 4 : Removed GetActiveTabIndex from the SWIG interface file. #

Total comments: 2

Patch Set 5 : Addressed Dennis' comments. #

Patch Set 6 : rebase #

Total comments: 8

Patch Set 7 : Addressed Nirnimesh's comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+186 lines, -96 lines) Patch
M chrome/browser/automation/automation_provider_observers.h View 1 chunk +4 lines, -1 line 0 comments Download
M chrome/browser/automation/automation_provider_observers.cc View 1 2 3 4 5 3 chunks +12 lines, -6 lines 0 comments Download
M chrome/browser/automation/testing_automation_provider.h View 1 2 3 4 5 1 chunk +18 lines, -0 lines 0 comments Download
M chrome/browser/automation/testing_automation_provider.cc View 1 2 3 4 5 3 chunks +58 lines, -3 lines 0 comments Download
M chrome/test/pyautolib/pyauto.py View 1 2 3 4 5 6 2 chunks +94 lines, -19 lines 0 comments Download
M chrome/test/pyautolib/pyautolib.h View 1 2 3 4 5 1 chunk +0 lines, -17 lines 0 comments Download
M chrome/test/pyautolib/pyautolib.cc View 1 2 3 4 5 1 chunk +0 lines, -28 lines 0 comments Download
M chrome/test/pyautolib/pyautolib.i View 1 2 3 3 chunks +0 lines, -22 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
craigdh
I'm converting these in small chunks.
8 years, 5 months ago (2012-07-02 23:50:50 UTC) #1
dennis_jeffrey
https://chromiumcodereview.appspot.com/10692067/diff/2001/chrome/browser/automation/testing_automation_provider.cc File chrome/browser/automation/testing_automation_provider.cc (right): https://chromiumcodereview.appspot.com/10692067/diff/2001/chrome/browser/automation/testing_automation_provider.cc#newcode1702 chrome/browser/automation/testing_automation_provider.cc:1702: handler_map["GetActiveTabIndex"] = should these be in browser_handler_map instead, since ...
8 years, 5 months ago (2012-07-03 00:47:04 UTC) #2
craigdh
https://chromiumcodereview.appspot.com/10692067/diff/2001/chrome/browser/automation/testing_automation_provider.cc File chrome/browser/automation/testing_automation_provider.cc (right): https://chromiumcodereview.appspot.com/10692067/diff/2001/chrome/browser/automation/testing_automation_provider.cc#newcode1702 chrome/browser/automation/testing_automation_provider.cc:1702: handler_map["GetActiveTabIndex"] = On 2012/07/03 00:47:04, dennis_jeffrey wrote: > should ...
8 years, 5 months ago (2012-07-03 16:48:08 UTC) #3
dennis_jeffrey
https://chromiumcodereview.appspot.com/10692067/diff/2001/chrome/browser/automation/testing_automation_provider.cc File chrome/browser/automation/testing_automation_provider.cc (right): https://chromiumcodereview.appspot.com/10692067/diff/2001/chrome/browser/automation/testing_automation_provider.cc#newcode1702 chrome/browser/automation/testing_automation_provider.cc:1702: handler_map["GetActiveTabIndex"] = On 2012/07/03 16:48:08, craigdh wrote: > On ...
8 years, 5 months ago (2012-07-03 17:07:42 UTC) #4
Nirnimesh
https://chromiumcodereview.appspot.com/10692067/diff/3010/chrome/test/pyautolib/pyauto.py File chrome/test/pyautolib/pyauto.py (right): https://chromiumcodereview.appspot.com/10692067/diff/3010/chrome/test/pyautolib/pyauto.py#newcode1065 chrome/test/pyautolib/pyauto.py:1065: def NavigateToURL(self, url, windex=0, tab_index=0, navigation_count=1): maintain the order ...
8 years, 5 months ago (2012-07-03 23:13:26 UTC) #5
craigdh
https://chromiumcodereview.appspot.com/10692067/diff/3010/chrome/test/pyautolib/pyauto.py File chrome/test/pyautolib/pyauto.py (right): https://chromiumcodereview.appspot.com/10692067/diff/3010/chrome/test/pyautolib/pyauto.py#newcode1065 chrome/test/pyautolib/pyauto.py:1065: def NavigateToURL(self, url, windex=0, tab_index=0, navigation_count=1): On 2012/07/03 23:13:26, ...
8 years, 5 months ago (2012-07-11 19:10:25 UTC) #6
Nirnimesh
LGTM
8 years, 5 months ago (2012-07-11 22:31:07 UTC) #7
craigdh
On 2012/07/11 22:31:07, Nirnimesh wrote: > LGTM Dennis is away this week, but indicated offline ...
8 years, 5 months ago (2012-07-12 01:04:35 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/craigdh@chromium.org/10692067/14001
8 years, 5 months ago (2012-07-12 01:05:12 UTC) #9
commit-bot: I haz the power
8 years, 5 months ago (2012-07-12 02:34:53 UTC) #10
Change committed as 146273

Powered by Google App Engine
This is Rietveld 408576698