| 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 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 // This method returns all ordinary pages. | 105 // This method returns all ordinary pages. |
| 106 static WillBePersistentHeapHashSet<RawPtrWillBeWeakMember<Page>>& ordinaryPa
ges(); | 106 static WillBePersistentHeapHashSet<RawPtrWillBeWeakMember<Page>>& ordinaryPa
ges(); |
| 107 | 107 |
| 108 FrameHost& frameHost() const { return *m_frameHost; } | 108 FrameHost& frameHost() const { return *m_frameHost; } |
| 109 | 109 |
| 110 void setNeedsRecalcStyleInAllFrames(); | 110 void setNeedsRecalcStyleInAllFrames(); |
| 111 void updateAcceleratedCompositingSettings(); | 111 void updateAcceleratedCompositingSettings(); |
| 112 | 112 |
| 113 ViewportDescription viewportDescription() const; | 113 ViewportDescription viewportDescription() const; |
| 114 | 114 |
| 115 static uintptr_t screenId(Page* page) { return reinterpret_cast<uintptr_t>(p
age); } |
| 116 |
| 115 static void refreshPlugins(); | 117 static void refreshPlugins(); |
| 116 PluginData* pluginData() const; | 118 PluginData* pluginData() const; |
| 117 | 119 |
| 118 EditorClient& editorClient() const { return *m_editorClient; } | 120 EditorClient& editorClient() const { return *m_editorClient; } |
| 119 SpellCheckerClient& spellCheckerClient() const { return *m_spellCheckerClien
t; } | 121 SpellCheckerClient& spellCheckerClient() const { return *m_spellCheckerClien
t; } |
| 120 UndoStack& undoStack() const { return *m_undoStack; } | 122 UndoStack& undoStack() const { return *m_undoStack; } |
| 121 | 123 |
| 122 void setMainFrame(Frame*); | 124 void setMainFrame(Frame*); |
| 123 Frame* mainFrame() const { return m_mainFrame; } | 125 Frame* mainFrame() const { return m_mainFrame; } |
| 124 // Escape hatch for existing code that assumes that the root frame is | 126 // Escape hatch for existing code that assumes that the root frame is |
| (...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 278 OwnPtrWillBeMember<FrameHost> m_frameHost; | 280 OwnPtrWillBeMember<FrameHost> m_frameHost; |
| 279 | 281 |
| 280 OwnPtrWillBeMember<MemoryPurgeController> m_memoryPurgeController; | 282 OwnPtrWillBeMember<MemoryPurgeController> m_memoryPurgeController; |
| 281 }; | 283 }; |
| 282 | 284 |
| 283 extern template class CORE_EXTERN_TEMPLATE_EXPORT WillBeHeapSupplement<Page>; | 285 extern template class CORE_EXTERN_TEMPLATE_EXPORT WillBeHeapSupplement<Page>; |
| 284 | 286 |
| 285 } // namespace blink | 287 } // namespace blink |
| 286 | 288 |
| 287 #endif // Page_h | 289 #endif // Page_h |
| OLD | NEW |