| Index: chrome/renderer/automation/automation_renderer_helper.h
|
| ===================================================================
|
| --- chrome/renderer/automation/automation_renderer_helper.h (revision 107646)
|
| +++ chrome/renderer/automation/automation_renderer_helper.h (working copy)
|
| @@ -6,37 +6,22 @@
|
| #define CHROME_RENDERER_AUTOMATION_AUTOMATION_RENDERER_HELPER_H_
|
| #pragma once
|
|
|
| -#include <string>
|
| -#include <vector>
|
| -
|
| #include "content/public/renderer/render_view_observer.h"
|
| -#include "content/public/renderer/render_view_observer_tracker.h"
|
|
|
| namespace WebKit {
|
| class WebFrame;
|
| class WebURL;
|
| -class WebView;
|
| }
|
|
|
| // Filters automation/testing messages sent to a |RenderView| and sends
|
| // automation/testing messages to the browser.
|
| -class AutomationRendererHelper
|
| - : public content::RenderViewObserver,
|
| - public content::RenderViewObserverTracker<AutomationRendererHelper> {
|
| +class AutomationRendererHelper : public content::RenderViewObserver {
|
| public:
|
| explicit AutomationRendererHelper(content::RenderView* render_view);
|
| virtual ~AutomationRendererHelper();
|
|
|
| - // Takes a snapshot of the entire page without changing layout size.
|
| - bool SnapshotEntirePage(WebKit::WebView* view,
|
| - std::vector<unsigned char>* png_data,
|
| - std::string* error_msg);
|
| -
|
| private:
|
| - void OnSnapshotEntirePage();
|
| -
|
| // RenderViewObserver implementation.
|
| - virtual bool OnMessageReceived(const IPC::Message& message);
|
| virtual void WillPerformClientRedirect(
|
| WebKit::WebFrame* frame, const WebKit::WebURL& from,
|
| const WebKit::WebURL& to, double interval, double fire_time);
|
|
|