| 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 352 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 363 static WindowList* window_list_; | 363 static WindowList* window_list_; |
| 364 #if defined(OS_MACOSX) | 364 #if defined(OS_MACOSX) |
| 365 typedef std::map<gfx::NativeWindow, TestShell *> WindowMap; | 365 typedef std::map<gfx::NativeWindow, TestShell *> WindowMap; |
| 366 static base::LazyInstance<WindowMap> window_map_; | 366 static base::LazyInstance<WindowMap> window_map_; |
| 367 #endif | 367 #endif |
| 368 | 368 |
| 369 #if defined(OS_WIN) | 369 #if defined(OS_WIN) |
| 370 static HINSTANCE instance_handle_; | 370 static HINSTANCE instance_handle_; |
| 371 #endif | 371 #endif |
| 372 | 372 |
| 373 // True if developer extras should be enabled. |
| 374 static bool developer_extras_enabled_; |
| 375 |
| 376 // Whether DevTools should be open before loading the page. |
| 377 static bool inspector_test_mode_; |
| 378 |
| 373 // True when the app is being run using the --layout-tests switch. | 379 // True when the app is being run using the --layout-tests switch. |
| 374 static bool inspector_test_mode_; | |
| 375 static bool layout_test_mode_; | 380 static bool layout_test_mode_; |
| 376 | 381 |
| 377 // Default timeout in ms for file page loads when in layout test mode. | 382 // Default timeout in ms for file page loads when in layout test mode. |
| 378 static int file_test_timeout_ms_; | 383 static int file_test_timeout_ms_; |
| 379 | 384 |
| 380 scoped_ptr<AccessibilityController> accessibility_controller_; | 385 scoped_ptr<AccessibilityController> accessibility_controller_; |
| 381 scoped_ptr<LayoutTestController> layout_test_controller_; | 386 scoped_ptr<LayoutTestController> layout_test_controller_; |
| 382 scoped_ptr<EventSendingController> event_sending_controller_; | 387 scoped_ptr<EventSendingController> event_sending_controller_; |
| 383 scoped_ptr<PlainTextController> plain_text_controller_; | 388 scoped_ptr<PlainTextController> plain_text_controller_; |
| 384 scoped_ptr<TextInputController> text_input_controller_; | 389 scoped_ptr<TextInputController> text_input_controller_; |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 416 // Used by the watchdog to know when it's finished. | 421 // Used by the watchdog to know when it's finished. |
| 417 HANDLE finished_event_; | 422 HANDLE finished_event_; |
| 418 #endif | 423 #endif |
| 419 | 424 |
| 420 // Dump the stats table counters on exit. | 425 // Dump the stats table counters on exit. |
| 421 bool dump_stats_table_on_exit_; | 426 bool dump_stats_table_on_exit_; |
| 422 }; | 427 }; |
| 423 | 428 |
| 424 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_H_ | 429 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_H_ |
| 425 | 430 |
| OLD | NEW |