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

Side by Side Diff: dart/editor/tools/plugins/com.google.dart.tools.debug.core/src/com/google/dart/tools/debug/core/webkit/WebkitCallFrame.java

Issue 322303002: Version 1.5.0-dev.4.6 (Closed) Base URL: http://dart.googlecode.com/svn/trunk/
Patch Set: Created 6 years, 6 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 /* 1 /*
2 * Copyright (c) 2012, the Dart project authors. 2 * Copyright (c) 2012, the Dart project authors.
3 * 3 *
4 * Licensed under the Eclipse Public License v1.0 (the "License"); you may not u se this file except 4 * Licensed under the Eclipse Public License v1.0 (the "License"); you may not u se this file except
5 * in compliance with the License. You may obtain a copy of the License at 5 * in compliance with the License. You may obtain a copy of the License at
6 * 6 *
7 * http://www.eclipse.org/legal/epl-v10.html 7 * http://www.eclipse.org/legal/epl-v10.html
8 * 8 *
9 * Unless required by applicable law or agreed to in writing, software distribut ed under the License 9 * Unless required by applicable law or agreed to in writing, software distribut ed under the License
10 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY K IND, either express 10 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY K IND, either express
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 } 89 }
90 90
91 /** 91 /**
92 * Name of the Dart function called on this call frame. 92 * Name of the Dart function called on this call frame.
93 */ 93 */
94 public String getFunctionName() { 94 public String getFunctionName() {
95 return functionName; 95 return functionName;
96 } 96 }
97 97
98 /** 98 /**
99 * Return the 'isolate' scope - the list of libraries for the current isolate.
100 */
101 public WebkitRemoteObject getIsolateScope() {
102 for (WebkitScope scope : getScopeChain()) {
103 if (scope.isIsolate()) {
104 return scope.getObject();
105 }
106 }
107
108 return null;
109 }
110
111 /**
99 * Return the 'libraries' scope - the list of libraries for the current isolat e. 112 * Return the 'libraries' scope - the list of libraries for the current isolat e.
100 */ 113 */
101 public WebkitRemoteObject getLibrariesScope() { 114 public WebkitRemoteObject getLibrariesScope() {
102 for (WebkitScope scope : getScopeChain()) { 115 for (WebkitScope scope : getScopeChain()) {
103 if (scope.isLibraries()) { 116 if (scope.isLibraries()) {
104 return scope.getObject(); 117 return scope.getObject();
105 } 118 }
106 } 119 }
107 120
108 return null; 121 return null;
(...skipping 29 matching lines...) Expand all
138 public boolean isStaticMethod() { 151 public boolean isStaticMethod() {
139 return thisObject == null || thisObject.getObjectId() == null; 152 return thisObject == null || thisObject.getObjectId() == null;
140 } 153 }
141 154
142 @Override 155 @Override
143 public String toString() { 156 public String toString() {
144 return "[" + callFrameId + "," + functionName + "]"; 157 return "[" + callFrameId + "," + functionName + "]";
145 } 158 }
146 159
147 } 160 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698