| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CONTENT_SHELL_RENDERER_TEST_RUNNER_TEST_RUNNER_H_ | 5 #ifndef CONTENT_SHELL_RENDERER_TEST_RUNNER_TEST_RUNNER_H_ |
| 6 #define CONTENT_SHELL_RENDERER_TEST_RUNNER_TEST_RUNNER_H_ | 6 #define CONTENT_SHELL_RENDERER_TEST_RUNNER_TEST_RUNNER_H_ |
| 7 | 7 |
| 8 #include <deque> | 8 #include <deque> |
| 9 #include <set> | 9 #include <set> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 487 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 498 double confidence); | 498 double confidence); |
| 499 void SetMockSpeechRecognitionError(const std::string& error, | 499 void SetMockSpeechRecognitionError(const std::string& error, |
| 500 const std::string& message); | 500 const std::string& message); |
| 501 bool WasMockSpeechRecognitionAborted(); | 501 bool WasMockSpeechRecognitionAborted(); |
| 502 | 502 |
| 503 // WebPageOverlay related functions. Permits the adding and removing of only | 503 // WebPageOverlay related functions. Permits the adding and removing of only |
| 504 // one opaque overlay. | 504 // one opaque overlay. |
| 505 void AddWebPageOverlay(); | 505 void AddWebPageOverlay(); |
| 506 void RemoveWebPageOverlay(); | 506 void RemoveWebPageOverlay(); |
| 507 | 507 |
| 508 void Display(); | |
| 509 void DisplayAsync(); | 508 void DisplayAsync(); |
| 510 void DisplayAsyncThen(v8::Handle<v8::Function> callback); | 509 void DisplayAsyncThen(v8::Handle<v8::Function> callback); |
| 511 | 510 |
| 512 /////////////////////////////////////////////////////////////////////////// | 511 /////////////////////////////////////////////////////////////////////////// |
| 513 // Internal helpers | 512 // Internal helpers |
| 514 void CheckResponseMimeType(); | 513 void CheckResponseMimeType(); |
| 515 void CompleteNotifyDone(); | 514 void CompleteNotifyDone(); |
| 516 | 515 |
| 517 void DidAcquirePointerLockInternal(); | 516 void DidAcquirePointerLockInternal(); |
| 518 void DidNotAcquirePointerLockInternal(); | 517 void DidNotAcquirePointerLockInternal(); |
| (...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 701 bool use_mock_theme_; | 700 bool use_mock_theme_; |
| 702 | 701 |
| 703 base::WeakPtrFactory<TestRunner> weak_factory_; | 702 base::WeakPtrFactory<TestRunner> weak_factory_; |
| 704 | 703 |
| 705 DISALLOW_COPY_AND_ASSIGN(TestRunner); | 704 DISALLOW_COPY_AND_ASSIGN(TestRunner); |
| 706 }; | 705 }; |
| 707 | 706 |
| 708 } // namespace content | 707 } // namespace content |
| 709 | 708 |
| 710 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_TEST_RUNNER_H_ | 709 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_TEST_RUNNER_H_ |
| OLD | NEW |