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

Side by Side Diff: media/mojo/interfaces/android_overlay.mojom

Issue 2765443004: AndroidOverlay implementation using Dialog. (Closed)
Patch Set: fixed test Created 3 years, 7 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
OLDNEW
1 // Copyright 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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 media.mojom; 5 module media.mojom;
6 6
7 import "media/mojo/interfaces/media_types.mojom"; 7 import "media/mojo/interfaces/media_types.mojom";
8 import "mojo/common/unguessable_token.mojom"; 8 import "mojo/common/unguessable_token.mojom";
9 import "ui/gfx/geometry/mojo/geometry.mojom"; 9 import "ui/gfx/geometry/mojo/geometry.mojom";
10 10
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 struct AndroidOverlayConfig { 49 struct AndroidOverlayConfig {
50 // |routing_token| provides the client with an opaque handle that will attach 50 // |routing_token| provides the client with an opaque handle that will attach
51 // an overlay to a the correct WindowAndroid. Typical usage is that a 51 // an overlay to a the correct WindowAndroid. Typical usage is that a
52 // RenderFrameHostImpl will provide this token to the RenderFrame. When the 52 // RenderFrameHostImpl will provide this token to the RenderFrame. When the
53 // overlay is created, the WindowAndroid that currently hosts the render frame 53 // overlay is created, the WindowAndroid that currently hosts the render frame
54 // will be the parent of the overlay. For legacy reasons, we need this token 54 // will be the parent of the overlay. For legacy reasons, we need this token
55 // to be sent via IPC, so using the message pipe, or other mojo construct, as 55 // to be sent via IPC, so using the message pipe, or other mojo construct, as
56 // the identifier won't work yet. 56 // the identifier won't work yet.
57 mojo.common.mojom.UnguessableToken routing_token; 57 mojo.common.mojom.UnguessableToken routing_token;
58 58
59 // Initial rectangle.
59 gfx.mojom.Rect rect; 60 gfx.mojom.Rect rect;
61
62 // Is a secure overlay required, such as for displaying protected content?
63 bool secure;
60 }; 64 };
OLDNEW
« no previous file with comments | « media/mojo/clients/mojo_android_overlay_unittest.cc ('k') | ui/android/java/src/org/chromium/ui/base/WindowAndroid.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698