Index: sky/shell/ui/engine.cc |
diff --git a/sky/shell/ui/engine.cc b/sky/shell/ui/engine.cc |
index c0762587ab0523ffa3e21a6272983c4766f843a6..362b9be9ee9d06926f5c4177b6f12b7234c5dcee 100644 |
--- a/sky/shell/ui/engine.cc |
+++ b/sky/shell/ui/engine.cc |
@@ -161,13 +161,15 @@ void Engine::OnInputEvent(InputEventPtr event) { |
ConvertEvent(event, device_pixel_ratio_); |
if (!web_event) |
return; |
+ if (sky_view_) |
+ sky_view_->HandleInputEvent(*web_event); |
if (web_view_) |
web_view_->handleInputEvent(*web_event); |
} |
void Engine::LoadURL(const mojo::String& url) { |
// Enable SkyView here. |
- if (false) { |
+ if (true) { |
eseidel
2015/05/19 23:49:00
You don't want this.
|
sky_view_ = blink::SkyView::Create(this); |
sky_view_->Load(GURL(url)); |
return; |