Backed out changeset 496886cb30a5 (bug 1867152) for bc failures on browser_user_input...
[gecko.git] / layout / generic / FrameClass.py
blob90ad3f957022265463dd509da787c0ff7ae12296
1 # This Source Code Form is subject to the terms of the Mozilla Public
2 # License, v. 2.0. If a copy of the MPL was not distributed with this
3 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
6 class FrameClass:
7 def __init__(self, cls):
8 self.cls = cls
11 class Frame(FrameClass):
12 def __init__(self, cls, ty, flags):
13 FrameClass.__init__(self, cls)
14 self.ty = ty
15 self.flags = flags
16 self.is_concrete = True
19 class AbstractFrame(FrameClass):
20 def __init__(self, cls):
21 FrameClass.__init__(self, cls)
22 self.is_concrete = False