OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef PresentationController_h | 5 #ifndef PresentationController_h |
6 #define PresentationController_h | 6 #define PresentationController_h |
7 | 7 |
8 #include "core/frame/FrameDestructionObserver.h" | 8 #include "core/frame/FrameDestructionObserver.h" |
9 #include "modules/presentation/Presentation.h" | 9 #include "modules/presentation/Presentation.h" |
10 #include "platform/Supplementable.h" | 10 #include "platform/Supplementable.h" |
11 #include "platform/heap/Handle.h" | 11 #include "platform/heap/Handle.h" |
12 #include "public/platform/WebPresentationController.h" | 12 #include "public/platform/modules/presentation/WebPresentationController.h" |
13 | 13 |
14 namespace blink { | 14 namespace blink { |
15 | 15 |
16 class LocalFrame; | 16 class LocalFrame; |
17 class WebPresentationClient; | 17 class WebPresentationClient; |
18 | 18 |
19 // The coordinator between the various page exposed properties and the content | 19 // The coordinator between the various page exposed properties and the content |
20 // layer represented via |WebPresentationClient|. | 20 // layer represented via |WebPresentationClient|. |
21 class PresentationController final | 21 class PresentationController final |
22 : public NoBaseWillBeGarbageCollectedFinalized<PresentationController> | 22 : public NoBaseWillBeGarbageCollectedFinalized<PresentationController> |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 // Implementation of FrameDestructionObserver. | 55 // Implementation of FrameDestructionObserver. |
56 virtual void willDetachFrameHost() override; | 56 virtual void willDetachFrameHost() override; |
57 | 57 |
58 WebPresentationClient* m_client; | 58 WebPresentationClient* m_client; |
59 PersistentWillBeMember<Presentation> m_presentation; | 59 PersistentWillBeMember<Presentation> m_presentation; |
60 }; | 60 }; |
61 | 61 |
62 } // namespace blink | 62 } // namespace blink |
63 | 63 |
64 #endif // PresentationController_h | 64 #endif // PresentationController_h |
OLD | NEW |