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

Unified Diff: chrome/renderer/automation/automation_renderer_helper.h

Issue 8416022: Revert 107645 (To see if it was responsible for increase in static initializers) - Fix test snaps... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 2 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/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);
« no previous file with comments | « chrome/common/automation_messages_internal.h ('k') | chrome/renderer/automation/automation_renderer_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698