зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1388365 - Add minimize and fullscreen to client.Window. r=whimboo
MozReview-Commit-ID: KMqJmnAwGEY --HG-- extra : rebase_source : 1a738b28dd470c9a2df765f87eac4375539570fa
This commit is contained in:
Родитель
df65a93025
Коммит
ba1a5cc488
|
@ -277,6 +277,14 @@ class Window(object):
|
|||
def maximize(self):
|
||||
return self.session.send_session_command("POST", "window/maximize")
|
||||
|
||||
@command
|
||||
def minimize(self):
|
||||
return self.session.send_session_command("POST", "window/minimize")
|
||||
|
||||
@command
|
||||
def fullscreen(self):
|
||||
return self.session.send_session_command("POST", "window/fullscreen")
|
||||
|
||||
|
||||
class Find(object):
|
||||
def __init__(self, session):
|
||||
|
|
Загрузка…
Ссылка в новой задаче