diff options
Diffstat (limited to 'components/arc/test/fake_app_instance.cc')
| -rw-r--r-- | components/arc/test/fake_app_instance.cc | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/components/arc/test/fake_app_instance.cc b/components/arc/test/fake_app_instance.cc index f837a7b..8f6fe71 100644 --- a/components/arc/test/fake_app_instance.cc +++ b/components/arc/test/fake_app_instance.cc @@ -37,7 +37,8 @@ void FakeAppInstance::RefreshAppList() { } void FakeAppInstance::LaunchApp(const mojo::String& package_name, - const mojo::String& activity) { + const mojo::String& activity, + ScreenRectPtr dimension) { launch_requests_.push_back(new Request(package_name, activity)); } @@ -125,4 +126,11 @@ void FakeAppInstance::WaitForOnAppInstanceReady() { } } +void FakeAppInstance::CanHandleResolution(const mojo::String& package_name, + const mojo::String& activity, + ScreenRectPtr dimension, + const CanHandleResolutionCallback& callback) { + callback.Run(true); +} + } // namespace arc |
