| 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 306 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 317 // Show the "attach to me" dialog, for debugging test shell startup. | 317 // Show the "attach to me" dialog, for debugging test shell startup. |
| 318 static void ShowStartupDebuggingDialog(); | 318 static void ShowStartupDebuggingDialog(); |
| 319 | 319 |
| 320 // This is called indirectly by the network layer to access resources. | 320 // This is called indirectly by the network layer to access resources. |
| 321 static base::StringPiece NetResourceProvider(int key); | 321 static base::StringPiece NetResourceProvider(int key); |
| 322 | 322 |
| 323 TestShellDevToolsAgent* dev_tools_agent() { | 323 TestShellDevToolsAgent* dev_tools_agent() { |
| 324 return dev_tools_agent_.get(); | 324 return dev_tools_agent_.get(); |
| 325 } | 325 } |
| 326 | 326 |
| 327 static void enable_html5_parser() { enable_html5_parser_ = true; } | 327 static void disable_html5_parser() { enable_html5_parser_ = false; } |
| 328 | 328 |
| 329 protected: | 329 protected: |
| 330 void CreateDevToolsClient(TestShellDevToolsAgent* agent); | 330 void CreateDevToolsClient(TestShellDevToolsAgent* agent); |
| 331 bool Initialize(const GURL& starting_url); | 331 bool Initialize(const GURL& starting_url); |
| 332 void InitializeDevToolsAgent(WebKit::WebView* webView); | 332 void InitializeDevToolsAgent(WebKit::WebView* webView); |
| 333 bool IsSVGTestURL(const GURL& url); | 333 bool IsSVGTestURL(const GURL& url); |
| 334 void SizeToSVG(); | 334 void SizeToSVG(); |
| 335 void SizeToDefault(); | 335 void SizeToDefault(); |
| 336 void SizeTo(int width, int height); | 336 void SizeTo(int width, int height); |
| 337 void ResizeSubViews(); | 337 void ResizeSubViews(); |
| (...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 437 #if defined(OS_WIN) | 437 #if defined(OS_WIN) |
| 438 // Used by the watchdog to know when it's finished. | 438 // Used by the watchdog to know when it's finished. |
| 439 HANDLE finished_event_; | 439 HANDLE finished_event_; |
| 440 #endif | 440 #endif |
| 441 | 441 |
| 442 // Dump the stats table counters on exit. | 442 // Dump the stats table counters on exit. |
| 443 bool dump_stats_table_on_exit_; | 443 bool dump_stats_table_on_exit_; |
| 444 }; | 444 }; |
| 445 | 445 |
| 446 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_H_ | 446 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_H_ |
| OLD | NEW |