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

Side by Side Diff: content/shell/shell_render_process_observer.h

Issue 11362161: Use the WebTestProxy for layout tests in content_shell (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: patch Created 8 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/shell/shell_main_delegate.cc ('k') | content/test/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_SHELL_SHELL_RENDER_PROCESS_OBSERVER_H_ 5 #ifndef CONTENT_SHELL_SHELL_RENDER_PROCESS_OBSERVER_H_
6 #define CONTENT_SHELL_SHELL_RENDER_PROCESS_OBSERVER_H_ 6 #define CONTENT_SHELL_SHELL_RENDER_PROCESS_OBSERVER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 20 matching lines...) Expand all
31 virtual ~ShellRenderProcessObserver(); 31 virtual ~ShellRenderProcessObserver();
32 32
33 void SetMainWindow(RenderView* view, 33 void SetMainWindow(RenderView* view,
34 WebTestRunner::WebTestDelegate* delegate); 34 WebTestRunner::WebTestDelegate* delegate);
35 void BindTestRunnersToWindow(WebKit::WebFrame* frame); 35 void BindTestRunnersToWindow(WebKit::WebFrame* frame);
36 36
37 // RenderProcessObserver implementation. 37 // RenderProcessObserver implementation.
38 virtual void WebKitInitialized() OVERRIDE; 38 virtual void WebKitInitialized() OVERRIDE;
39 virtual bool OnControlMessageReceived(const IPC::Message& message) OVERRIDE; 39 virtual bool OnControlMessageReceived(const IPC::Message& message) OVERRIDE;
40 40
41 WebTestRunner::WebTestInterfaces* test_interfaces() const {
42 return test_interfaces_.get();
43 }
44
41 private: 45 private:
42 // Message handlers. 46 // Message handlers.
43 void OnResetAll(); 47 void OnResetAll();
44 48
45 scoped_ptr<WebTestRunner::WebTestInterfaces> test_interfaces_; 49 scoped_ptr<WebTestRunner::WebTestInterfaces> test_interfaces_;
46 WebTestRunner::WebTestDelegate* test_delegate_; 50 WebTestRunner::WebTestDelegate* test_delegate_;
47 51
48 DISALLOW_COPY_AND_ASSIGN(ShellRenderProcessObserver); 52 DISALLOW_COPY_AND_ASSIGN(ShellRenderProcessObserver);
49 }; 53 };
50 54
51 } // namespace content 55 } // namespace content
52 56
53 #endif // CONTENT_SHELL_SHELL_RENDER_PROCESS_OBSERVER_H_ 57 #endif // CONTENT_SHELL_SHELL_RENDER_PROCESS_OBSERVER_H_
OLDNEW
« no previous file with comments | « content/shell/shell_main_delegate.cc ('k') | content/test/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698