Searched refs:PerContextData (Results 1 - 16 of 16) sorted by relevance

/external/chromium_org/gin/
H A Dper_context_data.cc13 PerContextData::PerContextData(ContextHolder* context_holder, function in class:gin::PerContextData
21 PerContextData::~PerContextData() {
28 PerContextData* PerContextData::From(v8::Handle<v8::Context> context) {
29 return static_cast<PerContextData*>(
H A Dper_context_data.h18 // There is one instance of PerContextData per v8::Context managed by Gin. This
23 class GIN_EXPORT PerContextData : public base::SupportsUserData { class in namespace:gin
25 PerContextData(ContextHolder* context_holder,
27 virtual ~PerContextData();
30 static PerContextData* From(v8::Handle<v8::Context> context);
43 DISALLOW_COPY_AND_ASSIGN(PerContextData);
H A Dper_context_data_unittest.cc16 // Verifies PerContextData can be looked up by context and that it is not
26 PerContextData* per_context_data = PerContextData::From(context);
30 PerContextData* per_context_data = PerContextData::From(context);
H A Dcontext_holder.cc17 // PerContextData needs to be destroyed before the context.
24 data_.reset(new PerContextData(this, context));
H A Dshell_runner.cc57 PerContextData::From(context)->set_runner(this);
/external/chromium_org/gin/public/
H A Dcontext_holder.h26 class PerContextData;
45 scoped_ptr<PerContextData> data_;
/external/chromium_org/content/renderer/
H A Dweb_ui_mojo.cc62 gin::PerContextData* context_data = gin::PerContextData::From(context);
70 gin::PerContextData* context_data = gin::PerContextData::From(context);
88 gin::PerContextData* context_data = gin::PerContextData::From(context);
H A Dweb_ui_mojo.h16 class PerContextData;
H A Dweb_ui_mojo_context_state.cc54 gin::PerContextData* context_data = gin::PerContextData::From(context);
H A Dweb_ui_runner.cc36 gin::PerContextData::From(context_holder->context())->set_runner(this);
/external/chromium_org/gin/modules/
H A Dmodule_registry.cc124 PerContextData* data = PerContextData::From(context);
131 // PerContextData takes ownership of ModuleRegistryData.
228 PerContextData* data = PerContextData::From(isolate->GetCurrentContext());
H A Dtimer.cc45 runner_(PerContextData::From(
/external/chromium_org/mojo/bindings/js/
H A Dwaiting_callback.cc56 runner_ = gin::PerContextData::From(context)->runner()->GetWeakPtr();
H A Ddrain_data.cc24 runner_ = gin::PerContextData::From(context)->runner()->GetWeakPtr();
/external/chromium_org/extensions/renderer/
H A Dscript_context.cc81 gin::PerContextData::From(v8_context)->set_runner(this);
272 return gin::PerContextData::From(v8_context())->context_holder();
/external/chromium_org/mojo/apps/js/bindings/gl/
H A Dcontext.cc156 runner_ = gin::PerContextData::From(context)->runner()->GetWeakPtr();

Completed in 156 milliseconds