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

Side by Side Diff: content/public/android/java/src/org/chromium/content/browser/androidoverlay/AndroidOverlayImpl.java

Issue 2688193002: Mojo framework for AndroidOverlay. (Closed)
Patch Set: fixed mojo manifest bug introduced by rebase Created 3 years, 9 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
(Empty)
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
3 // found in the LICENSE file.
4
5 package org.chromium.content.browser.androidoverlay;
6
7 import org.chromium.gfx.mojom.Rect;
8 import org.chromium.media.mojom.AndroidOverlay;
9 import org.chromium.media.mojom.AndroidOverlayClient;
10 import org.chromium.media.mojom.AndroidOverlayConfig;
11 import org.chromium.mojo.system.MojoException;
12
13 /**
14 * Default AndroidOverlay impl. Will use a separate (shared) overlay-ui thread to own a Dialog
15 * instance, probably via a separate object that operates only on that thread. We will post
16 * messages to / from that thread from the main thread.
17 */
18 public class AndroidOverlayImpl implements AndroidOverlay {
19 private static final String TAG = "AndroidOverlay";
20
21 public AndroidOverlayImpl(AndroidOverlayClient client, AndroidOverlayConfig config) {}
22
23 @Override
24 public void close() {
25 // Client has closed the connection.
26 // TODO(liberato): Allow any sync surfaceDestroyed to proceed.
27 // TODO(liberato): Notify our provider that we've been destroyed.
28 }
29
30 @Override
31 public void onConnectionError(MojoException e) {}
32
33 @Override
34 public void scheduleLayout(Rect rect) {}
35 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698