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

Side by Side Diff: extensions/common/api/system_display.idl

Issue 1842953002: [Extensions] Convert APIs to use movable types [13] (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
« no previous file with comments | « extensions/common/api/system_cpu.idl ('k') | extensions/common/api/system_memory.idl » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 // Use the <code>system.display</code> API to query display metadata. 5 // Use the <code>system.display</code> API to query display metadata.
6 namespace system.display { 6 [use_movable_types=true] namespace system.display {
7 7
8 dictionary Bounds { 8 dictionary Bounds {
9 // The x-coordinate of the upper-left corner. 9 // The x-coordinate of the upper-left corner.
10 long left; 10 long left;
11 11
12 // The y-coordinate of the upper-left corner. 12 // The y-coordinate of the upper-left corner.
13 long top; 13 long top;
14 14
15 // The width of the display in pixels. 15 // The width of the display in pixels.
16 long width; 16 long width;
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 // enables the feature, but will not change the actual desktop mode. 146 // enables the feature, but will not change the actual desktop mode.
147 // (That is, if the desktop is in mirror mode, it will stay in mirror mode) 147 // (That is, if the desktop is in mirror mode, it will stay in mirror mode)
148 static void enableUnifiedDesktop(boolean enabled); 148 static void enableUnifiedDesktop(boolean enabled);
149 }; 149 };
150 150
151 interface Events { 151 interface Events {
152 // Fired when anything changes to the display configuration. 152 // Fired when anything changes to the display configuration.
153 static void onDisplayChanged(); 153 static void onDisplayChanged();
154 }; 154 };
155 }; 155 };
OLDNEW
« no previous file with comments | « extensions/common/api/system_cpu.idl ('k') | extensions/common/api/system_memory.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698