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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 | 112 |
113 static void refreshPlugins(); | 113 static void refreshPlugins(); |
114 PluginData* pluginData() const; | 114 PluginData* pluginData() const; |
115 | 115 |
116 EditorClient& editorClient() const { return *m_editorClient; } | 116 EditorClient& editorClient() const { return *m_editorClient; } |
117 SpellCheckerClient& spellCheckerClient() const { return *m_spellCheckerClien
t; } | 117 SpellCheckerClient& spellCheckerClient() const { return *m_spellCheckerClien
t; } |
118 UndoStack& undoStack() const { return *m_undoStack; } | 118 UndoStack& undoStack() const { return *m_undoStack; } |
119 | 119 |
120 void setMainFrame(Frame*); | 120 void setMainFrame(Frame*); |
121 Frame* mainFrame() const { return m_mainFrame; } | 121 Frame* mainFrame() const { return m_mainFrame; } |
| 122 void willSwapMainFrame(); |
122 // Escape hatch for existing code that assumes that the root frame is | 123 // Escape hatch for existing code that assumes that the root frame is |
123 // always a LocalFrame. With OOPI, this is not always the case. Code that | 124 // always a LocalFrame. With OOPI, this is not always the case. Code that |
124 // depends on this will generally have to be rewritten to propagate any | 125 // depends on this will generally have to be rewritten to propagate any |
125 // necessary state through all renderer processes for that page and/or | 126 // necessary state through all renderer processes for that page and/or |
126 // coordinate/rely on the browser process to help dispatch/coordinate work. | 127 // coordinate/rely on the browser process to help dispatch/coordinate work. |
127 LocalFrame* deprecatedLocalMainFrame() const { return toLocalFrame(m_mainFra
me); } | 128 LocalFrame* deprecatedLocalMainFrame() const { return toLocalFrame(m_mainFra
me); } |
128 | 129 |
129 void documentDetached(Document*); | 130 void documentDetached(Document*); |
130 | 131 |
131 bool openedByDOM() const; | 132 bool openedByDOM() const; |
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
278 OwnPtrWillBeMember<FrameHost> m_frameHost; | 279 OwnPtrWillBeMember<FrameHost> m_frameHost; |
279 | 280 |
280 OwnPtrWillBeMember<MemoryPurgeController> m_memoryPurgeController; | 281 OwnPtrWillBeMember<MemoryPurgeController> m_memoryPurgeController; |
281 }; | 282 }; |
282 | 283 |
283 extern template class CORE_EXTERN_TEMPLATE_EXPORT WillBeHeapSupplement<Page>; | 284 extern template class CORE_EXTERN_TEMPLATE_EXPORT WillBeHeapSupplement<Page>; |
284 | 285 |
285 } // namespace blink | 286 } // namespace blink |
286 | 287 |
287 #endif // Page_h | 288 #endif // Page_h |
OLD | NEW |