Skip to content

Commit 5b753da

Browse files
committed
Bug 1470325 - s/FooBinding/Foo_Binding/g - r=qdot
MozReview-Commit-ID: JtTcLL5OPF0
1 parent 15f1932 commit 5b753da

File tree

712 files changed

+1793
-1793
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

712 files changed

+1793
-1793
lines changed

accessible/aom/AccessibleNode.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ AccessibleNode::~AccessibleNode()
6262
/* virtual */ JSObject*
6363
AccessibleNode::WrapObject(JSContext* aCx, JS::Handle<JSObject*> aGivenProto)
6464
{
65-
return AccessibleNodeBinding::Wrap(aCx, this, aGivenProto);
65+
return AccessibleNode_Binding::Wrap(aCx, this, aGivenProto);
6666
}
6767

6868
/* virtual */ ParentObject

accessible/base/nsCoreUtils.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ nsCoreUtils::DispatchMouseEvent(EventMessage aMessage, int32_t aX, int32_t aY,
143143
event.mClickCount = 1;
144144
event.button = WidgetMouseEvent::eLeftButton;
145145
event.mTime = PR_IntervalNow();
146-
event.inputSource = dom::MouseEventBinding::MOZ_SOURCE_UNKNOWN;
146+
event.inputSource = dom::MouseEvent_Binding::MOZ_SOURCE_UNKNOWN;
147147

148148
nsEventStatus status = nsEventStatus_eIgnore;
149149
aPresShell->HandleEventWithTarget(&event, aFrame, aContent, &status);

accessible/generic/Accessible.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -256,13 +256,13 @@ Accessible::AccessKey() const
256256
switch (Preferences::GetInt("ui.key.generalAccessKey", -1)) {
257257
case -1:
258258
break;
259-
case dom::KeyboardEventBinding::DOM_VK_SHIFT:
259+
case dom::KeyboardEvent_Binding::DOM_VK_SHIFT:
260260
return KeyBinding(key, KeyBinding::kShift);
261-
case dom::KeyboardEventBinding::DOM_VK_CONTROL:
261+
case dom::KeyboardEvent_Binding::DOM_VK_CONTROL:
262262
return KeyBinding(key, KeyBinding::kControl);
263-
case dom::KeyboardEventBinding::DOM_VK_ALT:
263+
case dom::KeyboardEvent_Binding::DOM_VK_ALT:
264264
return KeyBinding(key, KeyBinding::kAlt);
265-
case dom::KeyboardEventBinding::DOM_VK_META:
265+
case dom::KeyboardEvent_Binding::DOM_VK_META:
266266
return KeyBinding(key, KeyBinding::kMeta);
267267
default:
268268
return KeyBinding();

accessible/generic/DocAccessible.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -721,7 +721,7 @@ DocAccessible::AttributeWillChange(dom::Element* aElement,
721721
// Update dependent IDs cache. Take care of elements that are accessible
722722
// because dependent IDs cache doesn't contain IDs from non accessible
723723
// elements.
724-
if (aModType != dom::MutationEventBinding::ADDITION)
724+
if (aModType != dom::MutationEvent_Binding::ADDITION)
725725
RemoveDependentIDsFor(accessible, aAttribute);
726726

727727
if (aAttribute == nsGkAtoms::id) {
@@ -739,7 +739,7 @@ DocAccessible::AttributeWillChange(dom::Element* aElement,
739739
// need to newly expose it as a toggle button) etc.
740740
if (aAttribute == nsGkAtoms::aria_checked ||
741741
aAttribute == nsGkAtoms::aria_pressed) {
742-
mARIAAttrOldValue = (aModType != dom::MutationEventBinding::ADDITION) ?
742+
mARIAAttrOldValue = (aModType != dom::MutationEvent_Binding::ADDITION) ?
743743
nsAccUtils::GetARIAToken(aElement, aAttribute) : nullptr;
744744
return;
745745
}
@@ -794,8 +794,8 @@ DocAccessible::AttributeChanged(dom::Element* aElement,
794794
// its accessible will be created later. It doesn't make sense to keep
795795
// dependent IDs for non accessible elements. For the second case we'll update
796796
// dependent IDs cache when its accessible is created.
797-
if (aModType == dom::MutationEventBinding::MODIFICATION ||
798-
aModType == dom::MutationEventBinding::ADDITION) {
797+
if (aModType == dom::MutationEvent_Binding::MODIFICATION ||
798+
aModType == dom::MutationEvent_Binding::ADDITION) {
799799
AddDependentIDsFor(accessible, aAttribute);
800800
}
801801
}

accessible/xul/XULMenuAccessible.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -173,16 +173,16 @@ XULMenuitemAccessible::AccessKey() const
173173
}
174174

175175
switch (gMenuAccesskeyModifier) {
176-
case dom::KeyboardEventBinding::DOM_VK_CONTROL:
176+
case dom::KeyboardEvent_Binding::DOM_VK_CONTROL:
177177
modifierKey = KeyBinding::kControl;
178178
break;
179-
case dom::KeyboardEventBinding::DOM_VK_ALT:
179+
case dom::KeyboardEvent_Binding::DOM_VK_ALT:
180180
modifierKey = KeyBinding::kAlt;
181181
break;
182-
case dom::KeyboardEventBinding::DOM_VK_META:
182+
case dom::KeyboardEvent_Binding::DOM_VK_META:
183183
modifierKey = KeyBinding::kMeta;
184184
break;
185-
case dom::KeyboardEventBinding::DOM_VK_WIN:
185+
case dom::KeyboardEvent_Binding::DOM_VK_WIN:
186186
modifierKey = KeyBinding::kOS;
187187
break;
188188
}

accessible/xul/XULTreeGridAccessible.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ XULTreeGridCellAccessible::
431431

432432
NS_ASSERTION(mTreeView, "mTreeView is null");
433433

434-
if (mColumn->Type() == dom::TreeColumnBinding::TYPE_CHECKBOX)
434+
if (mColumn->Type() == dom::TreeColumn_Binding::TYPE_CHECKBOX)
435435
mTreeView->GetCellValue(mRow, mColumn, mCachedTextEquiv);
436436
else
437437
mTreeView->GetCellText(mRow, mColumn, mCachedTextEquiv);
@@ -538,7 +538,7 @@ XULTreeGridCellAccessible::ActionCount() const
538538
if (mColumn->Cycler())
539539
return 1;
540540

541-
if (mColumn->Type() == dom::TreeColumnBinding::TYPE_CHECKBOX && IsEditable())
541+
if (mColumn->Type() == dom::TreeColumn_Binding::TYPE_CHECKBOX && IsEditable())
542542
return 1;
543543

544544
return 0;
@@ -557,7 +557,7 @@ XULTreeGridCellAccessible::ActionNameAt(uint8_t aIndex, nsAString& aName)
557557
return;
558558
}
559559

560-
if (mColumn->Type() == dom::TreeColumnBinding::TYPE_CHECKBOX &&
560+
if (mColumn->Type() == dom::TreeColumn_Binding::TYPE_CHECKBOX &&
561561
IsEditable()) {
562562
nsAutoString value;
563563
mTreeView->GetCellValue(mRow, mColumn, value);
@@ -579,7 +579,7 @@ XULTreeGridCellAccessible::DoAction(uint8_t aIndex) const
579579
return true;
580580
}
581581

582-
if (mColumn->Type() == dom::TreeColumnBinding::TYPE_CHECKBOX &&
582+
if (mColumn->Type() == dom::TreeColumn_Binding::TYPE_CHECKBOX &&
583583
IsEditable()) {
584584
DoCommand();
585585
return true;
@@ -691,7 +691,7 @@ XULTreeGridCellAccessible::NativeState() const
691691
}
692692

693693
// checked state
694-
if (mColumn->Type() == dom::TreeColumnBinding::TYPE_CHECKBOX) {
694+
if (mColumn->Type() == dom::TreeColumn_Binding::TYPE_CHECKBOX) {
695695
states |= states::CHECKABLE;
696696
nsAutoString checked;
697697
mTreeView->GetCellValue(mRow, mColumn, checked);
@@ -729,7 +729,7 @@ XULTreeGridCellAccessible::CellInvalidated()
729729

730730
nsAutoString textEquiv;
731731

732-
if (mColumn->Type() == dom::TreeColumnBinding::TYPE_CHECKBOX) {
732+
if (mColumn->Type() == dom::TreeColumn_Binding::TYPE_CHECKBOX) {
733733
mTreeView->GetCellValue(mRow, mColumn, textEquiv);
734734
if (mCachedTextEquiv != textEquiv) {
735735
bool isEnabled = textEquiv.EqualsLiteral("true");

devtools/shared/heapsnapshot/DominatorTree.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ NS_INTERFACE_MAP_END
133133
/* virtual */ JSObject*
134134
DominatorTree::WrapObject(JSContext* aCx, JS::HandleObject aGivenProto)
135135
{
136-
return dom::DominatorTreeBinding::Wrap(aCx, this, aGivenProto);
136+
return dom::DominatorTree_Binding::Wrap(aCx, this, aGivenProto);
137137
}
138138

139139
} // namespace devtools

devtools/shared/heapsnapshot/HeapSnapshot.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ NS_INTERFACE_MAP_END
8686
/* virtual */ JSObject*
8787
HeapSnapshot::WrapObject(JSContext* aCx, HandleObject aGivenProto)
8888
{
89-
return HeapSnapshotBinding::Wrap(aCx, this, aGivenProto);
89+
return HeapSnapshot_Binding::Wrap(aCx, this, aGivenProto);
9090
}
9191

9292
/*** Reading Heap Snapshots ***********************************************************************/

docshell/shistory/ChildSHistory.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ NS_IMPL_CYCLE_COLLECTION_WRAPPERCACHE(ChildSHistory,
124124
JSObject*
125125
ChildSHistory::WrapObject(JSContext* cx, JS::Handle<JSObject*> aGivenProto)
126126
{
127-
return ChildSHistoryBinding::Wrap(cx, this, aGivenProto);
127+
return ChildSHistory_Binding::Wrap(cx, this, aGivenProto);
128128
}
129129

130130
nsISupports*

docshell/shistory/ParentSHistory.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ NS_IMPL_CYCLE_COLLECTION_WRAPPERCACHE(ParentSHistory,
6060
JSObject*
6161
ParentSHistory::WrapObject(JSContext* cx, JS::Handle<JSObject*> aGivenProto)
6262
{
63-
return ParentSHistoryBinding::Wrap(cx, this, aGivenProto);
63+
return ParentSHistory_Binding::Wrap(cx, this, aGivenProto);
6464
}
6565

6666
nsISupports*

0 commit comments

Comments
 (0)