Chromium Code Reviews| Index: remoting/webapp/document_proto.js |
| diff --git a/remoting/webapp/document_proto.js b/remoting/webapp/document_proto.js |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..8d76b2ba4d35c081edc9e79977e4d5f5d6061ade |
| --- /dev/null |
| +++ b/remoting/webapp/document_proto.js |
| @@ -0,0 +1,17 @@ |
| +// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +// This file contains type definitions for the remoting.Document class, |
| +// which is a subclass of Document. |
| +// It is used only with JSCompiler to verify the type-correctness of our code. |
| + |
| +/** @suppress {duplicate} */ |
| +var remoting = remoting || {}; |
| + |
| +/** @constructor |
|
Jamie
2012/03/14 00:43:47
You can annotate sub-classes via @extends. However
|
| + */ |
| +remoting.Document = function() {}; |
| + |
| +/** @type {function(string): void} */ |
| +remoting.Document.prototype.execCommand; |