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

Side by Side Diff: Source/bindings/core/v8/V8Binding.h

Issue 1236473002: Fix virtual/override/final usage in Source/bindings/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 5 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) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * Copyright (C) 2012 Ericsson AB. All rights reserved. 3 * Copyright (C) 2012 Ericsson AB. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 1013 matching lines...) Expand 10 before | Expand all | Expand 10 after
1024 : m_isolate(isolate) 1024 : m_isolate(isolate)
1025 { 1025 {
1026 } 1026 }
1027 1027
1028 static void onInterruptCallback(v8::Isolate* isolate, void* data) 1028 static void onInterruptCallback(v8::Isolate* isolate, void* data)
1029 { 1029 {
1030 V8IsolateInterruptor* interruptor = reinterpret_cast<V8IsolateInterrupto r*>(data); 1030 V8IsolateInterruptor* interruptor = reinterpret_cast<V8IsolateInterrupto r*>(data);
1031 interruptor->onInterrupted(); 1031 interruptor->onInterrupted();
1032 } 1032 }
1033 1033
1034 virtual void requestInterrupt() override 1034 void requestInterrupt() override
1035 { 1035 {
1036 m_isolate->RequestInterrupt(&onInterruptCallback, this); 1036 m_isolate->RequestInterrupt(&onInterruptCallback, this);
1037 } 1037 }
1038 1038
1039 private: 1039 private:
1040 v8::Isolate* m_isolate; 1040 v8::Isolate* m_isolate;
1041 }; 1041 };
1042 1042
1043 class DevToolsFunctionInfo final { 1043 class DevToolsFunctionInfo final {
1044 public: 1044 public:
(...skipping 28 matching lines...) Expand all
1073 PassRefPtr<TraceEvent::ConvertableToTraceFormat> devToolsTraceEventData(v8::Isol ate*, ExecutionContext*, v8::Local<v8::Function>); 1073 PassRefPtr<TraceEvent::ConvertableToTraceFormat> devToolsTraceEventData(v8::Isol ate*, ExecutionContext*, v8::Local<v8::Function>);
1074 1074
1075 // Callback functions used by generated code. 1075 // Callback functions used by generated code.
1076 CORE_EXPORT void v8ConstructorAttributeGetter(v8::Local<v8::Name> propertyName, const v8::PropertyCallbackInfo<v8::Value>&); 1076 CORE_EXPORT void v8ConstructorAttributeGetter(v8::Local<v8::Name> propertyName, const v8::PropertyCallbackInfo<v8::Value>&);
1077 1077
1078 typedef void (*InstallTemplateFunction)(v8::Local<v8::FunctionTemplate>, v8::Iso late*); 1078 typedef void (*InstallTemplateFunction)(v8::Local<v8::FunctionTemplate>, v8::Iso late*);
1079 1079
1080 } // namespace blink 1080 } // namespace blink
1081 1081
1082 #endif // V8Binding_h 1082 #endif // V8Binding_h
OLDNEW
« no previous file with comments | « Source/bindings/core/v8/V8AbstractEventListener.h ('k') | Source/bindings/core/v8/V8BindingForTesting.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698