Bug 1234315 - Add reader view to UrlAnnotations r=sebastian draft
authorAndrzej Hunt <ahunt@mozilla.com>
Tue, 29 Mar 2016 20:01:33 -0700
changeset 345970 5e59fd8abc5bce8b99d3bd7fb1e3ebedfc79c578
parent 345735 c1a1079daea1be3b0beb8e63e6d41956a1f5642d
child 345971 1775058f9170b88525f32362edcf8003b5b050bd
push id14203
push userahunt@mozilla.com
push dateWed, 30 Mar 2016 17:53:06 +0000
reviewerssebastian
bugs1234315
milestone48.0a1
Bug 1234315 - Add reader view to UrlAnnotations r=sebastian MozReview-Commit-ID: FkErHQxavkV
mobile/android/base/java/org/mozilla/gecko/db/BrowserContract.java
--- a/mobile/android/base/java/org/mozilla/gecko/db/BrowserContract.java
+++ b/mobile/android/base/java/org/mozilla/gecko/db/BrowserContract.java
@@ -528,17 +528,25 @@ public class BrowserContract {
             FEED("feed"),
 
             /**
              * This key maps URLs of feeds to an object describing the feed.
              *
              * Key:   feed_subscription
              * Value: JSON object describing feed
              */
-            FEED_SUBSCRIPTION("feed_subscription");
+            FEED_SUBSCRIPTION("feed_subscription"),
+
+            /**
+             * Indicates that this URL (if stored as a bookmark) should be opened into reader view.
+             *
+             * Key:   reader_view
+             * Value: String "true" to indicate that we would like to open into reader view.
+             */
+            READER_VIEW("reader_view");
 
             private final String dbValue;
 
             Key(final String dbValue) { this.dbValue = dbValue; }
             public String getDbValue() { return dbValue; }
         }
 
         public enum SyncStatus {