Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: src/GlobalJsObject.h

Issue 10184021: Some refactoring of global JavaScript objects (Closed)
Patch Set: Created April 15, 2013, 2:54 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/ConsoleJsObject.cpp ('k') | src/GlobalJsObject.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/GlobalJsObject.h
===================================================================
--- a/src/GlobalJsObject.h
+++ b/src/GlobalJsObject.h
@@ -1,18 +1,16 @@
#ifndef ADBLOCK_PLUS_GLOBAL_JS_OBJECT_H
#define ADBLOCK_PLUS_GLOBAL_JS_OBJECT_H
#include <v8.h>
namespace AdblockPlus
{
- class ErrorCallback;
- class WebRequest;
+ class JsEngine;
namespace GlobalJsObject
{
- v8::Handle<v8::ObjectTemplate> Create(ErrorCallback& errorCallback,
- WebRequest& webRequest);
+ v8::Handle<v8::ObjectTemplate> Create(JsEngine& jsEngine);
}
}
#endif
« no previous file with comments | « src/ConsoleJsObject.cpp ('k') | src/GlobalJsObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld