Home
last modified time | relevance | path

Searched refs:TestEventTarget (Results 1 – 6 of 6) sorted by relevance

/external/chromium_org/ui/events/test/
Dtest_event_target.cc14 TestEventTarget::TestEventTarget() in TestEventTarget() function in ui::test::TestEventTarget
16 TestEventTarget::~TestEventTarget() {} in ~TestEventTarget()
18 void TestEventTarget::AddChild(scoped_ptr<TestEventTarget> child) { in AddChild()
19 TestEventTarget* child_r = child.get(); in AddChild()
28 scoped_ptr<TestEventTarget> TestEventTarget::RemoveChild(TestEventTarget *c) { in RemoveChild()
29 ScopedVector<TestEventTarget>::iterator iter = std::find(children_.begin(), in RemoveChild()
35 return scoped_ptr<TestEventTarget>(c); in RemoveChild()
37 return scoped_ptr<TestEventTarget>(); in RemoveChild()
40 void TestEventTarget::SetEventTargeter(scoped_ptr<EventTargeter> targeter) { in SetEventTargeter()
44 bool TestEventTarget::DidReceiveEvent(ui::EventType type) const { in DidReceiveEvent()
[all …]
Dtest_event_target.h20 class TestEventTarget : public EventTarget {
22 TestEventTarget();
23 virtual ~TestEventTarget();
25 void AddChild(scoped_ptr<TestEventTarget> child);
26 scoped_ptr<TestEventTarget> RemoveChild(TestEventTarget* child);
28 TestEventTarget* parent() { return parent_; } in parent()
30 TestEventTarget* child_at(int index) { return children_[index]; } in child_at()
39 bool Contains(TestEventTarget* target) const;
51 void set_parent(TestEventTarget* parent) { parent_ = parent; } in set_parent()
53 TestEventTarget* parent_;
[all …]
/external/chromium_org/third_party/WebKit/Source/bindings/tests/results/
DV8TestEventTarget.h49 static TestEventTarget* toNative(v8::Handle<v8::Object> object) in toNative()
58 static inline void* toInternalPointer(TestEventTarget* impl) in toInternalPointer()
63 static inline TestEventTarget* fromInternalPointer(void* object) in fromInternalPointer()
65 return static_cast<TestEventTarget*>(V8EventTarget::fromInternalPointer(object)); in fromInternalPointer()
67 …static void installPerContextEnabledProperties(v8::Handle<v8::Object>, TestEventTarget*, v8::Isola… in installPerContextEnabledProperties() argument
71 …friend v8::Handle<v8::Object> wrap(TestEventTarget*, v8::Handle<v8::Object> creationContext, v8::I…
72 …static v8::Handle<v8::Object> createWrapper(PassRefPtr<TestEventTarget>, v8::Handle<v8::Object> cr…
76 class WrapperTypeTraits<TestEventTarget > {
81 inline v8::Handle<v8::Object> wrap(TestEventTarget* impl, v8::Handle<v8::Object> creationContext, v… in wrap()
88 inline v8::Handle<v8::Value> toV8(TestEventTarget* impl, v8::Handle<v8::Object> creationContext, v8… in toV8()
[all …]
DV8TestEventTarget.cpp48 static void initializeScriptWrappableForInterface(TestEventTarget* object) in initializeScriptWrappableForInterface()
62 void webCoreInitializeScriptWrappableForInterface(WebCore::TestEventTarget* object) in webCoreInitializeScriptWrappableForInterface()
80 TestEventTarget* imp = V8TestEventTarget::toNative(info.Holder()); in itemMethod()
98 TestEventTarget* imp = V8TestEventTarget::toNative(info.Holder()); in namedItemMethod()
113 TestEventTarget* collection = V8TestEventTarget::toNative(info.Holder()); in indexedPropertyGetter()
129 TestEventTarget* collection = V8TestEventTarget::toNative(info.Holder()); in indexedPropertySetter()
146 TestEventTarget* collection = V8TestEventTarget::toNative(info.Holder()); in indexedPropertyDeleter()
171 TestEventTarget* collection = V8TestEventTarget::toNative(info.Holder()); in namedPropertyGetter()
194 TestEventTarget* collection = V8TestEventTarget::toNative(info.Holder()); in namedPropertySetter()
216 TestEventTarget* collection = V8TestEventTarget::toNative(info.Holder()); in namedPropertyDeleter()
[all …]
/external/chromium_org/ui/events/
Devent_processor_unittest.cc21 processor_.SetRoot(scoped_ptr<EventTarget>(new TestEventTarget())); in SetUp()
25 TestEventTarget* root() { in root()
26 return static_cast<TestEventTarget*>(processor_.GetRootTarget()); in root()
40 scoped_ptr<TestEventTarget> child(new TestEventTarget()); in TEST_F()
67 class BoundsTestTarget : public TestEventTarget {
118 child->AddChild(scoped_ptr<TestEventTarget>(grandchild.Pass())); in TEST_F()
119 parent->AddChild(scoped_ptr<TestEventTarget>(child.Pass())); in TEST_F()
120 root()->AddChild(scoped_ptr<TestEventTarget>(parent.Pass())); in TEST_F()
126 TestEventTarget* parent_r = root()->child_at(0); in TEST_F()
127 TestEventTarget* child_r = parent_r->child_at(0); in TEST_F()
[all …]
/external/chromium_org/third_party/WebKit/Source/bindings/tests/idls/
DTestEventTarget.idl29 interface TestEventTarget : EventTarget {