summaryrefslogtreecommitdiffstats
path: root/content/renderer/dom_automation_controller.h
diff options
context:
space:
mode:
authormkosiba@chromium.org <mkosiba@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-02-22 07:58:40 +0000
committermkosiba@chromium.org <mkosiba@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-02-22 07:58:40 +0000
commitcfa856d62fbb6c61e217ca2567f12c6511fc02b8 (patch)
treef96b193076c902c7142a80a3dedda74fde8dedf8 /content/renderer/dom_automation_controller.h
parent43cf222b2cafdd47be0132e1aa8947a6b581f8c8 (diff)
downloadchromium_src-cfa856d62fbb6c61e217ca2567f12c6511fc02b8.zip
chromium_src-cfa856d62fbb6c61e217ca2567f12c6511fc02b8.tar.gz
chromium_src-cfa856d62fbb6c61e217ca2567f12c6511fc02b8.tar.bz2
Switch DomAutomationController to be a RenderFrameObserver.
BUG=304341 TBR=nasko@chromium.org Review URL: https://codereview.chromium.org/157713002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252764 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/renderer/dom_automation_controller.h')
-rw-r--r--content/renderer/dom_automation_controller.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/content/renderer/dom_automation_controller.h b/content/renderer/dom_automation_controller.h
index 829083a..92dc54e 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