OLD | NEW |
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 25 matching lines...) Expand all Loading... |
36 #include "platform/heap/Handle.h" | 36 #include "platform/heap/Handle.h" |
37 #include "wtf/PassOwnPtr.h" | 37 #include "wtf/PassOwnPtr.h" |
38 #include "wtf/RefPtr.h" | 38 #include "wtf/RefPtr.h" |
39 | 39 |
40 namespace blink { | 40 namespace blink { |
41 | 41 |
42 class Element; | 42 class Element; |
43 class LocalFrame; | 43 class LocalFrame; |
44 class WebViewImpl; | 44 class WebViewImpl; |
45 | 45 |
46 class FullscreenController FINAL : public NoBaseWillBeGarbageCollected<Fullscree
nController> { | 46 class FullscreenController final : public NoBaseWillBeGarbageCollected<Fullscree
nController> { |
47 public: | 47 public: |
48 static PassOwnPtrWillBeRawPtr<FullscreenController> create(WebViewImpl*); | 48 static PassOwnPtrWillBeRawPtr<FullscreenController> create(WebViewImpl*); |
49 | 49 |
50 void didEnterFullScreen(); | 50 void didEnterFullScreen(); |
51 void didExitFullScreen(); | 51 void didExitFullScreen(); |
52 | 52 |
53 void enterFullScreenForElement(Element*); | 53 void enterFullScreenForElement(Element*); |
54 void exitFullScreenForElement(Element*); | 54 void exitFullScreenForElement(Element*); |
55 | 55 |
56 bool isFullscreen() { return m_fullScreenFrame; } | 56 bool isFullscreen() { return m_fullScreenFrame; } |
(...skipping 15 matching lines...) Expand all Loading... |
72 | 72 |
73 // If set, the WebView is in fullscreen mode for an element in this frame. | 73 // If set, the WebView is in fullscreen mode for an element in this frame. |
74 RefPtrWillBeMember<LocalFrame> m_fullScreenFrame; | 74 RefPtrWillBeMember<LocalFrame> m_fullScreenFrame; |
75 | 75 |
76 bool m_isCancelingFullScreen; | 76 bool m_isCancelingFullScreen; |
77 }; | 77 }; |
78 | 78 |
79 } // namespace blink | 79 } // namespace blink |
80 | 80 |
81 #endif | 81 #endif |
OLD | NEW |