Bug 1413698 - 6. Remove PresentationView; r=me draft
authorJim Chen <nchen@mozilla.com>
Thu, 02 Nov 2017 13:09:15 -0400
changeset 692164 9dae63135e450ea59803bdabb57bb047eba138b3
parent 692163 3fca82d562d09968bdca85c451913825b15a5ae4
child 738685 e70a138facf6711e91012a3d2cb8b95684fad44a
push id87420
push userbmo:nchen@mozilla.com
push dateThu, 02 Nov 2017 17:09:33 +0000
reviewersme
bugs1413698
milestone58.0a1
Bug 1413698 - 6. Remove PresentationView; r=me Remove PresentationView, which is no longer used. r=me for trivial patch. MozReview-Commit-ID: DKcysGTXXC7
mobile/android/base/java/org/mozilla/gecko/PresentationView.java
mobile/android/base/moz.build
deleted file mode 100644
--- a/mobile/android/base/java/org/mozilla/gecko/PresentationView.java
+++ /dev/null
@@ -1,27 +0,0 @@
-/* -*- Mode: Java; c-basic-offset: 4; tab-width: 20; indent-tabs-mode: nil; -*-
- * vim: ts=4 sw=4 expandtab:
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-
-package org.mozilla.gecko;
-
-import org.mozilla.gecko.annotation.WrapForJNI;
-import org.mozilla.gecko.GeckoThread;
-import org.mozilla.gecko.GeckoView;
-import org.mozilla.gecko.ScreenManagerHelper;
-
-import android.content.Context;
-import android.util.AttributeSet;
-import android.util.DisplayMetrics;
-
-public class PresentationView extends GeckoView {
-    private static final String LOGTAG = "PresentationView";
-    private static final String PRESENTATION_VIEW_URI = "chrome://browser/content/PresentationView.xul";
-
-    public PresentationView(Context context, String deviceId, int screenId) {
-        super(context);
-        this.mChromeUri = PRESENTATION_VIEW_URI + "#" + deviceId;
-        this.mScreenId = screenId;
-    }
-}
--- a/mobile/android/base/moz.build
+++ b/mobile/android/base/moz.build
@@ -813,17 +813,16 @@ gbjar.sources += ['java/org/mozilla/geck
     'preferences/PanelsPreference.java',
     'preferences/PanelsPreferenceCategory.java',
     'preferences/PrivateDataPreference.java',
     'preferences/SearchEnginePreference.java',
     'preferences/SearchPreferenceCategory.java',
     'preferences/SetHomepagePreference.java',
     'preferences/SyncPreference.java',
     'preferences/TopSitesPanelsPreference.java',
-    'PresentationView.java',
     'PrintHelper.java',
     'PrivateTab.java',
     'promotion/AddToHomeScreenPromotion.java',
     'promotion/HomeScreenPrompt.java',
     'promotion/ReaderViewBookmarkPromotion.java',
     'promotion/SimpleHelperUI.java',
     'prompts/ColorPickerInput.java',
     'prompts/IconGridInput.java',