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

Side by Side Diff: plugins/org.chromium.sdk/src/org/chromium/sdk/JsScope.java

Issue 12300043: Move setValue operation into a separate JsDeclarativeVariable interface (Closed) Base URL: https://chromedevtools.googlecode.com/svn/trunk
Patch Set: fcr Created 7 years, 10 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
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 package org.chromium.sdk; 5 package org.chromium.sdk;
6 6
7 import java.util.List; 7 import java.util.List;
8 8
9 import org.chromium.sdk.util.MethodIsBlockingException; 9 import org.chromium.sdk.util.MethodIsBlockingException;
10 10
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 48
49 /** 49 /**
50 * Mirrors <i>declarative</i> scope. It's all scopes except 'with' and 'global '. This scope 50 * Mirrors <i>declarative</i> scope. It's all scopes except 'with' and 'global '. This scope
51 * has a well-defined set of variables. 51 * has a well-defined set of variables.
52 */ 52 */
53 interface Declarative extends JsScope { 53 interface Declarative extends JsScope {
54 /** 54 /**
55 * @return the variables known in this scope, in lexicographical order 55 * @return the variables known in this scope, in lexicographical order
56 * @throws MethodIsBlockingException because it may need to load value from remote 56 * @throws MethodIsBlockingException because it may need to load value from remote
57 */ 57 */
58 List<? extends JsVariable> getVariables() throws MethodIsBlockingException; 58 List<? extends JsDeclarativeVariable> getVariables() throws MethodIsBlocking Exception;
59 } 59 }
60 60
61 /** 61 /**
62 * Mirrors <i>object</i> scope, i.e. the one built above a JavaScript object. It's either 62 * Mirrors <i>object</i> scope, i.e. the one built above a JavaScript object. It's either
63 * 'with' or 'global' scope. Such scope contains all properties of the object, including 63 * 'with' or 'global' scope. Such scope contains all properties of the object, including
64 * indirect ones from the prototype chain. 64 * indirect ones from the prototype chain.
65 */ 65 */
66 interface ObjectBased extends JsScope { 66 interface ObjectBased extends JsScope {
67 /** 67 /**
68 * @throws MethodIsBlockingException because it may need to load value from remote 68 * @throws MethodIsBlockingException because it may need to load value from remote
69 */ 69 */
70 JsObject getScopeObject() throws MethodIsBlockingException; 70 JsObject getScopeObject() throws MethodIsBlockingException;
71 } 71 }
72 } 72 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698