/**@class android.provider.Browser
@extends java.lang.Object

*/
var Browser = {

/** A table containing both bookmarks and history items. The columns of the table are defined in
 {@link android.provider.Browser.BookmarkColumns}.
 @removed
*/
BOOKMARKS_URI : "null",
/** The name of extra data when starting Browser with ACTION_VIEW or
 ACTION_SEARCH intent.
 <p>
 The value should be an integer between 0 and 1000. If not set or set to
 0, the Browser will use default. If set to 100, the Browser will start
 with 100%.
*/
INITIAL_ZOOM_LEVEL : "browser.initialZoomLevel",
/** The name of the extra data when starting the Browser from another
 application.
 <p>
 The value is a unique identification string that will be used to
 identify the calling application. The Browser will attempt to reuse the
 same window each time the application launches the Browser with the same
 identifier.
*/
EXTRA_APPLICATION_ID : "com.android.browser.application_id",
/** The name of the extra data in the VIEW intent. The data are key/value
 pairs in the format of Bundle. They will be sent in the HTTP request
 headers for the provided url. The keys can't be the standard HTTP headers
 as they are set by the WebView. The url's schema must be http(s).
 <p>
*/
EXTRA_HEADERS : "com.android.browser.headers",
/**@removed if you change column order you must also change indices below */
HISTORY_PROJECTION : "null",
/**@removed these indices dependent on HISTORY_PROJECTION */
HISTORY_PROJECTION_ID_INDEX : "0",
/**@removed */
HISTORY_PROJECTION_URL_INDEX : "1",
/**@removed */
HISTORY_PROJECTION_VISITS_INDEX : "2",
/**@removed */
HISTORY_PROJECTION_DATE_INDEX : "3",
/**@removed */
HISTORY_PROJECTION_BOOKMARK_INDEX : "4",
/**@removed */
HISTORY_PROJECTION_TITLE_INDEX : "5",
/**@removed */
HISTORY_PROJECTION_FAVICON_INDEX : "6",
/** @hide
*/
HISTORY_PROJECTION_THUMBNAIL_INDEX : "7",
/** @hide
*/
HISTORY_PROJECTION_TOUCH_ICON_INDEX : "8",
/**@removed columns needed to determine whether to truncate history @removed */
TRUNCATE_HISTORY_PROJECTION : "null",
/**@removed */
TRUNCATE_HISTORY_PROJECTION_ID_INDEX : "0",
/**@removed truncate this many history items at a time */
TRUNCATE_N_OLDEST : "5",
/** A table containing a log of browser searches. The columns of the table are defined in
 {@link android.provider.Browser.SearchColumns}.
 @removed
*/
SEARCHES_URI : "null",
/** A projection of {@link #SEARCHES_URI} that contains {@link android.provider.Browser.SearchColumns#_ID},
 {@link android.provider.Browser.SearchColumns#SEARCH}, and {@link android.provider.Browser.SearchColumns#DATE}.
 @removed
*/
SEARCHES_PROJECTION : "null",
/**@removed these indices dependent on SEARCHES_PROJECTION */
SEARCHES_PROJECTION_SEARCH_INDEX : "1",
/**@removed */
SEARCHES_PROJECTION_DATE_INDEX : "2",
/** Boolean extra passed along with an Intent to a browser, specifying that
 a new tab be created.  Overrides EXTRA_APPLICATION_ID; if both are set,
 a new tab will be used, rather than using the same one.
*/
EXTRA_CREATE_NEW_TAB : "create_new_tab",
/** Stores a Bitmap extra in an {@link Intent} representing the screenshot of
 a page to share.  When receiving an {@link Intent#ACTION_SEND} from the
 Browser, use this to access the screenshot.
 @hide
*/
EXTRA_SHARE_SCREENSHOT : "share_screenshot",
/** Stores a Bitmap extra in an {@link Intent} representing the favicon of a
 page to share.  When receiving an {@link Intent#ACTION_SEND} from the
 Browser, use this to access the favicon.
 @hide
*/
EXTRA_SHARE_FAVICON : "share_favicon",
/**Open an activity to save a bookmark. Launch with a title
  and/or a url, both of which can be edited by the user before saving.
@param {Object {Context}} c        Context used to launch the activity to add a bookmark.
@param {String} title    Title for the bookmark. Can be null or empty string.
@param {String} url      Url for the bookmark. Can be null or empty string.
@removed 
*/
saveBookmark : function(  ) {},

/**Sends the given string using an Intent with {@link Intent#ACTION_SEND} and a mime type
 of text/plain. The string is put into {@link Intent#EXTRA_TEXT}.
@param {Object {Context}} context the context used to start the activity
@param {String} string the string to send
*/
sendString : function(  ) {},

/**Find an application to handle the given string and, if found, invoke
  it with the given string as a parameter.
@param {Object {Context}} c Context used to launch the new activity.
@param {String} stringToSend The string to be handled.
@param {String} chooserDialogTitle The title of the dialog that allows the user
  to select between multiple applications that are all capable of handling
  the string.
@hide pending API council approval
*/
sendString : function(  ) {},

/**Return a cursor pointing to a list of all the bookmarks. The cursor will have a single
  column, {@link android.provider.Browser.BookmarkColumns#URL}.
@param {Object {ContentResolver}} cr   The ContentResolver used to access the database.
@removed 
*/
getAllBookmarks : function(  ) {},

/**Return a cursor pointing to a list of all visited site urls. The cursor will
  have a single column, {@link android.provider.Browser.BookmarkColumns#URL}.
@param {Object {ContentResolver}} cr   The ContentResolver used to access the database.
@removed 
*/
getAllVisitedUrls : function(  ) {},

/**Update the visited history to acknowledge that a site has been
  visited.
@param {Object {ContentResolver}} cr   The ContentResolver used to access the database.
@param {String} url  The site being visited.
@param {Boolean} real If true, this is an actual visit, and should add to the
              number of visits.  If false, the user entered it manually.
@removed 
*/
updateVisitedHistory : function(  ) {},

/**Returns all the URLs in the history.
@param {Object {ContentResolver}} cr   The ContentResolver used to access the database.
@hide pending API council approval
*/
getVisitedHistory : function(  ) {},

/**If there are more than MAX_HISTORY_COUNT non-bookmark history
 items in the bookmark/history table, delete TRUNCATE_N_OLDEST
 of them.  This is used to keep our history table to a
 reasonable size.  Note: it does not prune bookmarks.  If the
 user wants 1000 bookmarks, the user gets 1000 bookmarks.
@param {Object {ContentResolver}} cr The ContentResolver used to access the database.
@removed 
*/
truncateHistory : function(  ) {},

/**Returns whether there is any history to clear.
@param {Object {ContentResolver}} cr   The ContentResolver used to access the database.
@return {Boolean} boolean  True if the history can be cleared.
@removed 
*/
canClearHistory : function(  ) {},

/**Delete all entries from the bookmarks/history table which are
  not bookmarks.  Also set all visited bookmarks to unvisited.
@param {Object {ContentResolver}} cr   The ContentResolver used to access the database.
@removed 
*/
clearHistory : function(  ) {},

/**Delete all history items from begin to end.
@param {Object {ContentResolver}} cr    The ContentResolver used to access the database.
@param {Number} begin First date to remove.  If -1, all dates before end.
              Inclusive.
@param {Number} end   Last date to remove. If -1, all dates after begin.
              Non-inclusive.
@removed 
*/
deleteHistoryTimeFrame : function(  ) {},

/**Remove a specific url from the history database.
@param {Object {ContentResolver}} cr    The ContentResolver used to access the database.
@param {String} url   url to remove.
@removed 
*/
deleteFromHistory : function(  ) {},

/**Add a search string to the searches database.
@param {Object {ContentResolver}} cr   The ContentResolver used to access the database.
@param {String} search    The string to add to the searches database.
@removed 
*/
addSearchUrl : function(  ) {},

/**Remove all searches from the search database.
@param {Object {ContentResolver}} cr   The ContentResolver used to access the database.
@removed 
*/
clearSearches : function(  ) {},

/**Request all icons from the database.  This call must either be called
  in the main thread or have had Looper.prepare() invoked in the calling
  thread.
@param {Object {ContentResolver}} cr The ContentResolver used to access the database.
@param {String} where Clause to be used to limit the query from the database.
          Must be an allowable string to be passed into a database query.
@param {Object {WebIconDatabase.IconListener}} listener IconListener that gets the icons once they are
          retrieved.
@removed 
*/
requestAllIcons : function(  ) {},


};