Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(173)

Side by Side Diff: sky/shell/ui/engine.cc

Issue 957973003: Fix sky shell. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « sky/shell/ui/engine.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « sky/shell/ui/engine.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698