Bug 1245493 - Add comments to existing code to clarify them. r=margaret

MozReview-Commit-ID: KwOy1KMoPaY

--HG--
extra : rebase_source : c91e633f84b5b8444061fd04a34bd6b17b09abd3
This commit is contained in:
Michael Comella 2016-03-28 18:41:34 -07:00
parent 56fe7c4bcb
commit 1f3589a649
2 changed files with 3 additions and 0 deletions

View File

@ -64,6 +64,8 @@ public class Tab {
private SiteLogins mSiteLogins;
private BitmapDrawable mThumbnail;
private final int mParentId;
// Indicates the url was loaded from a source external to the app. This will be cleared
// when the user explicitly loads a new url (e.g. clicking a link is not explicit).
private final boolean mExternal;
private boolean mBookmark;
private int mFaviconLoadId;

View File

@ -63,6 +63,7 @@ public class Tabs implements GeckoEventListener {
public static final int LOADURL_DELAY_LOAD = 1 << 4;
public static final int LOADURL_DESKTOP = 1 << 5;
public static final int LOADURL_BACKGROUND = 1 << 6;
/** Indicates the url has been specified by a source external to the app. */
public static final int LOADURL_EXTERNAL = 1 << 7;
private static final long PERSIST_TABS_AFTER_MILLISECONDS = 1000 * 2;