Home
last modified time | relevance | path

Searched refs:webkitPermission (Results 1 – 1 of 1) sorted by relevance

/packages/apps/Browser2/src/org/chromium/webview_shell/
DWebViewBrowserActivity.java420 private boolean canGrant(String webkitPermission) { in canGrant() argument
421 String androidPermission = sPermissions.get(webkitPermission); in canGrant()
431 for (String webkitPermission : request.getResources()) { in requestPermissionsForPage()
432 if (!sPermissions.containsKey(webkitPermission)) { in requestPermissionsForPage()
433 Log.w(TAG, "Unrecognized WebKit permission: " + webkitPermission); in requestPermissionsForPage()
446 for (String webkitPermission : request.getResources()) { in requestPermissionsForPage()
447 if (!canGrant(webkitPermission)) { in requestPermissionsForPage()
451 String androidPermission = sPermissions.get(webkitPermission); in requestPermissionsForPage()
482 for (String webkitPermission : request.getResources()) { in onRequestPermissionsResult()
483 if (!canGrant(webkitPermission)) { in onRequestPermissionsResult()