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

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

Issue 15317004: Remove V8WorkerContextErrorHandler.cpp (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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 side-by-side diff with in-line comments
Download patch
Index: Source/bindings/v8/V8DOMWindowOrWorkerContextErrorHandler.h
diff --git a/Source/bindings/v8/V8WindowErrorHandler.h b/Source/bindings/v8/V8DOMWindowOrWorkerContextErrorHandler.h
similarity index 78%
rename from Source/bindings/v8/V8WindowErrorHandler.h
rename to Source/bindings/v8/V8DOMWindowOrWorkerContextErrorHandler.h
index 2eb996295b77de6f4a1fa6c572e33e35316f78bb..b5ca921c29f1a44a04c0c035abdd032917197aca 100644
--- a/Source/bindings/v8/V8WindowErrorHandler.h
+++ b/Source/bindings/v8/V8DOMWindowOrWorkerContextErrorHandler.h
@@ -28,24 +28,24 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef V8WindowErrorHandler_h
-#define V8WindowErrorHandler_h
+#ifndef V8DOMWindowOrWorkerContextErrorHandler_h
+#define V8DOMWindowOrWorkerContextErrorHandler_h
#include "bindings/v8/V8EventListener.h"
-#include <v8.h>
#include "wtf/PassRefPtr.h"
+#include <v8.h>
namespace WebCore {
-class V8WindowErrorHandler : public V8EventListener {
+class V8DOMWindowOrWorkerContextErrorHandler : public V8EventListener {
abarth-chromium 2013/06/04 06:45:29 Why not just call this V8ErrorHander ? There isn'
public:
- static PassRefPtr<V8WindowErrorHandler> create(v8::Local<v8::Object> listener, bool isInline)
+ static PassRefPtr<V8DOMWindowOrWorkerContextErrorHandler> create(v8::Local<v8::Object> listener, bool isInline)
{
- return adoptRef(new V8WindowErrorHandler(listener, isInline));
+ return adoptRef(new V8DOMWindowOrWorkerContextErrorHandler(listener, isInline));
}
private:
- V8WindowErrorHandler(v8::Local<v8::Object> listener, bool isInline);
+ V8DOMWindowOrWorkerContextErrorHandler(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 // V8DOMWindowOrWorkerContextErrorHandler_h

Powered by Google App Engine
This is Rietveld 408576698