Commit f175ce21 authored by Peter Kotwicz's avatar Peter Kotwicz Committed by Commit Bot

Remove unneeded FullscreenOptions implementation of Parcelable

This is unused as of
https://chromium-review.googlesource.com/c/chromium/src/+/1382499

BUG=None

Change-Id: I0ed23f05fe2630cdaa2ab2cf7c904f3b0cb53ce6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1949859
Commit-Queue: Peter Kotwicz <pkotwicz@chromium.org>
Reviewed-by: default avatarJinsuk Kim <jinsukkim@chromium.org>
Reviewed-by: default avatarYaron Friedman <yfriedman@chromium.org>
Cr-Commit-Position: refs/heads/master@{#721623}
parent e1c32997
......@@ -95,11 +95,6 @@ public class IntentHandler {
*/
public static final String EXTRA_TAB_ID = "com.android.chrome.tab_id";
/**
* Parcelable FullscreenOptions to use when creating a new Tab.
*/
public static final String EXTRA_FULLSCREEN_OPTIONS = "com.android.chrome.fullscreen_options";
/**
* The tab id of the parent tab, if any.
*/
......
......@@ -4,13 +4,10 @@
package org.chromium.chrome.browser.fullscreen;
import android.os.Parcel;
import android.os.Parcelable;
/**
* Options to control a fullscreen request.
*/
public class FullscreenOptions implements Parcelable {
public class FullscreenOptions {
private boolean mShowNavigationBar;
/**
......@@ -37,41 +34,4 @@ public class FullscreenOptions implements Parcelable {
FullscreenOptions options = (FullscreenOptions) obj;
return mShowNavigationBar == options.mShowNavigationBar;
}
/**
* The Parcelable interface.
* */
public static final Parcelable.Creator<FullscreenOptions> CREATOR =
new Parcelable.Creator<FullscreenOptions>() {
@Override
public FullscreenOptions createFromParcel(Parcel in) {
return new FullscreenOptions(in);
}
@Override
public FullscreenOptions[] newArray(int size) {
return new FullscreenOptions[size];
}
};
/**
* {@inheritDoc}
*/
@Override
public int describeContents() {
return 0;
}
/**
* {@inheritDoc}
*/
@Override
public void writeToParcel(Parcel out, int flags) {
out.writeByte(mShowNavigationBar ? (byte) 1 : (byte) 0);
}
private FullscreenOptions(Parcel in) {
mShowNavigationBar = in.readByte() != 0;
}
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment