| OLD | NEW |
| 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 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 174 TestShell** shell = NULL); | 174 TestShell** shell = NULL); |
| 175 | 175 |
| 176 static void DestroyWindow(gfx::NativeWindow windowHandle); | 176 static void DestroyWindow(gfx::NativeWindow windowHandle); |
| 177 | 177 |
| 178 // Remove the given window from window_list_, return true if it was in the | 178 // Remove the given window from window_list_, return true if it was in the |
| 179 // list and was removed and false otherwise. | 179 // list and was removed and false otherwise. |
| 180 static bool RemoveWindowFromList(gfx::NativeWindow window); | 180 static bool RemoveWindowFromList(gfx::NativeWindow window); |
| 181 | 181 |
| 182 // Implements CreateWebView for TestWebViewDelegate, which in turn | 182 // Implements CreateWebView for TestWebViewDelegate, which in turn |
| 183 // is called as a WebViewDelegate. | 183 // is called as a WebViewDelegate. |
| 184 WebView* CreateWebView(WebView* webview); | 184 WebView* CreateWebView(); |
| 185 WebKit::WebWidget* CreatePopupWidget(WebView* webview); | 185 WebKit::WebWidget* CreatePopupWidget(); |
| 186 void ClosePopup(); | 186 void ClosePopup(); |
| 187 | 187 |
| 188 #if defined(OS_WIN) | 188 #if defined(OS_WIN) |
| 189 static ATOM RegisterWindowClass(); | 189 static ATOM RegisterWindowClass(); |
| 190 #endif | 190 #endif |
| 191 | 191 |
| 192 // Called by the WebView delegate WindowObjectCleared() method, this | 192 // Called by the WebView delegate WindowObjectCleared() method, this |
| 193 // binds the layout_test_controller_ and other C++ controller classes to | 193 // binds the layout_test_controller_ and other C++ controller classes to |
| 194 // window JavaScript objects so they can be accessed by layout tests. | 194 // window JavaScript objects so they can be accessed by layout tests. |
| 195 virtual void BindJSObjectsToWindow(WebKit::WebFrame* frame); | 195 virtual void BindJSObjectsToWindow(WebKit::WebFrame* frame); |
| (...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 349 #if defined(OS_WIN) | 349 #if defined(OS_WIN) |
| 350 // Used by the watchdog to know when it's finished. | 350 // Used by the watchdog to know when it's finished. |
| 351 HANDLE finished_event_; | 351 HANDLE finished_event_; |
| 352 #endif | 352 #endif |
| 353 | 353 |
| 354 // Dump the stats table counters on exit. | 354 // Dump the stats table counters on exit. |
| 355 bool dump_stats_table_on_exit_; | 355 bool dump_stats_table_on_exit_; |
| 356 }; | 356 }; |
| 357 | 357 |
| 358 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_H_ | 358 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_H_ |
| OLD | NEW |