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

Unified Diff: remoting/android/java/src/org/chromium/chromoting/DesktopViewFactory.java

Issue 2132883002: [Remoting Android] Placeholder for DesktopView (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase ToT and do same fix for GlDisplay Created 4 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: remoting/android/java/src/org/chromium/chromoting/DesktopViewFactory.java
diff --git a/remoting/android/java/src/org/chromium/chromoting/DesktopViewFactory.java b/remoting/android/java/src/org/chromium/chromoting/DesktopViewFactory.java
new file mode 100644
index 0000000000000000000000000000000000000000..3cb55ba024bb265ec3e94ef52ac9ed4ee9d15afe
--- /dev/null
+++ b/remoting/android/java/src/org/chromium/chromoting/DesktopViewFactory.java
@@ -0,0 +1,18 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+package org.chromium.chromoting;
+
+import android.content.Context;
+
+/**
+ * Interface for creating a implementation specific desktop view.
+ */
+public interface DesktopViewFactory {
+ /**
+ * Creates an uninitialized implementation specific desktop view. Initializing and adding the
+ * view should done separately.
+ */
+ AbstractDesktopView createDesktopView(Context context);
+}

Powered by Google App Engine
This is Rietveld 408576698