Add the ability for Sky content to trigger Android intents

We can use these intents to move the demo launcher to the new world.

R=eseidel@chromium.org

Review URL: https://codereview.chromium.org/1187583002.
This commit is contained in:
Adam Barth
2015-06-12 13:43:01 -07:00
parent fce1c80fa0
commit eeb8dd457c
2 changed files with 3 additions and 0 deletions

View File

@@ -36,6 +36,7 @@ group("sky_apk") {
"//mojo/dart/mojom",
"//mojo/public/dart:mojo",
"//sky/sdk",
"//sky/services/intents",
"//third_party/dart-pkg",
]

View File

@@ -116,6 +116,8 @@ void Engine::OnAcceleratedWidgetAvailable(gfx::AcceleratedWidget widget) {
config_.gpu_task_runner->PostTask(
FROM_HERE, base::Bind(&GPUDelegate::OnAcceleratedWidgetAvailable,
config_.gpu_delegate, widget));
if (sky_view_)
scheduleVisualUpdate();
if (web_view_)
scheduleVisualUpdate();
}