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

Unified Diff: content/renderer/dom_automation_controller.h

Issue 157713002: Switch DomAutomationController to be a RenderFrameObserver. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 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 | « content/public/test/browser_test_utils.cc ('k') | content/renderer/dom_automation_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/dom_automation_controller.h
diff --git a/content/renderer/dom_automation_controller.h b/content/renderer/dom_automation_controller.h
index 829083ae4f07dc6ddab62cbcc3f389cd52c0ac52..92dc54e5f6f850063a1cce92c3ed723b5ac5a5d9 100644
--- a/content/renderer/dom_automation_controller.h
+++ b/content/renderer/dom_automation_controller.h
@@ -6,7 +6,7 @@
#define CONTENT_RENDERER_DOM_AUTOMATION_CONTROLLER_H_
#include "base/basictypes.h"
-#include "content/public/renderer/render_view_observer.h"
+#include "content/public/renderer/render_frame_observer.h"
#include "gin/wrappable.h"
/* DomAutomationController class:
@@ -81,14 +81,14 @@ class Arguments;
namespace content {
-class RenderViewImpl;
+class RenderFrame;
class DomAutomationController : public gin::Wrappable<DomAutomationController>,
- public RenderViewObserver {
+ public RenderFrameObserver {
public:
static gin::WrapperInfo kWrapperInfo;
- static void Install(RenderViewImpl* render_view, blink::WebFrame* frame);
+ static void Install(RenderFrame* render_frame, blink::WebFrame* frame);
// Makes the renderer send a javascript value to the app.
// The value to be sent can be either of type String,
@@ -106,7 +106,7 @@ class DomAutomationController : public gin::Wrappable<DomAutomationController>,
bool SetAutomationId(int automation_id);
private:
- explicit DomAutomationController(RenderViewImpl* render_view);
+ explicit DomAutomationController(RenderFrame* render_view);
virtual ~DomAutomationController();
// gin::WrappableBase
« no previous file with comments | « content/public/test/browser_test_utils.cc ('k') | content/renderer/dom_automation_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698