| Index: content/shell/shell_render_process_observer.h
|
| diff --git a/content/shell/shell_render_process_observer.h b/content/shell/shell_render_process_observer.h
|
| index 1b50ed70a1543cdd2bdd0341454ae8bfd7583488..b802100895f6c3e8cf9d971d846bf732ccb0a4ad 100644
|
| --- a/content/shell/shell_render_process_observer.h
|
| +++ b/content/shell/shell_render_process_observer.h
|
| @@ -7,19 +7,44 @@
|
|
|
| #include "base/basictypes.h"
|
| #include "base/compiler_specific.h"
|
| +#include "base/memory/scoped_ptr.h"
|
| #include "content/public/renderer/render_process_observer.h"
|
|
|
| +namespace WebKit {
|
| +class WebFrame;
|
| +}
|
| +
|
| +namespace WebTestRunner {
|
| +class WebTestDelegate;
|
| +class WebTestInterfaces;
|
| +}
|
| +
|
| namespace content {
|
|
|
| +class RenderView;
|
| +
|
| class ShellRenderProcessObserver : public RenderProcessObserver {
|
| public:
|
| + static ShellRenderProcessObserver* GetInstance();
|
| +
|
| ShellRenderProcessObserver();
|
| virtual ~ShellRenderProcessObserver();
|
|
|
| + void SetMainWindow(RenderView* view,
|
| + WebTestRunner::WebTestDelegate* delegate);
|
| + void BindTestRunnersToWindow(WebKit::WebFrame* frame);
|
| +
|
| // RenderProcessObserver implementation.
|
| virtual void WebKitInitialized() OVERRIDE;
|
| + virtual bool OnControlMessageReceived(const IPC::Message& message) OVERRIDE;
|
|
|
| private:
|
| + // Message handlers.
|
| + void OnResetAll();
|
| +
|
| + scoped_ptr<WebTestRunner::WebTestInterfaces> test_interfaces_;
|
| + WebTestRunner::WebTestDelegate* test_delegate_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(ShellRenderProcessObserver);
|
| };
|
|
|
|
|