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

Side by Side Diff: third_party/chrome/idl/experimental_power.json

Issue 12261015: Import chrome idl into third_party (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 10 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 | Annotate | Revision Log
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4 [
5 {
6 "namespace": "experimental.power",
7 "types": [],
8 "functions": [
9 {
10 "name": "requestKeepAwake",
11 "type": "function",
12 "description": "Requests that the machine be kept awake. Requests can be canceled manually with releaseKeepAwake, and are automatically canceled when th e machine is restarted, or when the extension is disabled or uninstalled. Callin g this multiple times has the same effect as calling it once.",
13 "parameters": [
14 {
15 "name": "callback",
16 "type": "function",
17 "optional": true,
18 "parameters": [
19 {
20 "name": "success",
21 "type": "boolean",
22 "description": "True if the request was successful, false otherw ise."
23 }
24 ]
25 }
26 ]
27 },
28 {
29 "name": "releaseKeepAwake",
30 "type": "function",
31 "description": "Releases a keep awake request. Once there are no keep aw ake requests active on the system, normal power management will resume.",
32 "parameters": [
33 {
34 "name": "callback",
35 "type": "function",
36 "optional": true,
37 "parameters": [
38 {
39 "name": "success",
40 "type": "boolean",
41 "description": "True if the release was successful, false otherw ise."
42 }
43 ]
44 }
45 ]
46 }
47 ]
48 }
49 ]
OLDNEW
« no previous file with comments | « third_party/chrome/idl/experimental_notification.idl ('k') | third_party/chrome/idl/experimental_processes.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698