Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / extensions / common / api / extension_options_internal.idl
blob78052d1450817116734fe72f04f343857f57ef5c
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
3 // found in the LICENSE file.
5 // Internal API for the <extensiontoptions> tag
6 namespace extensionOptionsInternal {
7 dictionary SizeChangedOptions {
8 long oldWidth;
9 long oldHeight;
10 long newWidth;
11 long newHeight;
14 dictionary PreferredSizeChangedOptions {
15 double width;
16 double height;
19 interface Events {
20 static void onClose();
21 static void onLoad();
22 static void onPreferredSizeChanged(PreferredSizeChangedOptions options);