| 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 342 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 353 } | 353 } |
| 354 | 354 |
| 355 #if defined(OS_MACOSX) | 355 #if defined(OS_MACOSX) |
| 356 // handle cleaning up a shell given the associated window | 356 // handle cleaning up a shell given the associated window |
| 357 static void DestroyAssociatedShell(gfx::NativeWindow handle); | 357 static void DestroyAssociatedShell(gfx::NativeWindow handle); |
| 358 #endif | 358 #endif |
| 359 | 359 |
| 360 // Show the "attach to me" dialog, for debugging test shell startup. | 360 // Show the "attach to me" dialog, for debugging test shell startup. |
| 361 static void ShowStartupDebuggingDialog(); | 361 static void ShowStartupDebuggingDialog(); |
| 362 | 362 |
| 363 // This is called indirectly by the network layer to access resources. | 363 // This is called indirectly by the modules that need access resources. |
| 364 static base::StringPiece NetResourceProvider(int key); | 364 static base::StringPiece ResourceProvider(int key); |
| 365 | 365 |
| 366 TestShellDevToolsAgent* dev_tools_agent() { | 366 TestShellDevToolsAgent* dev_tools_agent() { |
| 367 return dev_tools_agent_.get(); | 367 return dev_tools_agent_.get(); |
| 368 } | 368 } |
| 369 | 369 |
| 370 WebKit::WebDeviceOrientationClientMock* device_orientation_client_mock(); | 370 WebKit::WebDeviceOrientationClientMock* device_orientation_client_mock(); |
| 371 | 371 |
| 372 WebKit::WebSpeechInputControllerMock* CreateSpeechInputControllerMock( | 372 WebKit::WebSpeechInputControllerMock* CreateSpeechInputControllerMock( |
| 373 WebKit::WebSpeechInputListener* listener); | 373 WebKit::WebSpeechInputListener* listener); |
| 374 WebKit::WebSpeechInputControllerMock* speech_input_controller_mock(); | 374 WebKit::WebSpeechInputControllerMock* speech_input_controller_mock(); |
| (...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 501 #if defined(OS_WIN) | 501 #if defined(OS_WIN) |
| 502 // Used by the watchdog to know when it's finished. | 502 // Used by the watchdog to know when it's finished. |
| 503 HANDLE finished_event_; | 503 HANDLE finished_event_; |
| 504 #endif | 504 #endif |
| 505 | 505 |
| 506 // Dump the stats table counters on exit. | 506 // Dump the stats table counters on exit. |
| 507 bool dump_stats_table_on_exit_; | 507 bool dump_stats_table_on_exit_; |
| 508 }; | 508 }; |
| 509 | 509 |
| 510 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_H_ | 510 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_H_ |
| OLD | NEW |