1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef ElementFullscreen_h
6 #define ElementFullscreen_h
8 #include "core/events/EventTarget.h"
9 #include "wtf/Allocator.h"
15 class ElementFullscreen
{
16 STATIC_ONLY(ElementFullscreen
);
18 static void requestFullscreen(Element
&);
20 static void webkitRequestFullscreen(Element
&);
22 DEFINE_STATIC_ATTRIBUTE_EVENT_LISTENER(webkitfullscreenchange
);
23 DEFINE_STATIC_ATTRIBUTE_EVENT_LISTENER(webkitfullscreenerror
);
28 #endif // ElementFullscreen_h