| 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 SKY_VIEWER_INTERNALS_H_ | 5 #ifndef SKY_VIEWER_INTERNALS_H_ |
| 6 #define SKY_VIEWER_INTERNALS_H_ | 6 #define SKY_VIEWER_INTERNALS_H_ |
| 7 | 7 |
| 8 #include "base/memory/weak_ptr.h" | 8 #include "base/memory/weak_ptr.h" |
| 9 #include "base/supports_user_data.h" | 9 #include "base/supports_user_data.h" |
| 10 #include "dart/runtime/include/dart_api.h" | 10 #include "dart/runtime/include/dart_api.h" |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 | 29 |
| 30 std::string RenderTreeAsText(); | 30 std::string RenderTreeAsText(); |
| 31 std::string ContentAsText(); | 31 std::string ContentAsText(); |
| 32 void NotifyTestComplete(const std::string& test_result); | 32 void NotifyTestComplete(const std::string& test_result); |
| 33 | 33 |
| 34 mojo::Handle TakeShellProxyHandle(); | 34 mojo::Handle TakeShellProxyHandle(); |
| 35 mojo::Handle TakeServicesProvidedToEmbedder(); | 35 mojo::Handle TakeServicesProvidedToEmbedder(); |
| 36 mojo::Handle TakeServicesProvidedByEmbedder(); | 36 mojo::Handle TakeServicesProvidedByEmbedder(); |
| 37 mojo::Handle TakeServiceRegistry(); | 37 mojo::Handle TakeServiceRegistry(); |
| 38 | 38 |
| 39 void pauseAnimations(double pauseTime); | |
| 40 | |
| 41 private: | 39 private: |
| 42 explicit Internals(DocumentView* document_view); | 40 explicit Internals(DocumentView* document_view); |
| 43 | 41 |
| 44 base::WeakPtr<DocumentView> document_view_; | 42 base::WeakPtr<DocumentView> document_view_; |
| 45 mojo::Binding<mojo::Shell> shell_binding_; | 43 mojo::Binding<mojo::Shell> shell_binding_; |
| 46 TestHarnessPtr test_harness_; | 44 TestHarnessPtr test_harness_; |
| 47 | 45 |
| 48 MOJO_DISALLOW_COPY_AND_ASSIGN(Internals); | 46 MOJO_DISALLOW_COPY_AND_ASSIGN(Internals); |
| 49 }; | 47 }; |
| 50 | 48 |
| 51 } // namespace sky | 49 } // namespace sky |
| 52 | 50 |
| 53 #endif // SKY_VIEWER_INTERNALS_H_ | 51 #endif // SKY_VIEWER_INTERNALS_H_ |
| OLD | NEW |