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

Side by Side Diff: sky/services/viewport/viewport_observer.mojom

Issue 946583003: Teach SkyShell how to listen for VIEW intents of sky: urls. (Closed) Base URL: git@github.com:abarth/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 | « no previous file | sky/shell/apk/AndroidManifest.xml » ('j') | sky/shell/ui/engine.cc » ('J')
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 module sky; 5 module sky;
6 6
7 import "sky/services/viewport/input_event.mojom"; 7 import "sky/services/viewport/input_event.mojom";
8 8
9 // TODO(eseidel): Rename this interface.
9 interface ViewportObserver { 10 interface ViewportObserver {
10 OnViewportMetricsChanged(int32 width, int32 height, float device_pixel_ratio); 11 OnViewportMetricsChanged(int32 width, int32 height, float device_pixel_ratio);
11 OnInputEvent(InputEvent event); 12 OnInputEvent(InputEvent event);
13 LoadURL(string url);
12 }; 14 };
OLDNEW
« no previous file with comments | « no previous file | sky/shell/apk/AndroidManifest.xml » ('j') | sky/shell/ui/engine.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698