OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 // Internal API for the <extensiontoptions> tag | 5 // Internal API for the <extensiontoptions> tag |
6 namespace extensionOptionsInternal { | 6 [use_movable_types=true] namespace extensionOptionsInternal { |
7 dictionary SizeChangedOptions { | 7 dictionary SizeChangedOptions { |
8 long oldWidth; | 8 long oldWidth; |
9 long oldHeight; | 9 long oldHeight; |
10 long newWidth; | 10 long newWidth; |
11 long newHeight; | 11 long newHeight; |
12 }; | 12 }; |
13 | 13 |
14 dictionary PreferredSizeChangedOptions { | 14 dictionary PreferredSizeChangedOptions { |
15 double width; | 15 double width; |
16 double height; | 16 double height; |
17 }; | 17 }; |
18 | 18 |
19 interface Events { | 19 interface Events { |
20 static void onClose(); | 20 static void onClose(); |
21 static void onLoad(); | 21 static void onLoad(); |
22 static void onPreferredSizeChanged(PreferredSizeChangedOptions options); | 22 static void onPreferredSizeChanged(PreferredSizeChangedOptions options); |
23 }; | 23 }; |
24 }; | 24 }; |
OLD | NEW |