| 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,
|
|
|