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

Side by Side Diff: third_party/WebKit/Source/platform/bindings/ConditionalFeatures.cpp

Issue 2843603002: Move ScriptWrappable and dependencies to platform/bindings (Closed)
Patch Set: Rebase and try again Created 3 years, 7 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 "bindings/core/v8/ConditionalFeatures.h" 5 #include "platform/bindings/ConditionalFeatures.h"
6 6
7 #include "bindings/core/v8/DOMWrapperWorld.h" 7 #include "platform/bindings/DOMWrapperWorld.h"
8 #include "bindings/core/v8/ScriptState.h" 8 #include "platform/bindings/ScriptState.h"
9 9
10 namespace blink { 10 namespace blink {
11 11
12 void InstallConditionalFeaturesDefault( 12 void InstallConditionalFeaturesDefault(
13 const WrapperTypeInfo* wrapper_type_info, 13 const WrapperTypeInfo* wrapper_type_info,
14 const ScriptState* script_state, 14 const ScriptState* script_state,
15 v8::Local<v8::Object> prototype_object, 15 v8::Local<v8::Object> prototype_object,
16 v8::Local<v8::Function> interface_object) {} 16 v8::Local<v8::Function> interface_object) {}
17 17
18 void InstallPendingConditionalFeatureDefault(const String& feature, 18 void InstallPendingConditionalFeatureDefault(const String& feature,
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 DCHECK(script_state); 61 DCHECK(script_state);
62 DCHECK(script_state->GetContext() == 62 DCHECK(script_state->GetContext() ==
63 script_state->GetIsolate()->GetCurrentContext()); 63 script_state->GetIsolate()->GetCurrentContext());
64 DCHECK(script_state->PerContextData()); 64 DCHECK(script_state->PerContextData());
65 DCHECK(script_state->World().IsMainWorld()); 65 DCHECK(script_state->World().IsMainWorld());
66 66
67 (*g_install_pending_conditional_feature_function)(feature, script_state); 67 (*g_install_pending_conditional_feature_function)(feature, script_state);
68 } 68 }
69 69
70 } // namespace blink 70 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/bindings/ConditionalFeatures.h ('k') | third_party/WebKit/Source/platform/bindings/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698