| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2013 Apple Inc. All rights reserv
ed. | 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2013 Apple Inc. All rights reserv
ed. |
| 3 * Copyright (C) 2008 Torch Mobile Inc. All rights reserved. (http://www.torchmo
bile.com/) | 3 * Copyright (C) 2008 Torch Mobile Inc. All rights reserved. (http://www.torchmo
bile.com/) |
| 4 * | 4 * |
| 5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
| 6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
| 7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
| 8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
| 9 * | 9 * |
| 10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
| (...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 212 virtual void settingsChanged(SettingsDelegate::ChangeType) override; | 212 virtual void settingsChanged(SettingsDelegate::ChangeType) override; |
| 213 | 213 |
| 214 RefPtrWillBeMember<PageAnimator> m_animator; | 214 RefPtrWillBeMember<PageAnimator> m_animator; |
| 215 const OwnPtr<AutoscrollController> m_autoscrollController; | 215 const OwnPtr<AutoscrollController> m_autoscrollController; |
| 216 ChromeClient* m_chromeClient; | 216 ChromeClient* m_chromeClient; |
| 217 const OwnPtrWillBeMember<DragCaretController> m_dragCaretController; | 217 const OwnPtrWillBeMember<DragCaretController> m_dragCaretController; |
| 218 const OwnPtrWillBeMember<DragController> m_dragController; | 218 const OwnPtrWillBeMember<DragController> m_dragController; |
| 219 const OwnPtrWillBeMember<FocusController> m_focusController; | 219 const OwnPtrWillBeMember<FocusController> m_focusController; |
| 220 const OwnPtrWillBeMember<ContextMenuController> m_contextMenuController; | 220 const OwnPtrWillBeMember<ContextMenuController> m_contextMenuController; |
| 221 const OwnPtrWillBeMember<PointerLockController> m_pointerLockController; | 221 const OwnPtrWillBeMember<PointerLockController> m_pointerLockController; |
| 222 OwnPtr<ScrollingCoordinator> m_scrollingCoordinator; | 222 OwnPtrWillBeMember<ScrollingCoordinator> m_scrollingCoordinator; |
| 223 const OwnPtrWillBeMember<UndoStack> m_undoStack; | 223 const OwnPtrWillBeMember<UndoStack> m_undoStack; |
| 224 | 224 |
| 225 // Typically, the main frame and Page should both be owned by the embedder, | 225 // Typically, the main frame and Page should both be owned by the embedder, |
| 226 // which must call Page::willBeDestroyed() prior to destroying Page. This | 226 // which must call Page::willBeDestroyed() prior to destroying Page. This |
| 227 // call detaches the main frame and clears this pointer, thus ensuring that | 227 // call detaches the main frame and clears this pointer, thus ensuring that |
| 228 // this field only references a live main frame. | 228 // this field only references a live main frame. |
| 229 // | 229 // |
| 230 // However, there are several locations (InspectorOverlay, SVGImage, and | 230 // However, there are several locations (InspectorOverlay, SVGImage, and |
| 231 // WebPagePopupImpl) which don't hold a reference to the main frame at all | 231 // WebPagePopupImpl) which don't hold a reference to the main frame at all |
| 232 // after creating it. These are still safe because they always create a | 232 // after creating it. These are still safe because they always create a |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 267 // A pointer to all the interfaces provided to in-process Frames for this Pa
ge. | 267 // A pointer to all the interfaces provided to in-process Frames for this Pa
ge. |
| 268 // FIXME: Most of the members of Page should move onto FrameHost. | 268 // FIXME: Most of the members of Page should move onto FrameHost. |
| 269 OwnPtrWillBeMember<FrameHost> m_frameHost; | 269 OwnPtrWillBeMember<FrameHost> m_frameHost; |
| 270 }; | 270 }; |
| 271 | 271 |
| 272 extern template class CORE_EXTERN_TEMPLATE_EXPORT WillBeHeapSupplement<Page>; | 272 extern template class CORE_EXTERN_TEMPLATE_EXPORT WillBeHeapSupplement<Page>; |
| 273 | 273 |
| 274 } // namespace blink | 274 } // namespace blink |
| 275 | 275 |
| 276 #endif // Page_h | 276 #endif // Page_h |
| OLD | NEW |