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

Side by Side Diff: mojo/services/native_viewport/public/interfaces/native_viewport.mojom

Issue 1280613003: Allow native_viewport to create new native windows on demand on Android. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 4 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 | services/native_viewport/BUILD.gn » ('j') | services/native_viewport/BUILD.gn » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 [DartPackage="mojo_services"] 5 [DartPackage="mojo_services"]
6 module mojo; 6 module mojo;
7 7
8 import "geometry/public/interfaces/geometry.mojom"; 8 import "geometry/public/interfaces/geometry.mojom";
9 import "gpu/public/interfaces/context_provider.mojom"; 9 import "gpu/public/interfaces/context_provider.mojom";
10 import "input_events/public/interfaces/input_events.mojom"; 10 import "input_events/public/interfaces/input_events.mojom";
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 // method. Call RequestMetrics() to receive updates when the viewport metrics 42 // method. Call RequestMetrics() to receive updates when the viewport metrics
43 // change. The reply will be sent when the viewport metrics are different from 43 // change. The reply will be sent when the viewport metrics are different from
44 // the values last sent, so to receive continuous updates call this method 44 // the values last sent, so to receive continuous updates call this method
45 // again after receiving the callback. 45 // again after receiving the callback.
46 RequestMetrics() => (ViewportMetrics metrics); 46 RequestMetrics() => (ViewportMetrics metrics);
47 }; 47 };
48 48
49 interface NativeViewportEventDispatcher { 49 interface NativeViewportEventDispatcher {
50 OnEvent(Event event) => (); 50 OnEvent(Event event) => ();
51 }; 51 };
52
53 // Service to be used by the Shell to notify NativeViewport of major changes.
54 interface NativeViewportShellService {
qsr 2015/08/06 14:13:20 Should this be in another place. This should not b
etiennej 2015/08/07 10:16:37 Done.
55 // A new native surface (e.g.: a new activity instance on Android) is
56 // available and can be used for rendering.
57 NewNativeSurfaceAvailable();
58 };
OLDNEW
« no previous file with comments | « no previous file | services/native_viewport/BUILD.gn » ('j') | services/native_viewport/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698