OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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.internal.wip; | 5 package org.chromium.sdk.internal.wip; |
6 | 6 |
7 import static org.chromium.sdk.util.BasicUtil.getSafe; | 7 import static org.chromium.sdk.util.BasicUtil.getSafe; |
8 | 8 |
9 import java.util.ArrayList; | 9 import java.util.ArrayList; |
10 import java.util.Collection; | 10 import java.util.Collection; |
(...skipping 378 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
389 ValueNameBuilder valueNameBuidler = WipExpressionBuilder.createRootName(
name, false); | 389 ValueNameBuilder valueNameBuidler = WipExpressionBuilder.createRootName(
name, false); |
390 return valueLoader.getValueBuilder().createVariable(thisObjectData, valu
eNameBuidler); | 390 return valueLoader.getValueBuilder().createVariable(thisObjectData, valu
eNameBuidler); |
391 } | 391 } |
392 | 392 |
393 private final WipEvaluateContextBase<?> evaluateContext = | 393 private final WipEvaluateContextBase<?> evaluateContext = |
394 new WipEvaluateContextBase<EvaluateOnCallFrameData>(getValueLoader())
{ | 394 new WipEvaluateContextBase<EvaluateOnCallFrameData>(getValueLoader())
{ |
395 @Override | 395 @Override |
396 protected WipParamsWithResponse<EvaluateOnCallFrameData> createRequestPa
rams( | 396 protected WipParamsWithResponse<EvaluateOnCallFrameData> createRequestPa
rams( |
397 String expression, WipValueLoader destinationValueLoader) { | 397 String expression, WipValueLoader destinationValueLoader) { |
398 return new EvaluateOnCallFrameParams(id, expression, | 398 return new EvaluateOnCallFrameParams(id, expression, |
399 destinationValueLoader.getObjectGroupId(), false, false); | 399 destinationValueLoader.getObjectGroupId(), false, null, false); |
400 } | 400 } |
401 | 401 |
402 @Override protected RemoteObjectValue getRemoteObjectValue(EvaluateOnCal
lFrameData data) { | 402 @Override protected RemoteObjectValue getRemoteObjectValue(EvaluateOnCal
lFrameData data) { |
403 return data.result(); | 403 return data.result(); |
404 } | 404 } |
405 | 405 |
406 @Override protected Boolean getWasThrown(EvaluateOnCallFrameData data) { | 406 @Override protected Boolean getWasThrown(EvaluateOnCallFrameData data) { |
407 return data.wasThrown(); | 407 return data.wasThrown(); |
408 } | 408 } |
409 }; | 409 }; |
(...skipping 340 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
750 default: | 750 default: |
751 throw new RuntimeException(); | 751 throw new RuntimeException(); |
752 } | 752 } |
753 } | 753 } |
754 | 754 |
755 private static final ResumeParams RESUME_PARAMS = new ResumeParams(); | 755 private static final ResumeParams RESUME_PARAMS = new ResumeParams(); |
756 private static final StepIntoParams STEP_INTO_PARAMS = new StepIntoParams(); | 756 private static final StepIntoParams STEP_INTO_PARAMS = new StepIntoParams(); |
757 private static final StepOutParams STEP_OUT_PARAMS = new StepOutParams(); | 757 private static final StepOutParams STEP_OUT_PARAMS = new StepOutParams(); |
758 private static final StepOverParams STEP_OVER_PARAMS = new StepOverParams(); | 758 private static final StepOverParams STEP_OVER_PARAMS = new StepOverParams(); |
759 } | 759 } |
OLD | NEW |