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

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

Issue 12996003: Dynamically generate a heading for Extension Docs API pages (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixing issues with experimental_APIs Created 7 years, 9 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 // File-level comment to appease parser. Eventually this will not be necessary.
6 namespace experimental.systemInfo.display { 5 namespace experimental.systemInfo.display {
7 6
8 dictionary DisplayUnitInfo { 7 dictionary DisplayUnitInfo {
9 // The unique identifier of the display device. 8 // The unique identifier of the display device.
10 DOMString id; 9 DOMString id;
11 // The ordinal index for each display device. 10 // The ordinal index for each display device.
12 long index; 11 long index;
13 // True if the display is the primary one. 12 // True if the display is the primary one.
14 boolean isPrimary; 13 boolean isPrimary;
15 // The y-coordinate of the upper-left corner of the work area on the 14 // The y-coordinate of the upper-left corner of the work area on the
(...skipping 27 matching lines...) Expand all
43 }; 42 };
44 43
45 callback DisplayInfoCallback = void (DisplayUnitInfo[] info); 44 callback DisplayInfoCallback = void (DisplayUnitInfo[] info);
46 45
47 interface Functions { 46 interface Functions {
48 // Get all display information on the system. The argument passed to the 47 // Get all display information on the system. The argument passed to the
49 // callback is an array of DisplayUnitInfo objects. 48 // callback is an array of DisplayUnitInfo objects.
50 static void get(DisplayInfoCallback callback); 49 static void get(DisplayInfoCallback callback);
51 }; 50 };
52 }; 51 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698