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

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

Issue 10860037: [content shell] rename layout_test_controller{,_host,_bindings}.* to webkit_test_runner (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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 unified diff | Download patch | Annotate | Revision Log
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_LAYOUT_TEST_CONTROLLER_H_ 5 #ifndef CONTENT_SHELL_WEBKIT_TEST_RUNNER_H_
6 #define CONTENT_SHELL_LAYOUT_TEST_CONTROLLER_H_ 6 #define CONTENT_SHELL_WEBKIT_TEST_RUNNER_H_
7 7
8 #include "content/public/renderer/render_view_observer.h" 8 #include "content/public/renderer/render_view_observer.h"
9 9
10 namespace content { 10 namespace content {
11 11
12 // This is the renderer side of the layout test controller. 12 // This is the renderer side of the webkit test runner.
13 class LayoutTestController : public RenderViewObserver { 13 class WebKitTestRunner : public RenderViewObserver {
14 public: 14 public:
15 explicit LayoutTestController(RenderView* render_view); 15 explicit WebKitTestRunner(RenderView* render_view);
16 virtual ~LayoutTestController(); 16 virtual ~WebKitTestRunner();
17 17
18 // RenderViewObserver implementation. 18 // RenderViewObserver implementation.
19 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; 19 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
20 virtual void DidClearWindowObject(WebKit::WebFrame* frame) OVERRIDE; 20 virtual void DidClearWindowObject(WebKit::WebFrame* frame) OVERRIDE;
21 virtual void DidFinishLoad(WebKit::WebFrame* frame) OVERRIDE; 21 virtual void DidFinishLoad(WebKit::WebFrame* frame) OVERRIDE;
22 22
23 private: 23 private:
24 // Message handlers. 24 // Message handlers.
25 void OnCaptureTextDump(bool as_text, bool printing, bool recursive); 25 void OnCaptureTextDump(bool as_text, bool printing, bool recursive);
26 void OnCaptureImageDump(const std::string& expected_pixel_hash); 26 void OnCaptureImageDump(const std::string& expected_pixel_hash);
27 27
28 DISALLOW_COPY_AND_ASSIGN(LayoutTestController); 28 DISALLOW_COPY_AND_ASSIGN(WebKitTestRunner);
29 }; 29 };
30 30
31 } // namespace content 31 } // namespace content
32 32
33 #endif // CONTENT_SHELL_LAYOUT_TEST_CONTROLLER_H_ 33 #endif // CONTENT_SHELL_WEBKIT_TEST_RUNNER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698