| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 Google Inc. All rights reserved. |
| 3 * Copyright (C) 2010 Pawel Hajdan (phajdan.jr@chromium.org) | 3 * Copyright (C) 2010 Pawel Hajdan (phajdan.jr@chromium.org) |
| 4 * Copyright (C) 2012 Apple Inc. All Rights Reserved. | 4 * Copyright (C) 2012 Apple Inc. All Rights Reserved. |
| 5 * | 5 * |
| 6 * Redistribution and use in source and binary forms, with or without | 6 * Redistribution and use in source and binary forms, with or without |
| 7 * modification, are permitted provided that the following conditions are | 7 * modification, are permitted provided that the following conditions are |
| 8 * met: | 8 * met: |
| 9 * | 9 * |
| 10 * * Redistributions of source code must retain the above copyright | 10 * * Redistributions of source code must retain the above copyright |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 91 bool testRepaint() const; | 91 bool testRepaint() const; |
| 92 bool sweepHorizontally() const; | 92 bool sweepHorizontally() const; |
| 93 bool isPrinting() const; | 93 bool isPrinting() const; |
| 94 bool shouldDumpAsText(); | 94 bool shouldDumpAsText(); |
| 95 bool shouldDumpChildFrameScrollPositions() const; | 95 bool shouldDumpChildFrameScrollPositions() const; |
| 96 bool shouldDumpChildFramesAsText() const; | 96 bool shouldDumpChildFramesAsText() const; |
| 97 void showDevTools(); | 97 void showDevTools(); |
| 98 void setShouldDumpAsText(bool); | 98 void setShouldDumpAsText(bool); |
| 99 void setShouldGeneratePixelResults(bool); | 99 void setShouldGeneratePixelResults(bool); |
| 100 void setShouldDumpFrameLoadCallbacks(bool); | 100 void setShouldDumpFrameLoadCallbacks(bool); |
| 101 void setShouldDumpPingLoaderCallbacks(bool); |
| 101 bool shouldDumpEditingCallbacks() const; | 102 bool shouldDumpEditingCallbacks() const; |
| 102 bool shouldDumpFrameLoadCallbacks() const; | 103 bool shouldDumpFrameLoadCallbacks() const; |
| 104 bool shouldDumpPingLoaderCallbacks() const; |
| 103 bool shouldDumpUserGestureInFrameLoadCallbacks() const; | 105 bool shouldDumpUserGestureInFrameLoadCallbacks() const; |
| 104 bool shouldDumpTitleChanges() const; | 106 bool shouldDumpTitleChanges() const; |
| 105 bool shouldDumpIconChanges() const; | 107 bool shouldDumpIconChanges() const; |
| 106 bool shouldDumpCreateView() const; | 108 bool shouldDumpCreateView() const; |
| 107 bool canOpenWindows() const; | 109 bool canOpenWindows() const; |
| 108 bool shouldDumpResourceLoadCallbacks() const; | 110 bool shouldDumpResourceLoadCallbacks() const; |
| 109 bool shouldDumpResourceRequestCallbacks() const; | 111 bool shouldDumpResourceRequestCallbacks() const; |
| 110 bool shouldDumpResourceResponseMIMETypes() const; | 112 bool shouldDumpResourceResponseMIMETypes() const; |
| 111 bool shouldDumpStatusCallbacks() const; | 113 bool shouldDumpStatusCallbacks() const; |
| 112 bool shouldDumpProgressFinishedCallback() const; | 114 bool shouldDumpProgressFinishedCallback() const; |
| (...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 333 | 335 |
| 334 // Deals with Web Audio WAV file data. | 336 // Deals with Web Audio WAV file data. |
| 335 void setAudioData(const CppArgumentList&, CppVariant*); | 337 void setAudioData(const CppArgumentList&, CppVariant*); |
| 336 | 338 |
| 337 // This function sets a flag that tells the test_shell to print a line of | 339 // This function sets a flag that tells the test_shell to print a line of |
| 338 // descriptive text for each frame load callback. It takes no arguments, and | 340 // descriptive text for each frame load callback. It takes no arguments, and |
| 339 // ignores any that may be present. | 341 // ignores any that may be present. |
| 340 void dumpFrameLoadCallbacks(const CppArgumentList&, CppVariant*); | 342 void dumpFrameLoadCallbacks(const CppArgumentList&, CppVariant*); |
| 341 | 343 |
| 342 // This function sets a flag that tells the test_shell to print a line of | 344 // This function sets a flag that tells the test_shell to print a line of |
| 345 // descriptive text for each PingLoader dispatch. It takes no arguments, and |
| 346 // ignores any that may be present. |
| 347 void dumpPingLoaderCallbacks(const CppArgumentList&, CppVariant*); |
| 348 |
| 349 // This function sets a flag that tells the test_shell to print a line of |
| 343 // user gesture status text for some frame load callbacks. It takes no | 350 // user gesture status text for some frame load callbacks. It takes no |
| 344 // arguments, and ignores any that may be present. | 351 // arguments, and ignores any that may be present. |
| 345 void dumpUserGestureInFrameLoadCallbacks(const CppArgumentList&, CppVariant*
); | 352 void dumpUserGestureInFrameLoadCallbacks(const CppArgumentList&, CppVariant*
); |
| 346 | 353 |
| 347 void dumpTitleChanges(const CppArgumentList&, CppVariant*); | 354 void dumpTitleChanges(const CppArgumentList&, CppVariant*); |
| 348 | 355 |
| 349 // This function sets a flag that tells the test_shell to dump all calls to | 356 // This function sets a flag that tells the test_shell to dump all calls to |
| 350 // WebViewClient::createView(). | 357 // WebViewClient::createView(). |
| 351 // It takes no arguments, and ignores any that may be present. | 358 // It takes no arguments, and ignores any that may be present. |
| 352 void dumpCreateView(const CppArgumentList&, CppVariant*); | 359 void dumpCreateView(const CppArgumentList&, CppVariant*); |
| (...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 601 // If true, the test_shell will print out the icon change notifications. | 608 // If true, the test_shell will print out the icon change notifications. |
| 602 bool m_dumpIconChanges; | 609 bool m_dumpIconChanges; |
| 603 | 610 |
| 604 // If true, the test_shell will output a base64 encoded WAVE file. | 611 // If true, the test_shell will output a base64 encoded WAVE file. |
| 605 bool m_dumpAsAudio; | 612 bool m_dumpAsAudio; |
| 606 | 613 |
| 607 // If true, the test_shell will output a descriptive line for each frame | 614 // If true, the test_shell will output a descriptive line for each frame |
| 608 // load callback. | 615 // load callback. |
| 609 bool m_dumpFrameLoadCallbacks; | 616 bool m_dumpFrameLoadCallbacks; |
| 610 | 617 |
| 618 // If true, the test_shell will output a descriptive line for each |
| 619 // PingLoader dispatched. |
| 620 bool m_dumpPingLoaderCallbacks; |
| 621 |
| 611 // If true, the test_shell will output a line of the user gesture status | 622 // If true, the test_shell will output a line of the user gesture status |
| 612 // text for some frame load callbacks. | 623 // text for some frame load callbacks. |
| 613 bool m_dumpUserGestureInFrameLoadCallbacks; | 624 bool m_dumpUserGestureInFrameLoadCallbacks; |
| 614 | 625 |
| 615 // If true, output a message when the page title is changed. | 626 // If true, output a message when the page title is changed. |
| 616 bool m_dumpTitleChanges; | 627 bool m_dumpTitleChanges; |
| 617 | 628 |
| 618 // If true, output a descriptive line each time WebViewClient::createView | 629 // If true, output a descriptive line each time WebViewClient::createView |
| 619 // is invoked. | 630 // is invoked. |
| 620 bool m_dumpCreateView; | 631 bool m_dumpCreateView; |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 697 enum { | 708 enum { |
| 698 PointerLockWillSucceed, | 709 PointerLockWillSucceed, |
| 699 PointerLockWillRespondAsync, | 710 PointerLockWillRespondAsync, |
| 700 PointerLockWillFailSync, | 711 PointerLockWillFailSync, |
| 701 } m_pointerLockPlannedResult; | 712 } m_pointerLockPlannedResult; |
| 702 }; | 713 }; |
| 703 | 714 |
| 704 } | 715 } |
| 705 | 716 |
| 706 #endif // TestRunner_h | 717 #endif // TestRunner_h |
| OLD | NEW |