@@ -121,9 +121,6 @@ public class WebSettingsClassic extends WebSettings {
121121 private boolean mForceUserScalable = false ;
122122
123123 // AutoFill Profile data
124- /**
125- * @hide for now, pending API council approval.
126- */
127124 public static class AutoFillProfile {
128125 private int mUniqueId ;
129126 private String mFullName ;
@@ -644,7 +641,6 @@ public synchronized TextSize getTextSize() {
644641 /**
645642 * Set the double-tap zoom of the page in percent. Default is 100.
646643 * @param doubleTapZoom A percent value for increasing or decreasing the double-tap zoom.
647- * @hide
648644 */
649645 public void setDoubleTapZoom (int doubleTapZoom ) {
650646 if (mDoubleTapZoom != doubleTapZoom ) {
@@ -656,7 +652,6 @@ public void setDoubleTapZoom(int doubleTapZoom) {
656652 /**
657653 * Get the double-tap zoom of the page in percent.
658654 * @return A percent value describing the double-tap zoom.
659- * @hide
660655 */
661656 public int getDoubleTapZoom () {
662657 return mDoubleTapZoom ;
@@ -1012,7 +1007,6 @@ public synchronized int getDefaultFixedFontSize() {
10121007 /**
10131008 * Set the number of pages cached by the WebKit for the history navigation.
10141009 * @param size A non-negative integer between 0 (no cache) and 20 (max).
1015- * @hide
10161010 */
10171011 public synchronized void setPageCacheCapacity (int size ) {
10181012 if (size < 0 ) size = 0 ;
@@ -1108,7 +1102,6 @@ public synchronized void setJavaScriptEnabled(boolean flag) {
11081102 /**
11091103 * Tell the WebView to use Skia's hardware accelerated rendering path
11101104 * @param flag True if the WebView should use Skia's hw-accel path
1111- * @hide
11121105 */
11131106 public synchronized void setHardwareAccelSkiaEnabled (boolean flag ) {
11141107 if (mHardwareAccelSkia != flag ) {
@@ -1119,7 +1112,6 @@ public synchronized void setHardwareAccelSkiaEnabled(boolean flag) {
11191112
11201113 /**
11211114 * @return True if the WebView is using hardware accelerated skia
1122- * @hide
11231115 */
11241116 public synchronized boolean getHardwareAccelSkiaEnabled () {
11251117 return mHardwareAccelSkia ;
@@ -1128,7 +1120,6 @@ public synchronized boolean getHardwareAccelSkiaEnabled() {
11281120 /**
11291121 * Tell the WebView to show the visual indicator
11301122 * @param flag True if the WebView should show the visual indicator
1131- * @hide
11321123 */
11331124 public synchronized void setShowVisualIndicator (boolean flag ) {
11341125 if (mShowVisualIndicator != flag ) {
@@ -1139,7 +1130,6 @@ public synchronized void setShowVisualIndicator(boolean flag) {
11391130
11401131 /**
11411132 * @return True if the WebView is showing the visual indicator
1142- * @hide
11431133 */
11441134 public synchronized boolean getShowVisualIndicator () {
11451135 return mShowVisualIndicator ;
@@ -1283,7 +1273,6 @@ public synchronized boolean getDatabaseEnabled() {
12831273 * @param flag True if the WebView should enable WebWorkers.
12841274 * Note that this flag only affects V8. JSC does not have
12851275 * an equivalent setting.
1286- * @hide
12871276 */
12881277 public synchronized void setWorkersEnabled (boolean flag ) {
12891278 if (mWorkersEnabled != flag ) {
@@ -1305,8 +1294,8 @@ public synchronized void setGeolocationEnabled(boolean flag) {
13051294
13061295 /**
13071296 * Sets whether XSS Auditor is enabled.
1297+ * Only used by LayoutTestController.
13081298 * @param flag Whether XSS Auditor should be enabled.
1309- * @hide Only used by LayoutTestController.
13101299 */
13111300 public synchronized void setXSSAuditorEnabled (boolean flag ) {
13121301 if (mXSSAuditorEnabled != flag ) {
@@ -1507,7 +1496,6 @@ public int getCacheMode() {
15071496 * of an HTML page to fit the screen. This conflicts with attempts by
15081497 * the UI to zoom in and out of an image, so it is set false by default.
15091498 * @param shrink Set true to let webkit shrink the standalone image to fit.
1510- * {@hide}
15111499 */
15121500 public void setShrinksStandaloneImagesToFit (boolean shrink ) {
15131501 if (mShrinksStandaloneImagesToFit != shrink ) {
@@ -1520,7 +1508,6 @@ public void setShrinksStandaloneImagesToFit(boolean shrink) {
15201508 * Specify the maximum decoded image size. The default is
15211509 * 2 megs for small memory devices and 8 megs for large memory devices.
15221510 * @param size The maximum decoded size, or zero to set to the default.
1523- * @hide
15241511 */
15251512 public void setMaximumDecodedImageSize (long size ) {
15261513 if (mMaximumDecodedImageSize != size ) {
@@ -1562,7 +1549,6 @@ public void setMaximumDecodedImageSize(long size) {
15621549
15631550 /**
15641551 * Returns whether the viewport metatag can disable zooming
1565- * @hide
15661552 */
15671553 public boolean forceUserScalable () {
15681554 return mForceUserScalable ;
@@ -1571,7 +1557,6 @@ public boolean forceUserScalable() {
15711557 /**
15721558 * Sets whether viewport metatag can disable zooming.
15731559 * @param flag Whether or not to forceably enable user scalable.
1574- * @hide
15751560 */
15761561 public synchronized void setForceUserScalable (boolean flag ) {
15771562 mForceUserScalable = flag ;
@@ -1584,9 +1569,6 @@ synchronized void setSyntheticLinksEnabled(boolean flag) {
15841569 }
15851570 }
15861571
1587- /**
1588- * @hide
1589- */
15901572 public synchronized void setAutoFillEnabled (boolean enabled ) {
15911573 // AutoFill is always disabled in private browsing mode.
15921574 boolean autoFillEnabled = enabled && !mPrivateBrowsingEnabled ;
@@ -1596,26 +1578,17 @@ public synchronized void setAutoFillEnabled(boolean enabled) {
15961578 }
15971579 }
15981580
1599- /**
1600- * @hide
1601- */
16021581 public synchronized boolean getAutoFillEnabled () {
16031582 return mAutoFillEnabled ;
16041583 }
16051584
1606- /**
1607- * @hide
1608- */
16091585 public synchronized void setAutoFillProfile (AutoFillProfile profile ) {
16101586 if (mAutoFillProfile != profile ) {
16111587 mAutoFillProfile = profile ;
16121588 postSync ();
16131589 }
16141590 }
16151591
1616- /**
1617- * @hide
1618- */
16191592 public synchronized AutoFillProfile getAutoFillProfile () {
16201593 return mAutoFillProfile ;
16211594 }
@@ -1633,18 +1606,12 @@ void setDoubleTapToastCount(int count) {
16331606 }
16341607 }
16351608
1636- /**
1637- * @hide
1638- */
16391609 public void setProperty (String key , String value ) {
16401610 if (mWebView .nativeSetProperty (key , value )) {
16411611 mWebView .invalidate ();
16421612 }
16431613 }
16441614
1645- /**
1646- * @hide
1647- */
16481615 public String getProperty (String key ) {
16491616 return mWebView .nativeGetProperty (key );
16501617 }
0 commit comments