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

Unified Diff: sdk/lib/js/dartium/js_dartium.dart

Issue 1416043008: Hide implementation members in dart:html, dart:js and related libraries (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 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 side-by-side diff with in-line comments
Download patch
Index: sdk/lib/js/dartium/js_dartium.dart
diff --git a/sdk/lib/js/dartium/js_dartium.dart b/sdk/lib/js/dartium/js_dartium.dart
index 3e0ea790e7eae71088a8b8c93c0c223ba6f41bfd..f80c377220c369456f433b0ed36794545e40448f 100644
--- a/sdk/lib/js/dartium/js_dartium.dart
+++ b/sdk/lib/js/dartium/js_dartium.dart
@@ -98,6 +98,7 @@ import 'dart:typed_data';
// Pretend we are always in checked mode as we aren't interested in users
// running Dartium code outside of checked mode.
+@Deprecated("Internal Use Only")
final bool CHECK_JS_INVOCATIONS = true;
final _allowedMethods = new Map<Symbol, _DeclarationSet>();
@@ -105,6 +106,7 @@ final _allowedGetters = new Map<Symbol, _DeclarationSet>();
final _allowedSetters = new Map<Symbol, _DeclarationSet>();
final _jsInterfaceTypes = new Set<mirrors.ClassMirror>();
+@Deprecated("Internal Use Only")
Iterable<mirrors.ClassMirror> get jsInterfaceTypes => _jsInterfaceTypes;
/// A collection of methods where all methods have the same name.
@@ -207,6 +209,7 @@ class _DeclarationSet {
* Temporary method that we hope to remove at some point. This method should
* generally only be called by machine generated code.
*/
+@Deprecated("Internal Use Only")
void registerJsInterfaces([List<Type> classes]) {
// This method is now obsolete in Dartium.
}
@@ -825,6 +828,7 @@ List _arraySort(List l, rawCompare) {
* be added. Creating an instance of JsObject will also automatically trigger
* all JsObjects to be finalized.
*/
+@Deprecated("Internal Use Only")
void finalizeJsInterfaces() {
if (_finalized == true) {
throw 'JSInterop class registration already finalized';

Powered by Google App Engine
This is Rietveld 408576698