OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 #include "sky/shell/ui/engine.h" | 5 #include "sky/shell/ui/engine.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "mojo/public/cpp/application/connect.h" | 8 #include "mojo/public/cpp/application/connect.h" |
9 #include "sky/engine/public/platform/WebInputEvent.h" | 9 #include "sky/engine/public/platform/WebInputEvent.h" |
10 #include "sky/engine/public/web/Sky.h" | 10 #include "sky/engine/public/web/Sky.h" |
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
152 void Engine::RequestNavigate(mojo::Target target, | 152 void Engine::RequestNavigate(mojo::Target target, |
153 mojo::URLRequestPtr request) { | 153 mojo::URLRequestPtr request) { |
154 // Ignoring target for now. | 154 // Ignoring target for now. |
155 base::MessageLoop::current()->PostTask(FROM_HERE, | 155 base::MessageLoop::current()->PostTask(FROM_HERE, |
156 base::Bind(&Engine::LoadURL, GetWeakPtr(), request->url)); | 156 base::Bind(&Engine::LoadURL, GetWeakPtr(), request->url)); |
157 } | 157 } |
158 | 158 |
159 void Engine::DidNavigateLocally(const mojo::String& url) { | 159 void Engine::DidNavigateLocally(const mojo::String& url) { |
160 } | 160 } |
161 | 161 |
| 162 void Engine::RequestNavigateHistory(int32_t delta) { |
| 163 NOTIMPLEMENTED(); |
| 164 } |
| 165 |
162 } // namespace shell | 166 } // namespace shell |
163 } // namespace sky | 167 } // namespace sky |
OLD | NEW |