| 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 409 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 420 /////////////////////////////////////////////////////////////////////////// | 420 /////////////////////////////////////////////////////////////////////////// |
| 421 // Methods interacting with the WebTestProxy | 421 // Methods interacting with the WebTestProxy |
| 422 | 422 |
| 423 /////////////////////////////////////////////////////////////////////////// | 423 /////////////////////////////////////////////////////////////////////////// |
| 424 // Methods forwarding to the WebTestDelegate | 424 // Methods forwarding to the WebTestDelegate |
| 425 | 425 |
| 426 // Shows DevTools window. | 426 // Shows DevTools window. |
| 427 void showWebInspector(const CppArgumentList&, CppVariant*); | 427 void showWebInspector(const CppArgumentList&, CppVariant*); |
| 428 void closeWebInspector(const CppArgumentList&, CppVariant*); | 428 void closeWebInspector(const CppArgumentList&, CppVariant*); |
| 429 | 429 |
| 430 // Inspect chooser state |
| 431 void isChooserShown(const CppArgumentList&, CppVariant*); |
| 432 |
| 430 // Allows layout tests to exec scripts at WebInspector side. | 433 // Allows layout tests to exec scripts at WebInspector side. |
| 431 void evaluateInWebInspector(const CppArgumentList&, CppVariant*); | 434 void evaluateInWebInspector(const CppArgumentList&, CppVariant*); |
| 432 | 435 |
| 433 // Clears all databases. | 436 // Clears all databases. |
| 434 void clearAllDatabases(const CppArgumentList&, CppVariant*); | 437 void clearAllDatabases(const CppArgumentList&, CppVariant*); |
| 435 // Sets the default quota for all origins | 438 // Sets the default quota for all origins |
| 436 void setDatabaseQuota(const CppArgumentList&, CppVariant*); | 439 void setDatabaseQuota(const CppArgumentList&, CppVariant*); |
| 437 | 440 |
| 438 // Changes the cookie policy from the default to allow all cookies. | 441 // Changes the cookie policy from the default to allow all cookies. |
| 439 void setAlwaysAcceptCookies(const CppArgumentList&, CppVariant*); | 442 void setAlwaysAcceptCookies(const CppArgumentList&, CppVariant*); |
| (...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 696 enum { | 699 enum { |
| 697 PointerLockWillSucceed, | 700 PointerLockWillSucceed, |
| 698 PointerLockWillRespondAsync, | 701 PointerLockWillRespondAsync, |
| 699 PointerLockWillFailSync, | 702 PointerLockWillFailSync, |
| 700 } m_pointerLockPlannedResult; | 703 } m_pointerLockPlannedResult; |
| 701 }; | 704 }; |
| 702 | 705 |
| 703 } | 706 } |
| 704 | 707 |
| 705 #endif // TestRunner_h | 708 #endif // TestRunner_h |
| OLD | NEW |