| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2013 Apple Inc. All rights | 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2013 Apple Inc. All rights |
| 3 * reserved. | 3 * reserved. |
| 4 * Copyright (C) 2008 Torch Mobile Inc. All rights reserved. | 4 * Copyright (C) 2008 Torch Mobile Inc. All rights reserved. |
| 5 * (http://www.torchmobile.com/) | 5 * (http://www.torchmobile.com/) |
| 6 * | 6 * |
| 7 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
| 8 * modify it under the terms of the GNU Library General Public | 8 * modify it under the terms of the GNU Library General Public |
| 9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
| 10 * version 2 of the License, or (at your option) any later version. | 10 * version 2 of the License, or (at your option) any later version. |
| (...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 147 Frame* mainFrame() const { return m_mainFrame; } | 147 Frame* mainFrame() const { return m_mainFrame; } |
| 148 // Escape hatch for existing code that assumes that the root frame is | 148 // Escape hatch for existing code that assumes that the root frame is |
| 149 // always a LocalFrame. With OOPI, this is not always the case. Code that | 149 // always a LocalFrame. With OOPI, this is not always the case. Code that |
| 150 // depends on this will generally have to be rewritten to propagate any | 150 // depends on this will generally have to be rewritten to propagate any |
| 151 // necessary state through all renderer processes for that page and/or | 151 // necessary state through all renderer processes for that page and/or |
| 152 // coordinate/rely on the browser process to help dispatch/coordinate work. | 152 // coordinate/rely on the browser process to help dispatch/coordinate work. |
| 153 LocalFrame* deprecatedLocalMainFrame() const { | 153 LocalFrame* deprecatedLocalMainFrame() const { |
| 154 return toLocalFrame(m_mainFrame); | 154 return toLocalFrame(m_mainFrame); |
| 155 } | 155 } |
| 156 | 156 |
| 157 void willUnloadDocument(const Document&); |
| 157 void documentDetached(Document*); | 158 void documentDetached(Document*); |
| 158 | 159 |
| 159 bool openedByDOM() const; | 160 bool openedByDOM() const; |
| 160 void setOpenedByDOM(); | 161 void setOpenedByDOM(); |
| 161 | 162 |
| 162 PageAnimator& animator() { return *m_animator; } | 163 PageAnimator& animator() { return *m_animator; } |
| 163 ChromeClient& chromeClient() const { return *m_chromeClient; } | 164 ChromeClient& chromeClient() const { return *m_chromeClient; } |
| 164 AutoscrollController& autoscrollController() const { | 165 AutoscrollController& autoscrollController() const { |
| 165 return *m_autoscrollController; | 166 return *m_autoscrollController; |
| 166 } | 167 } |
| (...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 364 // Page. | 365 // Page. |
| 365 // FIXME: Most of the members of Page should move onto FrameHost. | 366 // FIXME: Most of the members of Page should move onto FrameHost. |
| 366 Member<FrameHost> m_frameHost; | 367 Member<FrameHost> m_frameHost; |
| 367 }; | 368 }; |
| 368 | 369 |
| 369 extern template class CORE_EXTERN_TEMPLATE_EXPORT Supplement<Page>; | 370 extern template class CORE_EXTERN_TEMPLATE_EXPORT Supplement<Page>; |
| 370 | 371 |
| 371 } // namespace blink | 372 } // namespace blink |
| 372 | 373 |
| 373 #endif // Page_h | 374 #endif // Page_h |
| OLD | NEW |