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

Unified Diff: chrome/test/automation/tab_proxy.cc

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
« no previous file with comments | « chrome/test/automation/tab_proxy.h ('k') | chrome/test/functional/perf_endure.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/automation/tab_proxy.cc
diff --git a/chrome/test/automation/tab_proxy.cc b/chrome/test/automation/tab_proxy.cc
index 2dcb0dd98ef0a8fe1dc578b6a207a9804b5db6f6..e5aa1008e4d7eee42c110d285e9a6411d48044ac 100644
--- a/chrome/test/automation/tab_proxy.cc
+++ b/chrome/test/automation/tab_proxy.cc
@@ -13,7 +13,6 @@
#include "base/utf_string_conversions.h"
#include "chrome/common/automation_constants.h"
#include "chrome/common/automation_messages.h"
-#include "chrome/test/automation/automation_json_requests.h"
#include "chrome/test/automation/automation_proxy.h"
#include "chrome/test/automation/browser_proxy.h"
#include "googleurl/src/gurl.h"
@@ -369,22 +368,6 @@ bool TabProxy::OverrideEncoding(const std::string& encoding) {
return succeeded;
}
-bool TabProxy::CaptureEntirePageAsPNG(const base::FilePath& path) {
- if (!is_valid())
- return false;
-
- int browser_index, tab_index;
- automation::Error error;
- if (!SendGetIndicesFromTabHandleJSONRequest(
- sender_, handle_, &browser_index, &tab_index, &error)) {
- return false;
- }
-
- return SendCaptureEntirePageJSONRequest(
- sender_, WebViewLocator::ForIndexPair(browser_index, tab_index),
- path, &error);
-}
-
#if defined(OS_WIN)
void TabProxy::Reposition(HWND window, HWND window_insert_after, int left,
int top, int width, int height, int flags,
« no previous file with comments | « chrome/test/automation/tab_proxy.h ('k') | chrome/test/functional/perf_endure.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698