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

Side by Side Diff: third_party/WebKit/Source/web/FullscreenController.h

Issue 2139303002: Clean up around methods to enter/exit fullscreen (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 28 matching lines...) Expand all
39 namespace blink { 39 namespace blink {
40 40
41 class Element; 41 class Element;
42 class LocalFrame; 42 class LocalFrame;
43 class WebViewImpl; 43 class WebViewImpl;
44 44
45 class FullscreenController final : public GarbageCollected<FullscreenController> { 45 class FullscreenController final : public GarbageCollected<FullscreenController> {
46 public: 46 public:
47 static FullscreenController* create(WebViewImpl*); 47 static FullscreenController* create(WebViewImpl*);
48 48
49 void didEnterFullScreen(); 49 void didEnterFullscreen();
50 void didExitFullScreen(); 50 void didExitFullscreen();
51 51
52 void enterFullScreenForElement(Element*); 52 void enterFullScreenForElement(Element*);
53 void exitFullScreenForElement(Element*); 53 void exitFullScreenForElement(Element*);
54 54
55 bool isFullscreen() { return m_fullScreenFrame; } 55 bool isFullscreen() { return m_fullScreenFrame; }
56 56
57 void updateSize(); 57 void updateSize();
58 58
59 DECLARE_TRACE(); 59 DECLARE_TRACE();
60 60
(...skipping 15 matching lines...) Expand all
76 76
77 // If set, the WebView is in fullscreen mode for an element in this frame. 77 // If set, the WebView is in fullscreen mode for an element in this frame.
78 Member<LocalFrame> m_fullScreenFrame; 78 Member<LocalFrame> m_fullScreenFrame;
79 79
80 bool m_isCancelingFullScreen; 80 bool m_isCancelingFullScreen;
81 }; 81 };
82 82
83 } // namespace blink 83 } // namespace blink
84 84
85 #endif 85 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/dom/Fullscreen.cpp ('k') | third_party/WebKit/Source/web/FullscreenController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698