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

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

Issue 15091002: Lazily load API schemas from resource files and convert all APIs to features (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: comments Created 7 years, 7 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
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. 5 // File-level comment to appease parser. Eventually this will not be necessary.
6 namespace experimental.systemInfo.display { 6 namespace experimental.systemInfo.display {
7 7
8 dictionary DisplayUnitInfo { 8 dictionary DisplayUnitInfo {
9 // The unique identifier of the display device. 9 // The unique identifier of the display device.
10 DOMString id; 10 DOMString id;
(...skipping 29 matching lines...) Expand all
40 long dpiX; 40 long dpiX;
41 // The number of pixel per logic inch along the display's screen height. 41 // The number of pixel per logic inch along the display's screen height.
42 long dpiY; 42 long dpiY;
43 }; 43 };
44 44
45 callback DisplayInfoCallback = void (DisplayUnitInfo[] info); 45 callback DisplayInfoCallback = void (DisplayUnitInfo[] info);
46 46
47 interface Functions { 47 interface Functions {
48 // Get all display information on the system. The argument passed to the 48 // Get all display information on the system. The argument passed to the
49 // callback is an array of DisplayUnitInfo objects. 49 // callback is an array of DisplayUnitInfo objects.
50 static void get(DisplayInfoCallback callback); 50 [nocompile] static void get(DisplayInfoCallback callback);
not at google - send to devlin 2013/05/24 19:09:18 interesting, out of curiosity what makes this nece
cduvall 2013/05/30 00:50:51 This was originally needed because of the non-expe
51 }; 51 };
52 }; 52 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698