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
Родитель 56fe7c4bcb
Коммит 1f3589a649
2 изменённых файлов: 3 добавлений и 0 удалений

Просмотреть файл

@ -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;

Просмотреть файл

@ -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;