Merge change 3795 into donut
* changes: URI/extra data for inline scheme.
This commit is contained in:
@@ -33,6 +33,12 @@ public class Browser {
|
|||||||
public static final Uri BOOKMARKS_URI =
|
public static final Uri BOOKMARKS_URI =
|
||||||
Uri.parse("content://browser/bookmarks");
|
Uri.parse("content://browser/bookmarks");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The inline scheme to show embedded content in a browser.
|
||||||
|
* @hide
|
||||||
|
*/
|
||||||
|
public static final Uri INLINE_URI = Uri.parse("inline:");
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The name of extra data when starting Browser with ACTION_VIEW or
|
* The name of extra data when starting Browser with ACTION_VIEW or
|
||||||
* ACTION_SEARCH intent.
|
* ACTION_SEARCH intent.
|
||||||
@@ -53,8 +59,26 @@ public class Browser {
|
|||||||
* identifier.
|
* identifier.
|
||||||
*/
|
*/
|
||||||
public static final String EXTRA_APPLICATION_ID =
|
public static final String EXTRA_APPLICATION_ID =
|
||||||
"com.android.browser.application_id";
|
"com.android.browser.application_id";
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The content to be rendered when url's scheme is inline.
|
||||||
|
* @hide
|
||||||
|
*/
|
||||||
|
public static final String EXTRA_INLINE_CONTENT ="com.android.browser.inline.content";
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The encoding of the inlined content for inline scheme.
|
||||||
|
* @hide
|
||||||
|
*/
|
||||||
|
public static final String EXTRA_INLINE_ENCODING ="com.android.browser.inline.encoding";
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The url used when the inline content is falied to render.
|
||||||
|
* @hide
|
||||||
|
*/
|
||||||
|
public static final String EXTRA_INLINE_FAILURL ="com.android.browser.inline.failurl";
|
||||||
|
|
||||||
/* if you change column order you must also change indices
|
/* if you change column order you must also change indices
|
||||||
below */
|
below */
|
||||||
public static final String[] HISTORY_PROJECTION = new String[] {
|
public static final String[] HISTORY_PROJECTION = new String[] {
|
||||||
|
|||||||
Reference in New Issue
Block a user