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

Side by Side Diff: chrome/test/ui_test_utils.h

Issue 6015002: Rename WebKitTools->Tools. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 years 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 | « chrome/test/ui/ui_test.cc ('k') | chrome/test/ui_test_utils.cc » ('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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 CHROME_TEST_UI_TEST_UTILS_H_ 5 #ifndef CHROME_TEST_UI_TEST_UTILS_H_
6 #define CHROME_TEST_UI_TEST_UTILS_H_ 6 #define CHROME_TEST_UI_TEST_UTILS_H_
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <queue> 10 #include <queue>
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after
266 bool quit_loop_invoked_; 266 bool quit_loop_invoked_;
267 267
268 DISALLOW_COPY_AND_ASSIGN(TimedMessageLoopRunner); 268 DISALLOW_COPY_AND_ASSIGN(TimedMessageLoopRunner);
269 }; 269 };
270 270
271 // This is a utility class for running a python websocket server 271 // This is a utility class for running a python websocket server
272 // during tests. The server is started during the construction of the 272 // during tests. The server is started during the construction of the
273 // object, and is stopped when the destructor is called. Note that 273 // object, and is stopped when the destructor is called. Note that
274 // because of the underlying script that is used: 274 // because of the underlying script that is used:
275 // 275 //
276 // third_paty/WebKit/WebKitTools/Scripts/new-run-webkit-websocketserver 276 // third_paty/WebKit/Tools/Scripts/new-run-webkit-websocketserver
277 // 277 //
278 // Only *_wsh.py handlers found under "http/tests/websocket/tests" from the 278 // Only *_wsh.py handlers found under "http/tests/websocket/tests" from the
279 // |root_directory| will be found and active while running the test 279 // |root_directory| will be found and active while running the test
280 // server. 280 // server.
281 class TestWebSocketServer { 281 class TestWebSocketServer {
282 public: 282 public:
283 // Creates and starts a python websocket server with |root_directory|. 283 // Creates and starts a python websocket server with |root_directory|.
284 explicit TestWebSocketServer(const FilePath& root_directory); 284 explicit TestWebSocketServer(const FilePath& root_directory);
285 285
286 // Destroys and stops the server. 286 // Destroys and stops the server.
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after
507 507
508 // Takes a snapshot of the entire page, according to the width and height 508 // Takes a snapshot of the entire page, according to the width and height
509 // properties of the DOM's document. Returns true on success. DOMAutomation 509 // properties of the DOM's document. Returns true on success. DOMAutomation
510 // must be enabled. 510 // must be enabled.
511 bool TakeEntirePageSnapshot(RenderViewHost* rvh, 511 bool TakeEntirePageSnapshot(RenderViewHost* rvh,
512 SkBitmap* bitmap) WARN_UNUSED_RESULT; 512 SkBitmap* bitmap) WARN_UNUSED_RESULT;
513 513
514 } // namespace ui_test_utils 514 } // namespace ui_test_utils
515 515
516 #endif // CHROME_TEST_UI_TEST_UTILS_H_ 516 #endif // CHROME_TEST_UI_TEST_UTILS_H_
OLDNEW
« no previous file with comments | « chrome/test/ui/ui_test.cc ('k') | chrome/test/ui_test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698