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

Side by Side Diff: webkit/tools/test_shell/test_shell.h

Issue 164225: Switch to WebFrame from the WebKit API.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 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 | « webkit/tools/test_shell/plugin_tests.cc ('k') | webkit/tools/test_shell/test_shell.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 /* 1 /*
2 * Copyright (C) 2006 Apple Computer, Inc. All rights reserved. 2 * Copyright (C) 2006 Apple Computer, Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 WebKit::WebWidget* CreatePopupWidget(WebView* webview); 181 WebKit::WebWidget* CreatePopupWidget(WebView* webview);
182 void ClosePopup(); 182 void ClosePopup();
183 183
184 #if defined(OS_WIN) 184 #if defined(OS_WIN)
185 static ATOM RegisterWindowClass(); 185 static ATOM RegisterWindowClass();
186 #endif 186 #endif
187 187
188 // Called by the WebView delegate WindowObjectCleared() method, this 188 // Called by the WebView delegate WindowObjectCleared() method, this
189 // binds the layout_test_controller_ and other C++ controller classes to 189 // binds the layout_test_controller_ and other C++ controller classes to
190 // window JavaScript objects so they can be accessed by layout tests. 190 // window JavaScript objects so they can be accessed by layout tests.
191 virtual void BindJSObjectsToWindow(WebFrame* frame); 191 virtual void BindJSObjectsToWindow(WebKit::WebFrame* frame);
192 192
193 // Runs a layout test. Loads a single file (specified in params.test_url) 193 // Runs a layout test. Loads a single file (specified in params.test_url)
194 // into the first available window, then dumps the requested text 194 // into the first available window, then dumps the requested text
195 // representation to stdout. Returns false if the test cannot be run 195 // representation to stdout. Returns false if the test cannot be run
196 // because no windows are open. 196 // because no windows are open.
197 static bool RunFileTest(const TestParams& params); 197 static bool RunFileTest(const TestParams& params);
198 198
199 // Writes the back-forward list data for every open window into result. 199 // Writes the back-forward list data for every open window into result.
200 // Should call DumpBackForwardListOfWindow on each TestShell window. 200 // Should call DumpBackForwardListOfWindow on each TestShell window.
201 static void DumpAllBackForwardLists(std::wstring* result); 201 static void DumpAllBackForwardLists(std::wstring* result);
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
344 #if defined(OS_WIN) 344 #if defined(OS_WIN)
345 // Used by the watchdog to know when it's finished. 345 // Used by the watchdog to know when it's finished.
346 HANDLE finished_event_; 346 HANDLE finished_event_;
347 #endif 347 #endif
348 348
349 // Dump the stats table counters on exit. 349 // Dump the stats table counters on exit.
350 bool dump_stats_table_on_exit_; 350 bool dump_stats_table_on_exit_;
351 }; 351 };
352 352
353 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_H_ 353 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_H_
OLDNEW
« no previous file with comments | « webkit/tools/test_shell/plugin_tests.cc ('k') | webkit/tools/test_shell/test_shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698