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

Side by Side Diff: sky/engine/core/frame/Window.idl

Issue 676723003: Remove postMessage, MessageChannel and MessagePort. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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 | « sky/engine/core/frame/LocalDOMWindow.cpp ('k') | sky/engine/core/loader/FrameLoaderClient.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved.
3 * Copyright (C) 2011 Google Inc. All rights reserved. 3 * Copyright (C) 2011 Google Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 attribute EventHandler ontransitionend; 125 attribute EventHandler ontransitionend;
126 attribute EventHandler onwheel; 126 attribute EventHandler onwheel;
127 127
128 // window.toString() requires special handling in V8 128 // window.toString() requires special handling in V8
129 [DoNotCheckSignature, DoNotCheckSecurity, Custom, NotEnumerable] stringifier ; 129 [DoNotCheckSignature, DoNotCheckSecurity, Custom, NotEnumerable] stringifier ;
130 130
131 // FIXME(sky): can't remove w/o also removing hacks in bindings generator. 131 // FIXME(sky): can't remove w/o also removing hacks in bindings generator.
132 [Custom, NotEnumerable] getter Window (DOMString name); 132 [Custom, NotEnumerable] getter Window (DOMString name);
133 }; 133 };
134 134
135 // http://www.whatwg.org/specs/web-apps/current-work/#transferable-objects
136 //
137 // Expressing the Transferable typedef in IDL depends on http://crbug.com/240176 .
138 // The postMessage() methods taking a Transferable array argument have custom
139 // binding code that is able to handle the Transferables that we currently
140 // recognize. To be able to declare a postMessage() signature that matches
141 // the implementation, we provide a Transferable typedef but with an
142 // incomplete type.
143 //
144 // FIXME: make this typedef accurate once enough of http://crbug.com/240176
145 // is in place.
146 // FIXME: consider putting this typedef in an .idl file containing spec-wide
147 // utility type definitions.
148 typedef MessagePort Transferable;
149
150 Window implements WindowBase64; 135 Window implements WindowBase64;
151 Window implements WindowEventHandlers; 136 Window implements WindowEventHandlers;
152 Window implements WindowTimers; 137 Window implements WindowTimers;
OLDNEW
« no previous file with comments | « sky/engine/core/frame/LocalDOMWindow.cpp ('k') | sky/engine/core/loader/FrameLoaderClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698