Bug 1622008 Part 1 - Revise nsFrameManager's documentation. r=dholbert

Differential Revision: https://phabricator.services.mozilla.com/D66598

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Ting-Yu Lin 2020-03-12 21:50:18 +00:00
parent 1a8d31a2e8
commit 1edf5571f6

View File

@ -4,7 +4,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
/* storage of the frame tree and information about it */
/* Owns the frame tree and provides APIs to manipulate it */
#ifndef _nsFrameManager_h_
#define _nsFrameManager_h_
@ -24,13 +24,10 @@ class PresShell;
} // namespace mozilla
/**
* Frame manager interface. The frame manager serves one purpose:
* <li>handles structural modifications to the frame model. If the frame model
* lock can be acquired, then the changes are processed immediately; otherwise,
* they're queued and processed later.
*
* FIXME(emilio): The comment above doesn't make any sense, there's no "frame
* model lock" of any sort afaict.
* Frame manager interface. The frame manager owns the frame tree model, and
* handles structural manipulations to it, such as appending and inserting a
* list of frames to a parent frame, or removing a child frame from a parent
* frame.
*/
class nsFrameManager {
typedef mozilla::PresShell PresShell;