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

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

Issue 1328773002: Make classes and structures in web fast-allocated. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 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 unified diff | Download patch
« no previous file with comments | « Source/web/EditorClientImpl.h ('k') | Source/web/LinkHighlightImpl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 27 matching lines...) Expand all
38 #include "wtf/PassOwnPtr.h" 38 #include "wtf/PassOwnPtr.h"
39 #include "wtf/RefPtr.h" 39 #include "wtf/RefPtr.h"
40 40
41 namespace blink { 41 namespace blink {
42 42
43 class Element; 43 class Element;
44 class LocalFrame; 44 class LocalFrame;
45 class WebViewImpl; 45 class WebViewImpl;
46 46
47 class FullscreenController final : public NoBaseWillBeGarbageCollected<Fullscree nController> { 47 class FullscreenController final : public NoBaseWillBeGarbageCollected<Fullscree nController> {
48 WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED(FullscreenController);
48 public: 49 public:
49 static PassOwnPtrWillBeRawPtr<FullscreenController> create(WebViewImpl*); 50 static PassOwnPtrWillBeRawPtr<FullscreenController> create(WebViewImpl*);
50 51
51 void didEnterFullScreen(); 52 void didEnterFullScreen();
52 void didExitFullScreen(); 53 void didExitFullScreen();
53 54
54 void enterFullScreenForElement(Element*); 55 void enterFullScreenForElement(Element*);
55 void exitFullScreenForElement(Element*); 56 void exitFullScreenForElement(Element*);
56 57
57 bool isFullscreen() { return m_fullScreenFrame; } 58 bool isFullscreen() { return m_fullScreenFrame; }
(...skipping 19 matching lines...) Expand all
77 78
78 // If set, the WebView is in fullscreen mode for an element in this frame. 79 // If set, the WebView is in fullscreen mode for an element in this frame.
79 RefPtrWillBeMember<LocalFrame> m_fullScreenFrame; 80 RefPtrWillBeMember<LocalFrame> m_fullScreenFrame;
80 81
81 bool m_isCancelingFullScreen; 82 bool m_isCancelingFullScreen;
82 }; 83 };
83 84
84 } // namespace blink 85 } // namespace blink
85 86
86 #endif 87 #endif
OLDNEW
« no previous file with comments | « Source/web/EditorClientImpl.h ('k') | Source/web/LinkHighlightImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698