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

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

Issue 14977013: Delete Automation[Tab/Renderer]Helper and users. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: update now that 202087 is committed Created 7 years, 7 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
diff --git a/chrome/browser/automation/testing_automation_provider.h b/chrome/browser/automation/testing_automation_provider.h
index 663503d9e285a4745320e0111ec2033f48297fa2..28ecce3e48a7a107146debb3fcde446be04071b4 100644
--- a/chrome/browser/automation/testing_automation_provider.h
+++ b/chrome/browser/automation/testing_automation_provider.h
@@ -520,14 +520,6 @@ class TestingAutomationProvider : public AutomationProvider,
void UpdateExtensionsNow(base::DictionaryValue* args,
IPC::Message* reply_message);
-#if !defined(NO_TCMALLOC) && (defined(OS_LINUX) || defined(OS_CHROMEOS))
- // Dumps a heap profile.
- // It also checks whether the heap profiler is running, or not.
- // Uses the JSON interface for input/output.
- void HeapProfilerDump(base::DictionaryValue* args,
- IPC::Message* reply_message);
-#endif // !defined(NO_TCMALLOC) && (defined(OS_LINUX) || defined(OS_CHROMEOS))
-
// Overrides the current geoposition.
// Uses the JSON interface for input/output.
void OverrideGeoposition(base::DictionaryValue* args,
@@ -663,10 +655,6 @@ class TestingAutomationProvider : public AutomationProvider,
base::DictionaryValue* args,
IPC::Message* reply_message);
- // Waits for all views to stop loading or a modal dialog to become active.
- void WaitForAllViewsToStopLoading(base::DictionaryValue* args,
- IPC::Message* reply_message);
-
// Gets the browser and tab index of the given tab. Uses the JSON interface.
// Either "tab_id" or "tab_handle" must be specified, but not both. "tab_id"
// refers to the ID from the |NavigationController|, while "tab_handle" is
@@ -878,20 +866,6 @@ class TestingAutomationProvider : public AutomationProvider,
// output: { "result": AUTOMATION_MSG_NAVIGATION_SUCCESS // optional }
void ReloadJSON(base::DictionaryValue* args, IPC::Message* reply_message);
- // Captures the entire page of the the specified tab, including the
- // non-visible portions of the page, and saves the PNG to a file.
- // The pair |windex| and |tab_index| or the single |auto_id| must be given
- // to specify the tab.
- // Example:
- // input: { "windex": 1,
- // "tab_index": 1,
- // "auto_id": { "type": 0, "id": "awoein" },
- // "path": "/tmp/foo.png"
- // }
- // output: none
- void CaptureEntirePageJSON(
- base::DictionaryValue* args, IPC::Message* reply_message);
-
// Gets the cookies for the given URL. Uses the JSON interface.
// "expiry" refers to the amount of seconds since the Unix epoch. If omitted,
// the cookie is valid for the duration of the browser session.
@@ -1169,24 +1143,6 @@ class TestingAutomationProvider : public AutomationProvider,
void SendWebkitKeyEvent(base::DictionaryValue* args,
IPC::Message* message);
- // Processes the WebKit mouse event with the specified properties.
- // The pair |windex| and |tab_index| or the single |auto_id| must be given
- // to specify the render view.
- // Example:
- // input: { "windex": 1,
- // "tab_index": 1,
- // "auto_id": { "type": 0, "id": "awoein" },
- // "type": automation::kMouseDown,
- // "button": automation::kLeftButton,
- // "x": 100,
- // "y": 200,
- // "click_count": 1,
- // "modifiers": automation::kShiftKeyMask,
- // }
- // output: none
- void ProcessWebMouseEvent(base::DictionaryValue* args,
- IPC::Message* message);
-
// Gets the active JavaScript modal dialog's message.
// Example:
// input: none
« no previous file with comments | « chrome/browser/automation/mock_tab_event_observer.cc ('k') | chrome/browser/automation/testing_automation_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698