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

Side by Side Diff: third_party/WebCore/Modules/networkinfo/NetworkInfoConnection.idl

Issue 10008054: Add accidently omitted IDL files from last roll (to multivm@358) (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 /*
2 * Copyright (C) 2012 Samsung Electronics. All Rights Reserved.
3 *
4 * All rights reserved.
5 *
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version.
10 *
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Library General Public License for more details.
15 *
16 * You should have received a copy of the GNU Library General Public License
17 * along with this library; see the file COPYING.LIB. If not, write to
18 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
19 * Boston, MA 02110-1301, USA.
20 */
21
22 module window {
23
24 // http://dvcs.w3.org/hg/dap/raw-file/tip/network-api/index.html
25 interface [
26 Conditional=NETWORK_INFO,
27 ActiveDOMObject,
28 EventTarget
29 ] NetworkInfoConnection {
30 readonly attribute double bandwidth;
31 readonly attribute boolean metered;
32
33 attribute EventListener onwebkitnetworkinfochange;
34
35 // EventTarget interface
36 void addEventListener(in DOMString type,
37 in EventListener listener,
38 in [Optional] boolean useCapture);
39 void removeEventListener(in DOMString type,
40 in EventListener listener,
41 in [Optional] boolean useCapture);
42 boolean dispatchEvent(in Event evt)
43 raises(EventException);
44 };
45 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698