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

Unified Diff: chrome/browser/automation/testing_automation_provider.h

Issue 3477001: Add pyauto hook for getting and manipulating the data underneath the NTP.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/automation/testing_automation_provider.h
===================================================================
--- chrome/browser/automation/testing_automation_provider.h (revision 61074)
+++ chrome/browser/automation/testing_automation_provider.h (working copy)
@@ -613,6 +613,38 @@
static std::map<AutoFillFieldType, std::wstring>
GetCreditCardFieldToStringMap();
+ // Gets info about the elements in the NTP.
+ // Uses the JSON interface for input/output.
+ void GetNTPInfo(Browser* browser,
+ DictionaryValue* args,
+ IPC::Message* reply_message);
+
+ // Moves a thumbnail in the NTP's Most Visited sites section to a different
+ // index.
+ // Uses the JSON interface for input/output.
+ void MoveNTPMostVisitedThumbnail(Browser* browser,
+ DictionaryValue* args,
+ IPC::Message* reply_message);
+
+ // Removes a thumbnail from the NTP's Most Visited sites section.
+ // Uses the JSON interface for input/output.
+ void RemoveNTPMostVisitedThumbnail(Browser* browser,
+ DictionaryValue* args,
+ IPC::Message* reply_message);
+
+ // Unpins a thumbnail in the NTP's Most Visited sites section.
+ // Uses the JSON interface for input/output.
+ void UnpinNTPMostVisitedThumbnail(Browser* browser,
+ DictionaryValue* args,
+ IPC::Message* reply_message);
+
+ // Restores all thumbnails that have been removed (i.e., blacklisted) from the
+ // NTP's Most Visited sites section.
+ // Uses the JSON interface for input/output.
+ void RestoreAllNTPMostVisitedThumbnails(Browser* browser,
+ DictionaryValue* args,
+ IPC::Message* reply_message);
+
void WaitForTabCountToBecome(int browser_handle,
int target_tab_count,
IPC::Message* reply_message);
« no previous file with comments | « chrome/browser/automation/automation_provider_observers.cc ('k') | chrome/browser/automation/testing_automation_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698