Closed Bug 71737 Opened 24 years ago Closed 23 years ago

Create nsIWebBrowserAccessible interface

Categories

(Core Graveyard :: Embedding: APIs, defect, P1)

defect

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 70219
mozilla1.1alpha

People

(Reporter: aaronlev, Assigned: aaronlev)

Details

We need to expose the DocShell's GetZoom and SetZoom in the embedding API.

This should be done through a new interface, nsIWebBrowserAccessible, which you
can get to by QI from nsIWebBrowser.

nsCOMPtr webBrowserAccessible(do_QueryInterface(webBrowser));
if (webBrowserAccessible) {
   float oldZoom, newZoom; /* Zoom value of 1.0 = normal (100%) size */
   webBrowserAccessible->GetZoom(&oldZoom);
   newZoom = oldZoom + 0.5; /* increase by another 50% */
   webBrowserAccessible->SetZoom(newZoom); /* takes float */
}

This is not a blocker for embedding 1.0.
OS: Linux → All
Status: NEW → ASSIGNED
Priority: -- → P1
Target Milestone: --- → mozilla1.1
duping.

*** This bug has been marked as a duplicate of 70219 ***
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
Moving API bug ownership to David Epstein.
QA Contact: mdunn → depstein
Correction: Changing QA contact for the Embed API bugs to David Epstein.
reassigning QA contact to Dharma. He's working on accessibility.
QA Contact: depstein → dsirnapalli
This bug is duplicate of 70219. changing to verified.
Status: RESOLVED → VERIFIED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.