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

Side by Side Diff: third_party/WebKit/Source/platform/v8_inspector/V8InjectedScriptHost.cpp

Issue 2238423002: [DevTools] Generate all files in inspector_protocol. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2240663003
Patch Set: Created 4 years, 4 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 #include "platform/v8_inspector/V8InjectedScriptHost.h" 5 #include "platform/v8_inspector/V8InjectedScriptHost.h"
6 6
7 #include "platform/inspector_protocol/String16.h"
8 #include "platform/v8_inspector/InjectedScriptNative.h" 7 #include "platform/v8_inspector/InjectedScriptNative.h"
9 #include "platform/v8_inspector/V8Compat.h" 8 #include "platform/v8_inspector/V8Compat.h"
10 #include "platform/v8_inspector/V8Debugger.h" 9 #include "platform/v8_inspector/V8Debugger.h"
11 #include "platform/v8_inspector/V8InspectorImpl.h" 10 #include "platform/v8_inspector/V8InspectorImpl.h"
12 #include "platform/v8_inspector/V8InternalValueType.h" 11 #include "platform/v8_inspector/V8InternalValueType.h"
13 #include "platform/v8_inspector/V8StringUtil.h" 12 #include "platform/v8_inspector/V8StringUtil.h"
14 #include "platform/v8_inspector/public/V8InspectorClient.h" 13 #include "platform/v8_inspector/public/V8InspectorClient.h"
15 14
16 namespace blink { 15 namespace blink {
17 16
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 NOTREACHED(); 176 NOTREACHED();
178 return; 177 return;
179 } 178 }
180 v8::Local<v8::Object> target = info[0].As<v8::Proxy>(); 179 v8::Local<v8::Object> target = info[0].As<v8::Proxy>();
181 while (target->IsProxy()) 180 while (target->IsProxy())
182 target = v8::Local<v8::Proxy>::Cast(target)->GetTarget(); 181 target = v8::Local<v8::Proxy>::Cast(target)->GetTarget();
183 info.GetReturnValue().Set(target); 182 info.GetReturnValue().Set(target);
184 } 183 }
185 184
186 } // namespace blink 185 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698