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

Side by Side Diff: chrome/test/data/extensions/api_test/autotest_private/test.js

Issue 1872873002: Add autotestPrivate.getVisibleNotifications API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 chrome.test.runTests([ 5 chrome.test.runTests([
6 // logout/restart/shutdown don't do anything as we don't want to kill the 6 // logout/restart/shutdown don't do anything as we don't want to kill the
7 // browser with these tests. 7 // browser with these tests.
8 function logout() { 8 function logout() {
9 chrome.autotestPrivate.logout(); 9 chrome.autotestPrivate.logout();
10 chrome.test.succeed(); 10 chrome.test.succeed();
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 chrome.autotestPrivate.setNaturalScroll(true); 97 chrome.autotestPrivate.setNaturalScroll(true);
98 chrome.test.succeed(); 98 chrome.test.succeed();
99 }, 99 },
100 function setMouseSensitivity() { 100 function setMouseSensitivity() {
101 chrome.autotestPrivate.setMouseSensitivity(3); 101 chrome.autotestPrivate.setMouseSensitivity(3);
102 chrome.test.succeed(); 102 chrome.test.succeed();
103 }, 103 },
104 function setPrimaryButtonRight() { 104 function setPrimaryButtonRight() {
105 chrome.autotestPrivate.setPrimaryButtonRight(false); 105 chrome.autotestPrivate.setPrimaryButtonRight(false);
106 chrome.test.succeed(); 106 chrome.test.succeed();
107 },
108 function getVisibleNotifications() {
109 chrome.autotestPrivate.getVisibleNotifications(function(){});
110 chrome.test.succeed();
107 } 111 }
108 ]); 112 ]);
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698