Closed Bug 1325028 Opened 9 years ago Closed 9 years ago

Remove some more IsCallerChrome bits in nsGlobalWindow

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla53
Tracking Status
firefox53 --- fixed

People

(Reporter: bzbarsky, Assigned: bzbarsky)

References

(Blocks 1 open bug)

Details

Attachments

(5 files)

The infrastructure in bug 1320801 lets us get rid of some of them.
Attachment #8820679 - Flags: review?(bkelly) → review+
Comment on attachment 8820680 [details] [diff] [review] part 2. Remove IsCallerChrome use from the various things called via SetReplaceableWindowCoord Review of attachment 8820680 [details] [diff] [review]: ----------------------------------------------------------------- ::: dom/base/nsGlobalWindow.h @@ +1308,5 @@ > nsresult GetInnerWidth(int32_t* aWidth) override; > + void SetInnerWidthOuter(int32_t aInnerWidth, > + mozilla::dom::CallerType aCallerType, > + mozilla::ErrorResult& aError); > + void SetInnerWidth(int32_t aInnerWidth, nit: trailing whitespace
Attachment #8820680 - Flags: review?(bkelly) → review+
Attachment #8820681 - Flags: review?(bkelly) → review+
Attachment #8820682 - Flags: review?(bkelly) → review+
Attachment #8820683 - Flags: review?(bkelly) → review+
Pushed by bzbarsky@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/a97e232bbd11 part 1. Remove IsCallerChrome use from nsGlobalWindow's .content getter. r=bkelly https://hg.mozilla.org/integration/mozilla-inbound/rev/58fa05c29557 part 2. Remove IsCallerChrome use from the various things called via SetReplaceableWindowCoord. r=bkelly https://hg.mozilla.org/integration/mozilla-inbound/rev/99bb6dd6ebaa part 3. Remove IsCallerChrome use from nsGlobalWindow::ResizeTo/ResizeBy/SizeToContent. r=bkelly https://hg.mozilla.org/integration/mozilla-inbound/rev/8850df6ea79d part 4. Remove IsCallerChrome use from nsGlobalWindow::MoveTo/MoveBy. r=bkelly https://hg.mozilla.org/integration/mozilla-inbound/rev/a91c57b9a522 part 5. Change nsGlonalWindow::CanMoveResizeWindows to take CallerType. r=bkelly
> nit: trailing whitespace Fixed.
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: