Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1018)

Side by Side Diff: chrome/common/extensions/api/autotest_private.idl

Issue 2801173002: arc: Provide API to control Play Store state from autotests (Closed)
Patch Set: fix browser test Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698