コード例 #1
0
 public void setMockDeviceOrientation(
     boolean canProvideAlpha,
     double alpha,
     boolean canProvideBeta,
     double beta,
     boolean canProvideGamma,
     double gamma) {
   // Configuration is in WebKit, so stay on WebCore thread, but go via LayoutTestsExecutor
   // as we need access to the Webview.
   Log.i(
       LOG_TAG,
       "setMockDeviceOrientation("
           + canProvideAlpha
           + ", "
           + alpha
           + ", "
           + canProvideBeta
           + ", "
           + beta
           + ", "
           + canProvideGamma
           + ", "
           + gamma
           + ")");
   mLayoutTestsExecutor.setMockDeviceOrientation(
       canProvideAlpha, alpha, canProvideBeta, beta, canProvideGamma, gamma);
 }
コード例 #2
0
 public void setCanOpenWindows() {
   mLayoutTestsExecutor.setCanOpenWindows();
 }
コード例 #3
0
 public void setGeolocationPermission(boolean allow) {
   mLayoutTestsExecutor.setGeolocationPermission(allow);
 }
コード例 #4
0
 public void notifyDone() {
   mLayoutTestsExecutor.notifyDone();
 }
コード例 #5
0
 public void overridePreference(String key, boolean value) {
   mLayoutTestsExecutor.overridePreference(key, value);
 }
コード例 #6
0
 public void dumpDatabaseCallbacks() {
   mLayoutTestsExecutor.dumpDatabaseCallbacks();
 }
コード例 #7
0
 public void dumpChildFramesAsText() {
   mLayoutTestsExecutor.dumpChildFramesAsText();
 }
コード例 #8
0
 public void dumpAsText(boolean enablePixelTest) {
   mLayoutTestsExecutor.dumpAsText(enablePixelTest);
 }
コード例 #9
0
 public void waitUntilDone() {
   mLayoutTestsExecutor.waitUntilDone();
 }
コード例 #10
0
 public void setXSSAuditorEnabled(boolean flag) {
   mLayoutTestsExecutor.setXSSAuditorEnabled(flag);
 }