HomeSort by relevance Sort by last modified time
    Searched refs:BaseContext (Results 1 - 6 of 6) sorted by null

  /external/chromium_org/third_party/skia/experimental/SkV8Example/
BaseContext.cpp 14 #include "BaseContext.h"
19 BaseContext* BaseContext::Unwrap(Handle<Object> obj) {
22 return static_cast<BaseContext*>(ptr);
25 void BaseContext::FillRect(const v8::FunctionCallbackInfo<Value>& args) {
26 BaseContext* BaseContext = Unwrap(args.This());
27 SkCanvas* canvas = BaseContext->getCanvas();
49 canvas->drawRect(rect, BaseContext->fFillStyle);
52 void BaseContext::Save(const v8::FunctionCallbackInfo<Value>& args)
    [all...]
JsContext.h 16 #include "BaseContext.h"
30 class JsContext : public BaseContext {
62 typedef BaseContext INHERITED;
BaseContext.h 22 // BaseContext contains common functionality for both JsContext
24 class BaseContext {
26 BaseContext(Global* global)
36 virtual ~BaseContext() {}
41 // Add the Javascript attributes and methods that BaseContext implements to the ObjectTemplate.
46 static BaseContext* Unwrap(Handle<Object> obj);
  /external/skia/experimental/SkV8Example/
BaseContext.cpp 14 #include "BaseContext.h"
19 BaseContext* BaseContext::Unwrap(Handle<Object> obj) {
22 return static_cast<BaseContext*>(ptr);
25 void BaseContext::FillRect(const v8::FunctionCallbackInfo<Value>& args) {
26 BaseContext* BaseContext = Unwrap(args.This());
27 SkCanvas* canvas = BaseContext->getCanvas();
49 canvas->drawRect(rect, BaseContext->fFillStyle);
52 void BaseContext::Save(const v8::FunctionCallbackInfo<Value>& args)
    [all...]
JsContext.h 16 #include "BaseContext.h"
30 class JsContext : public BaseContext {
62 typedef BaseContext INHERITED;
BaseContext.h 22 // BaseContext contains common functionality for both JsContext
24 class BaseContext {
26 BaseContext(Global* global)
36 virtual ~BaseContext() {}
41 // Add the Javascript attributes and methods that BaseContext implements to the ObjectTemplate.
46 static BaseContext* Unwrap(Handle<Object> obj);

Completed in 48 milliseconds