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

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

Issue 10827182: Rename layoutTestController to testRunner. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updates 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
« no previous file with comments | « content/shell/layout_test_controller.js ('k') | content/shell/shell_messages.h » ('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_LAYOUT_TEST_CONTROLLER_HOST_H_ 5 #ifndef CONTENT_SHELL_LAYOUT_TEST_CONTROLLER_HOST_H_
6 #define CONTENT_SHELL_LAYOUT_TEST_CONTROLLER_HOST_H_ 6 #define CONTENT_SHELL_LAYOUT_TEST_CONTROLLER_HOST_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 10
(...skipping 24 matching lines...) Expand all
35 35
36 private: 36 private:
37 void CaptureDump(); 37 void CaptureDump();
38 void TimeoutHandler(); 38 void TimeoutHandler();
39 39
40 // Message handlers. 40 // Message handlers.
41 void OnDidFinishLoad(); 41 void OnDidFinishLoad();
42 void OnTextDump(const std::string& dump); 42 void OnTextDump(const std::string& dump);
43 void OnImageDump(const std::string& actual_pixel_hash, const SkBitmap& image); 43 void OnImageDump(const std::string& actual_pixel_hash, const SkBitmap& image);
44 44
45 // layoutTestController handlers. 45 // testRunner handlers.
46 void OnNotifyDone(); 46 void OnNotifyDone();
47 void OnDumpAsText(); 47 void OnDumpAsText();
48 void OnDumpChildFramesAsText(); 48 void OnDumpChildFramesAsText();
49 void OnSetPrinting(); 49 void OnSetPrinting();
50 void OnSetShouldStayOnPageAfterHandlingBeforeUnload(bool should_stay_on_page); 50 void OnSetShouldStayOnPageAfterHandlingBeforeUnload(bool should_stay_on_page);
51 void OnWaitUntilDone(); 51 void OnWaitUntilDone();
52 52
53 void OnNotImplemented(const std::string& object_name, 53 void OnNotImplemented(const std::string& object_name,
54 const std::string& method_name); 54 const std::string& method_name);
55 55
56 static std::map<RenderViewHost*, LayoutTestControllerHost*> controllers_; 56 static std::map<RenderViewHost*, LayoutTestControllerHost*> controllers_;
57 static std::string expected_pixel_hash_; 57 static std::string expected_pixel_hash_;
58 58
59 bool captured_dump_; 59 bool captured_dump_;
60 60
61 bool dump_as_text_; 61 bool dump_as_text_;
62 bool dump_child_frames_; 62 bool dump_child_frames_;
63 bool is_printing_; 63 bool is_printing_;
64 bool should_stay_on_page_after_handling_before_unload_; 64 bool should_stay_on_page_after_handling_before_unload_;
65 bool wait_until_done_; 65 bool wait_until_done_;
66 66
67 base::CancelableClosure watchdog_; 67 base::CancelableClosure watchdog_;
68 68
69 DISALLOW_COPY_AND_ASSIGN(LayoutTestControllerHost); 69 DISALLOW_COPY_AND_ASSIGN(LayoutTestControllerHost);
70 }; 70 };
71 71
72 } // namespace content 72 } // namespace content
73 73
74 #endif // CONTENT_SHELL_LAYOUT_TEST_CONTROLLER_HOST_H_ 74 #endif // CONTENT_SHELL_LAYOUT_TEST_CONTROLLER_HOST_H_
OLDNEW
« no previous file with comments | « content/shell/layout_test_controller.js ('k') | content/shell/shell_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698