/external/webkit/WebCore/page/ |
XSSAuditor.h | 45 // * the URL. 65 // * HTMLBaseElement::process - used to set the document base URL. 80 // Determines whether the JavaScript URL should be allowed or denied execution 90 bool canLoadExternalScriptFromSrc(const String& context, const String& url) const; 96 bool canLoadObject(const String& url) const; 98 // Determines whether the base URL should be changed based on the content 102 bool canSetBaseElementURL(const String& url) const; 109 String canonicalizeURL(const String& url, const TextEncoding& encoding, bool decodeEntities, 139 static String decodeURL(const String& url, const TextEncoding& encoding, bool decodeEntities, 143 bool isSameOriginResource(const String& url) const [all...] |
SecurityOrigin.cpp | 80 SecurityOrigin::SecurityOrigin(const KURL& url, SandboxFlags sandboxFlags) 82 , m_protocol(url.protocol().isNull() ? "" : url.protocol().lower()) 83 , m_host(url.host().isNull() ? "" : url.host().lower()) 84 , m_port(url.port()) 100 if (!url.hasPath() || url.path().endsWith("/")) 126 PassRefPtr<SecurityOrigin> SecurityOrigin::create(const KURL& url, SandboxFlags sandboxFlags) 128 if (!url.isValid() [all...] |
UserScript.h | 39 UserScript(const String& source, const KURL& url, 43 , m_url(url) 51 const KURL& url() const { return m_url; } function in class:WebCore::UserScript
|
UserStyleSheet.h | 39 UserStyleSheet(const String& source, const KURL& url, 42 , m_url(url) 49 const KURL& url() const { return m_url; } function in class:WebCore::UserStyleSheet
|
/external/webkit/WebKit/chromium/src/ |
WebStorageAreaImpl.cpp | 69 void WebStorageAreaImpl::setItem(const WebString& key, const WebString& value, const WebURL& url, Result& result, WebString& oldValue) 73 ScopedStorageEventURL scope(url); 83 void WebStorageAreaImpl::removeItem(const WebString& key, const WebURL& url, WebString& oldValue) 85 ScopedStorageEventURL scope(url); 89 void WebStorageAreaImpl::clear(const WebURL& url, bool& somethingCleared) 91 ScopedStorageEventURL scope(url);
|
/external/webkit/WebCore/rendering/ |
RenderEmbeddedObject.cpp | 80 static bool isURLAllowed(Document* doc, const String& url) 87 KURL completeURL = doc->completeURL(url); 90 if (equalIgnoringFragmentIdentifier(frame->loader()->url(), completeURL)) { 144 String url; local 181 url = embed->url(); 186 // If there was no URL or type defined in EMBED, try the OBJECT tag. 187 if (url.isEmpty()) 188 url = objectElement->url(); [all...] |
/packages/apps/Browser/tests/src/com/android/browser/ |
TestWebViewClient.java | 45 public boolean shouldOverrideUrlLoading(WebView view, String url) { 46 return mWrappedClient.shouldOverrideUrlLoading(view, url); 51 public void onPageStarted(WebView view, String url, Bitmap favicon) { 52 mWrappedClient.onPageStarted(view, url, favicon); 57 public void onPageFinished(WebView view, String url) { 58 mWrappedClient.onPageFinished(view, url); 63 public void onLoadResource(WebView view, String url) { 64 mWrappedClient.onLoadResource(view, url); 91 public void doUpdateVisitedHistory(WebView view, String url, 93 mWrappedClient.doUpdateVisitedHistory(view, url, isReload) [all...] |
/frameworks/base/core/java/android/webkit/ |
WebIconDatabase.java | 66 IconResult(String url, Bitmap icon, IconListener l) { 67 mUrl = url; 109 String url = msg.getData().getString("url"); 110 requestIconAndSendResult(url, l); 157 new String[] { Browser.BookmarkColumns.URL }, 161 String url = c.getString(0); local 162 requestIconAndSendResult(url, listener); 172 private void requestIconAndSendResult(String url, IconListener listener) { 173 Bitmap icon = nativeIconForPageUrl(url); [all...] |
FrameLoader.java | 96 String url = mListener.url(); local 98 if (URLUtil.isNetworkUrl(url)){ 105 // Make sure the host part of the url is correctly 120 } else if (handleLocalFile(url, mListener, mSettings)) { 124 Log.v(LOGTAG, "FrameLoader.executeLoad: url protocol not supported:" 125 + mListener.url()); 135 static boolean handleLocalFile(String url, LoadListener loadListener, 137 // Attempt to decode the percent-encoded url before passing to the 140 url = new String(URLUtil.decode(url.getBytes())) [all...] |
DataLoader.java | 29 * content supplied as a URL as the source for the stream. The mimetype 30 * optionally provided in the URL is extracted and inserted into the HTTP 37 * @param dataUrl data: URL string optionally containing a mimetype 43 String url = dataUrl.substring("data:".length()); local 45 int commaIndex = url.indexOf(','); 47 String contentType = url.substring(0, commaIndex); 48 data = url.substring(commaIndex + 1).getBytes(); 54 data = url.getBytes();
|
WebViewClient.java | 28 * url is about to be loaded in the current WebView. If WebViewClient is not 30 * proper handler for the url. If WebViewClient is provided, return true 31 * means the host application handles the url, while return false means the 32 * current WebView handles the url. 35 * @param url The url to be loaded. 37 * and handle the url itself, otherwise return false. 39 public boolean shouldOverrideUrlLoading(WebView view, String url) { 51 * @param url The url to be loaded [all...] |
/packages/apps/AlarmClock/src/com/android/alarmclock/ |
AlarmProvider.java | 96 public Cursor query(Uri url, String[] projectionIn, String selection, 101 int match = sURLMatcher.match(url); 109 qb.appendWhere(url.getPathSegments().get(1)); 112 throw new IllegalArgumentException("Unknown URL " + url); 122 ret.setNotificationUri(getContext().getContentResolver(), url); local 129 public String getType(Uri url) { 130 int match = sURLMatcher.match(url); 137 throw new IllegalArgumentException("Unknown URL"); 142 public int update(Uri url, ContentValues values, String where, String[] whereArgs) [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/ |
AlarmProvider.java | 95 public Cursor query(Uri url, String[] projectionIn, String selection, 100 int match = sURLMatcher.match(url); 108 qb.appendWhere(url.getPathSegments().get(1)); 111 throw new IllegalArgumentException("Unknown URL " + url); 121 ret.setNotificationUri(getContext().getContentResolver(), url); local 128 public String getType(Uri url) { 129 int match = sURLMatcher.match(url); 136 throw new IllegalArgumentException("Unknown URL"); 141 public int update(Uri url, ContentValues values, String where, String[] whereArgs) [all...] |
/external/webkit/WebKitTools/DumpRenderTree/mac/ |
HistoryDelegate.mm | 42 NSURL *url = [navigationData url] ? [NSURL URLWithString:[navigationData url]] : nil; 47 printf("WebView navigated to url \"%s\" with title \"%s\" with HTTP equivalent method \"%s\". The navigation was %s and was %s%s.\n", 48 url ? [[url _drt_descriptionSuitableForTestResult] UTF8String] : "<none>", 70 - (void)webView:(WebView *)webView updateHistoryTitle:(NSString *)title forURL:(NSString *)url 72 printf("WebView updated the title for history URL \"%s\" to \"%s\".\n", [[[NSURL URLWithString:url]_drt_descriptionSuitableForTestResult] UTF8String], [title UTF8String]);
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
LocalProvider.java | 85 public Cursor query(Uri url, String[] projectionIn, String selection, 90 int match = sURLMatcher.match(url); 98 qb.appendWhere(url.getPathSegments().get(1)); 101 throw new IllegalArgumentException("Unknown URL " + url); 111 ret.setNotificationUri(getContext().getContentResolver(), url); local 118 public String getType(Uri url) { 119 int match = sURLMatcher.match(url); 126 throw new IllegalArgumentException("Unknown URL"); 131 public int update(Uri url, ContentValues values, String where, String[] whereArgs) [all...] |
/dalvik/libcore/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/ |
TestHelper_Driver4.java | 53 public boolean acceptsURL(String url) throws SQLException { 55 if (url == null) { 58 // Everything's fine if the quoted url starts with the base url for this 60 if (url.startsWith(baseURL)) { 74 public Connection connect(String url, Properties info) throws SQLException { 75 // Does the URL have the right form? 76 if (this.acceptsURL(url)) { 77 // The datasource name is the remainder of the url after the ":" 78 String datasource = url.substring(baseURL.length() + 1) [all...] |
/external/webkit/WebCore/platform/chromium/ |
DragDataChromium.cpp | 66 String url; local 67 if (m_platformDragData->url.isValid()) 68 url = m_platformDragData->url.string(); 73 url = ChromiumBridge::filePathToURL(fileName).string(); 79 return url; 116 && !m_platformDragData->url.isValid();
|
/frameworks/base/tests/CoreTests/android/core/ |
URLTest.java | 31 import java.net.URL; 39 URL url = new URL(u); local 40 URLConnection cn = url.openConnection(); 138 * Does a request to the given URL, reads and returns the result. 140 private String request(URL url) throws Exception { 141 URLConnection connection = url.openConnection(); 162 URL url = new URL("http://localhost:8182") local 199 URL url = new URL("http:\/\/123.123.123.123"); local 223 URL url = new URL("http:\/\/www.google.com\/cgi-bin\/myscript?g={United+States}+Borders+Mexico+{Climate+change}+Marketing+{Automotive+industry}+News+Health+Internet"); local [all...] |
/frameworks/base/core/java/android/content/ |
IContentProvider.java | 43 public IBulkCursor bulkQuery(Uri url, String[] projection, 46 public Cursor query(Uri url, String[] projection, String selection, 48 public String getType(Uri url) throws RemoteException; 49 public Uri insert(Uri url, ContentValues initialValues) 51 public int bulkInsert(Uri url, ContentValues[] initialValues) throws RemoteException; 52 public int delete(Uri url, String selection, String[] selectionArgs) 54 public int update(Uri url, ContentValues values, String selection, 56 public ParcelFileDescriptor openFile(Uri url, String mode) 58 public AssetFileDescriptor openAssetFile(Uri url, String mode)
|
/frameworks/base/test-runner/src/android/test/mock/ |
MockIContentProvider.java | 45 public int bulkInsert(Uri url, ContentValues[] initialValues) { 49 public IBulkCursor bulkQuery(Uri url, String[] projection, String selection, 56 public int delete(Uri url, String selection, String[] selectionArgs) 61 public String getType(Uri url) { 66 public Uri insert(Uri url, ContentValues initialValues) throws RemoteException { 70 public ParcelFileDescriptor openFile(Uri url, String mode) { 82 public Cursor query(Uri url, String[] projection, String selection, String[] selectionArgs, 87 public EntityIterator queryEntities(Uri url, String selection, String[] selectionArgs, 92 public int update(Uri url, ContentValues values, String selection, String[] selectionArgs)
|
/external/webkit/WebCore/inspector/front-end/ |
Breakpoint.js | 26 WebInspector.Breakpoint = function(url, line, sourceID, condition) 28 this.url = url; 68 var displayName = (this.url ? WebInspector.displayNameForURL(this.url) : WebInspector.UIString("(program)"));
|
/external/webkit/WebCore/loader/icon/ |
IconRecord.h | 56 IconSnapshot(const String& url, int stamp, SharedBuffer* theData) 57 : iconURL(url) 70 static PassRefPtr<IconRecord> create(const String& url) 72 return adoptRef(new IconRecord(url)); 93 IconRecord(const String& url);
|
/external/webkit/WebCore/notifications/ |
Notification.cpp | 45 Notification::Notification(const String& url, ScriptExecutionContext* context, ExceptionCode& ec, NotificationPresenter* provider) 53 if (m_presenter->checkPermission(context->url(), document) != NotificationPresenter::PermissionAllowed) { 58 m_notificationURL = context->completeURL(url); 59 if (url.isEmpty() || !m_notificationURL.isValid()) { 74 if (m_presenter->checkPermission(context->url(), document) != NotificationPresenter::PermissionAllowed) {
|
/external/webkit/WebCore/loader/ |
RedirectScheduler.cpp | 55 const String url; member in struct:WebCore::ScheduledRedirection 68 ScheduledRedirection(double delay, const String& url, bool lockHistory, bool lockBackForwardList, bool wasUserGesture, bool refresh) 71 , url(url) 80 ASSERT(!url.isEmpty()); 83 ScheduledRedirection(const String& url, const String& referrer, bool lockHistory, bool lockBackForwardList, bool wasUserGesture, bool refresh, bool duringLoad) 86 , url(url) 96 ASSERT(!url.isEmpty()); 154 void RedirectScheduler::scheduleRedirect(double delay, const String& url) 238 const KURL& url = m_frame->loader()->url(); local [all...] |
/external/proguard/src/proguard/ |
FileWordReader.java | 24 import java.net.URL; 28 * A <code>WordReader</code> that returns words from a file or a URL. 53 * Creates a new FileWordReader for the given URL. 55 public FileWordReader(URL url) throws IOException 59 this.name = url.toString(); 62 new InputStreamReader(url.openStream())));
|