Loading core/java/android/webkit/WebView.java +13 −0 Original line number Original line Diff line number Diff line Loading @@ -61,6 +61,7 @@ import android.view.accessibility.AccessibilityNodeProvider; import android.view.autofill.AutofillValue; import android.view.autofill.AutofillValue; import android.view.inputmethod.EditorInfo; import android.view.inputmethod.EditorInfo; import android.view.inputmethod.InputConnection; import android.view.inputmethod.InputConnection; import android.view.inspector.InspectableProperty; import android.view.textclassifier.TextClassifier; import android.view.textclassifier.TextClassifier; import android.widget.AbsoluteLayout; import android.widget.AbsoluteLayout; Loading Loading @@ -1239,6 +1240,7 @@ public class WebView extends AbsoluteLayout * * * @return the URL for the current page * @return the URL for the current page */ */ @InspectableProperty(hasAttributeId = false) @ViewDebug.ExportedProperty(category = "webview") @ViewDebug.ExportedProperty(category = "webview") public String getUrl() { public String getUrl() { checkThread(); checkThread(); Loading @@ -1254,6 +1256,7 @@ public class WebView extends AbsoluteLayout * * * @return the URL that was originally requested for the current page * @return the URL that was originally requested for the current page */ */ @InspectableProperty(hasAttributeId = false) @ViewDebug.ExportedProperty(category = "webview") @ViewDebug.ExportedProperty(category = "webview") public String getOriginalUrl() { public String getOriginalUrl() { checkThread(); checkThread(); Loading @@ -1266,6 +1269,7 @@ public class WebView extends AbsoluteLayout * * * @return the title for the current page * @return the title for the current page */ */ @InspectableProperty(hasAttributeId = false) @ViewDebug.ExportedProperty(category = "webview") @ViewDebug.ExportedProperty(category = "webview") public String getTitle() { public String getTitle() { checkThread(); checkThread(); Loading @@ -1278,6 +1282,7 @@ public class WebView extends AbsoluteLayout * * * @return the favicon for the current page * @return the favicon for the current page */ */ @InspectableProperty(hasAttributeId = false) public Bitmap getFavicon() { public Bitmap getFavicon() { checkThread(); checkThread(); return mProvider.getFavicon(); return mProvider.getFavicon(); Loading @@ -1300,6 +1305,7 @@ public class WebView extends AbsoluteLayout * * * @return the progress for the current page between 0 and 100 * @return the progress for the current page between 0 and 100 */ */ @InspectableProperty(hasAttributeId = false) public int getProgress() { public int getProgress() { checkThread(); checkThread(); return mProvider.getProgress(); return mProvider.getProgress(); Loading @@ -1310,6 +1316,7 @@ public class WebView extends AbsoluteLayout * * * @return the height of the HTML content * @return the height of the HTML content */ */ @InspectableProperty(hasAttributeId = false) @ViewDebug.ExportedProperty(category = "webview") @ViewDebug.ExportedProperty(category = "webview") public int getContentHeight() { public int getContentHeight() { checkThread(); checkThread(); Loading Loading @@ -2276,6 +2283,11 @@ public class WebView extends AbsoluteLayout * * * @return the requested renderer priority policy. * @return the requested renderer priority policy. */ */ @InspectableProperty(hasAttributeId = false, enumMapping = { @InspectableProperty.EnumMap(name = "waived", value = RENDERER_PRIORITY_WAIVED), @InspectableProperty.EnumMap(name = "bound", value = RENDERER_PRIORITY_BOUND), @InspectableProperty.EnumMap(name = "important", value = RENDERER_PRIORITY_IMPORTANT) }) @RendererPriority @RendererPriority public int getRendererRequestedPriority() { public int getRendererRequestedPriority() { return mProvider.getRendererRequestedPriority(); return mProvider.getRendererRequestedPriority(); Loading @@ -2288,6 +2300,7 @@ public class WebView extends AbsoluteLayout * @return whether this WebView requests a priority of * @return whether this WebView requests a priority of * {@link #RENDERER_PRIORITY_WAIVED} when not visible. * {@link #RENDERER_PRIORITY_WAIVED} when not visible. */ */ @InspectableProperty(hasAttributeId = false) public boolean getRendererPriorityWaivedWhenNotVisible() { public boolean getRendererPriorityWaivedWhenNotVisible() { return mProvider.getRendererPriorityWaivedWhenNotVisible(); return mProvider.getRendererPriorityWaivedWhenNotVisible(); } } Loading Loading
core/java/android/webkit/WebView.java +13 −0 Original line number Original line Diff line number Diff line Loading @@ -61,6 +61,7 @@ import android.view.accessibility.AccessibilityNodeProvider; import android.view.autofill.AutofillValue; import android.view.autofill.AutofillValue; import android.view.inputmethod.EditorInfo; import android.view.inputmethod.EditorInfo; import android.view.inputmethod.InputConnection; import android.view.inputmethod.InputConnection; import android.view.inspector.InspectableProperty; import android.view.textclassifier.TextClassifier; import android.view.textclassifier.TextClassifier; import android.widget.AbsoluteLayout; import android.widget.AbsoluteLayout; Loading Loading @@ -1239,6 +1240,7 @@ public class WebView extends AbsoluteLayout * * * @return the URL for the current page * @return the URL for the current page */ */ @InspectableProperty(hasAttributeId = false) @ViewDebug.ExportedProperty(category = "webview") @ViewDebug.ExportedProperty(category = "webview") public String getUrl() { public String getUrl() { checkThread(); checkThread(); Loading @@ -1254,6 +1256,7 @@ public class WebView extends AbsoluteLayout * * * @return the URL that was originally requested for the current page * @return the URL that was originally requested for the current page */ */ @InspectableProperty(hasAttributeId = false) @ViewDebug.ExportedProperty(category = "webview") @ViewDebug.ExportedProperty(category = "webview") public String getOriginalUrl() { public String getOriginalUrl() { checkThread(); checkThread(); Loading @@ -1266,6 +1269,7 @@ public class WebView extends AbsoluteLayout * * * @return the title for the current page * @return the title for the current page */ */ @InspectableProperty(hasAttributeId = false) @ViewDebug.ExportedProperty(category = "webview") @ViewDebug.ExportedProperty(category = "webview") public String getTitle() { public String getTitle() { checkThread(); checkThread(); Loading @@ -1278,6 +1282,7 @@ public class WebView extends AbsoluteLayout * * * @return the favicon for the current page * @return the favicon for the current page */ */ @InspectableProperty(hasAttributeId = false) public Bitmap getFavicon() { public Bitmap getFavicon() { checkThread(); checkThread(); return mProvider.getFavicon(); return mProvider.getFavicon(); Loading @@ -1300,6 +1305,7 @@ public class WebView extends AbsoluteLayout * * * @return the progress for the current page between 0 and 100 * @return the progress for the current page between 0 and 100 */ */ @InspectableProperty(hasAttributeId = false) public int getProgress() { public int getProgress() { checkThread(); checkThread(); return mProvider.getProgress(); return mProvider.getProgress(); Loading @@ -1310,6 +1316,7 @@ public class WebView extends AbsoluteLayout * * * @return the height of the HTML content * @return the height of the HTML content */ */ @InspectableProperty(hasAttributeId = false) @ViewDebug.ExportedProperty(category = "webview") @ViewDebug.ExportedProperty(category = "webview") public int getContentHeight() { public int getContentHeight() { checkThread(); checkThread(); Loading Loading @@ -2276,6 +2283,11 @@ public class WebView extends AbsoluteLayout * * * @return the requested renderer priority policy. * @return the requested renderer priority policy. */ */ @InspectableProperty(hasAttributeId = false, enumMapping = { @InspectableProperty.EnumMap(name = "waived", value = RENDERER_PRIORITY_WAIVED), @InspectableProperty.EnumMap(name = "bound", value = RENDERER_PRIORITY_BOUND), @InspectableProperty.EnumMap(name = "important", value = RENDERER_PRIORITY_IMPORTANT) }) @RendererPriority @RendererPriority public int getRendererRequestedPriority() { public int getRendererRequestedPriority() { return mProvider.getRendererRequestedPriority(); return mProvider.getRendererRequestedPriority(); Loading @@ -2288,6 +2300,7 @@ public class WebView extends AbsoluteLayout * @return whether this WebView requests a priority of * @return whether this WebView requests a priority of * {@link #RENDERER_PRIORITY_WAIVED} when not visible. * {@link #RENDERER_PRIORITY_WAIVED} when not visible. */ */ @InspectableProperty(hasAttributeId = false) public boolean getRendererPriorityWaivedWhenNotVisible() { public boolean getRendererPriorityWaivedWhenNotVisible() { return mProvider.getRendererPriorityWaivedWhenNotVisible(); return mProvider.getRendererPriorityWaivedWhenNotVisible(); } } Loading