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

Unified Diff: Source/bindings/v8/V8ErrorHandler.h

Issue 15317004: Remove V8WorkerContextErrorHandler.cpp (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/bindings/scripts/CodeGeneratorV8.pm ('k') | Source/bindings/v8/V8ErrorHandler.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/v8/V8ErrorHandler.h
diff --git a/Source/bindings/v8/V8WindowErrorHandler.h b/Source/bindings/v8/V8ErrorHandler.h
similarity index 83%
rename from Source/bindings/v8/V8WindowErrorHandler.h
rename to Source/bindings/v8/V8ErrorHandler.h
index 2eb996295b77de6f4a1fa6c572e33e35316f78bb..90fdf5f81a0954f2b17f6f9303c9f7c115f792fb 100644
--- a/Source/bindings/v8/V8WindowErrorHandler.h
+++ b/Source/bindings/v8/V8ErrorHandler.h
@@ -28,24 +28,24 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef V8WindowErrorHandler_h
-#define V8WindowErrorHandler_h
+#ifndef V8ErrorHandler_h
+#define V8ErrorHandler_h
#include "bindings/v8/V8EventListener.h"
-#include <v8.h>
#include "wtf/PassRefPtr.h"
+#include <v8.h>
namespace WebCore {
-class V8WindowErrorHandler : public V8EventListener {
+class V8ErrorHandler : public V8EventListener {
public:
- static PassRefPtr<V8WindowErrorHandler> create(v8::Local<v8::Object> listener, bool isInline)
+ static PassRefPtr<V8ErrorHandler> create(v8::Local<v8::Object> listener, bool isInline)
{
- return adoptRef(new V8WindowErrorHandler(listener, isInline));
+ return adoptRef(new V8ErrorHandler(listener, isInline));
}
private:
- V8WindowErrorHandler(v8::Local<v8::Object> listener, bool isInline);
+ V8ErrorHandler(v8::Local<v8::Object> listener, bool isInline);
virtual v8::Local<v8::Value> callListenerFunction(ScriptExecutionContext*, v8::Handle<v8::Value> jsEvent, Event*);
virtual bool shouldPreventDefault(v8::Local<v8::Value> returnValue);
@@ -53,4 +53,4 @@ private:
} // namespace WebCore
-#endif // V8WindowErrorHandler_h
+#endif // V8ErrorHandler_h
« no previous file with comments | « Source/bindings/scripts/CodeGeneratorV8.pm ('k') | Source/bindings/v8/V8ErrorHandler.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698