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

Issue 5088001: Add pyauto hook for getting and manipulating the data underneath the NTP. (Closed)

Created:
10 years, 1 month ago by kkania
Modified:
9 years, 7 months ago
Reviewers:
sky, Nirnimesh
CC:
chromium-reviews, ben+cc_chromium.org, John Grabowski, Nirnimesh, anantha, brettw-cc_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

Add pyauto hook for getting and manipulating the data underneath the NTP. BUG=49113 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=66709

Patch Set 1 #

Patch Set 2 : Clean up #

Total comments: 4

Patch Set 3 : add forgotten py files #

Total comments: 16

Patch Set 4 : change hook, remove ntp_model #

Total comments: 14

Patch Set 5 : ... #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+674 lines, -122 lines) Patch
M chrome/browser/automation/automation_provider_observers.h View 1 2 3 4 3 chunks +32 lines, -0 lines 0 comments Download
M chrome/browser/automation/automation_provider_observers.cc View 1 2 3 4 4 chunks +89 lines, -0 lines 0 comments Download
M chrome/browser/automation/testing_automation_provider.h View 1 chunk +32 lines, -0 lines 0 comments Download
M chrome/browser/automation/testing_automation_provider.cc View 1 3 chunks +108 lines, -0 lines 0 comments Download
M chrome/browser/dom_ui/most_visited_handler.h View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/dom_ui/most_visited_handler.cc View 1 chunk +10 lines, -0 lines 0 comments Download
M chrome/browser/dom_ui/new_tab_ui.h View 2 chunks +7 lines, -0 lines 0 comments Download
M chrome/browser/dom_ui/new_tab_ui.cc View 5 chunks +53 lines, -104 lines 0 comments Download
M chrome/browser/history/top_sites.h View 1 2 3 4 4 chunks +15 lines, -4 lines 2 comments Download
M chrome/browser/history/top_sites.cc View 1 2 3 4 4 chunks +26 lines, -14 lines 0 comments Download
M chrome/common/notification_type.h View 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/test/functional/PYAUTO_TESTS View 2 chunks +2 lines, -0 lines 0 comments Download
A chrome/test/functional/ntp.py View 3 4 1 chunk +99 lines, -0 lines 0 comments Download
M chrome/test/pyautolib/pyauto.py View 1 2 3 4 2 chunks +185 lines, -0 lines 0 comments Download
M chrome/test/pyautolib/pyauto_errors.py View 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
kkania
sky: top_sites* nirnimesh: all else Patch #1 was taken from http://codereview.chromium.org/3477001/, with the hook in ...
10 years, 1 month ago (2010-11-16 20:00:23 UTC) #1
sky
http://codereview.chromium.org/5088001/diff/17001/chrome/browser/dom_ui/new_tab_ui.cc File chrome/browser/dom_ui/new_tab_ui.cc (right): http://codereview.chromium.org/5088001/diff/17001/chrome/browser/dom_ui/new_tab_ui.cc#newcode530 chrome/browser/dom_ui/new_tab_ui.cc:530: const TabRestoreService::Entries& entries, ListValue* entry_list_value) { The changes to ...
10 years, 1 month ago (2010-11-16 21:43:08 UTC) #2
Nirnimesh
http://codereview.chromium.org/5088001/diff/2001/chrome/browser/automation/automation_provider_observers.cc File chrome/browser/automation/automation_provider_observers.cc (right): http://codereview.chromium.org/5088001/diff/2001/chrome/browser/automation/automation_provider_observers.cc#newcode1413 chrome/browser/automation/automation_provider_observers.cc:1413: : automation_(automation), I think this needs to be indented ...
10 years, 1 month ago (2010-11-16 22:25:05 UTC) #3
kkania
http://codereview.chromium.org/5088001/diff/17001/chrome/browser/dom_ui/new_tab_ui.cc File chrome/browser/dom_ui/new_tab_ui.cc (right): http://codereview.chromium.org/5088001/diff/17001/chrome/browser/dom_ui/new_tab_ui.cc#newcode530 chrome/browser/dom_ui/new_tab_ui.cc:530: const TabRestoreService::Entries& entries, ListValue* entry_list_value) { On 2010/11/16 21:43:08, ...
10 years, 1 month ago (2010-11-17 01:11:34 UTC) #4
Nirnimesh
PyAuto/Automation bits LGTM. http://codereview.chromium.org/5088001/diff/37015/chrome/test/pyautolib/pyauto.py File chrome/test/pyautolib/pyauto.py (right): http://codereview.chromium.org/5088001/diff/37015/chrome/test/pyautolib/pyauto.py#newcode28 chrome/test/pyautolib/pyauto.py:28: import exceptions not needed. 'IndexError' is ...
10 years, 1 month ago (2010-11-17 01:25:49 UTC) #5
sky
http://codereview.chromium.org/5088001/diff/37015/chrome/browser/history/top_sites.cc File chrome/browser/history/top_sites.cc (right): http://codereview.chromium.org/5088001/diff/37015/chrome/browser/history/top_sites.cc#newcode444 chrome/browser/history/top_sites.cc:444: if (!profile_) DCHECK(loaded_). Any pyauto test needing top sites ...
10 years, 1 month ago (2010-11-17 16:30:59 UTC) #6
kkania
http://codereview.chromium.org/5088001/diff/37015/chrome/browser/history/top_sites.cc File chrome/browser/history/top_sites.cc (right): http://codereview.chromium.org/5088001/diff/37015/chrome/browser/history/top_sites.cc#newcode444 chrome/browser/history/top_sites.cc:444: if (!profile_) On 2010/11/17 16:31:00, sky wrote: > DCHECK(loaded_). ...
10 years, 1 month ago (2010-11-17 22:16:07 UTC) #7
sky
10 years, 1 month ago (2010-11-17 22:36:01 UTC) #8
LGTM

http://codereview.chromium.org/5088001/diff/59001/chrome/browser/history/top_...
File chrome/browser/history/top_sites.h (right):

http://codereview.chromium.org/5088001/diff/59001/chrome/browser/history/top_...
chrome/browser/history/top_sites.h:149: bool loaded() { return loaded_; }
const

http://codereview.chromium.org/5088001/diff/59001/chrome/browser/history/top_...
chrome/browser/history/top_sites.h:303: void
InvokeRefreshCallback(CancelableRequestProvider::Handle handle);
This isn't needed anymore, right?

Powered by Google App Engine
This is Rietveld 408576698