| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // API for integration testing. To be used on test images with a test component | 5 // API for integration testing. To be used on test images with a test component |
| 6 // extension. | 6 // extension. |
| 7 namespace autotestPrivate { | 7 namespace autotestPrivate { |
| 8 | 8 |
| 9 dictionary LoginStatusDict { | 9 dictionary LoginStatusDict { |
| 10 // Are we logged in? | 10 // Are we logged in? |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 109 // Set the mouse pointer sensitivity setting. | 109 // Set the mouse pointer sensitivity setting. |
| 110 // |value|: the pointer sensitivity setting index. | 110 // |value|: the pointer sensitivity setting index. |
| 111 static void setMouseSensitivity(long value); | 111 static void setMouseSensitivity(long value); |
| 112 | 112 |
| 113 // Swap the primary mouse button for left click. | 113 // Swap the primary mouse button for left click. |
| 114 // |right|: if set, swap the primary mouse button. | 114 // |right|: if set, swap the primary mouse button. |
| 115 static void setPrimaryButtonRight(boolean right); | 115 static void setPrimaryButtonRight(boolean right); |
| 116 | 116 |
| 117 // Get visible notifications on the system. | 117 // Get visible notifications on the system. |
| 118 static void getVisibleNotifications(NotificationArrayCallback callback); | 118 static void getVisibleNotifications(NotificationArrayCallback callback); |
| 119 |
| 120 // Return true if Play Store is currently enabled on device. |
| 121 static boolean isPlayStoreEnabled(); |
| 122 |
| 123 // Return true if Play Store is managed by policy. |
| 124 static boolean isPlayStoreManaged(); |
| 125 |
| 126 // Enable or disable Play Store on device. |
| 127 static void setPlayStoreEnabled(boolean enabled); |
| 119 }; | 128 }; |
| 120 }; | 129 }; |
| OLD | NEW |