Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(180)

Unified Diff: third_party/WebKit/Source/core/dom/Fullscreen.h

Issue 2325663002: Make Fullscreen::requestFullscreen and exitFullscreen static (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/dom/Fullscreen.h
diff --git a/third_party/WebKit/Source/core/dom/Fullscreen.h b/third_party/WebKit/Source/core/dom/Fullscreen.h
index 9c0b01b4704a04fe7f8818c0169638440a3590e2..b98977dd31b74ff9aaa5f84cf60dc3b69d90d8f3 100644
--- a/third_party/WebKit/Source/core/dom/Fullscreen.h
+++ b/third_party/WebKit/Source/core/dom/Fullscreen.h
@@ -69,10 +69,10 @@ public:
// |forCrossProcessDescendant| is used in OOPIF scenarios and is set to
// true when fullscreen is requested for an out-of-process descendant
// element.
- void requestFullscreen(Element&, RequestType, bool forCrossProcessDescendant = false);
+ static void requestFullscreen(Element&, RequestType, bool forCrossProcessDescendant = false);
static void fullyExitFullscreen(Document&);
- void exitFullscreen();
+ static void exitFullscreen(Document&);
static bool fullscreenEnabled(Document&);
// TODO(foolip): The fullscreen element stack is modified synchronously in

Powered by Google App Engine
This is Rietveld 408576698