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 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 static void platformColorsChanged(); | 111 static void platformColorsChanged(); |
112 | 112 |
113 FrameHost& frameHost() const { return *m_frameHost; } | 113 FrameHost& frameHost() const { return *m_frameHost; } |
114 | 114 |
115 void setNeedsRecalcStyleInAllFrames(); | 115 void setNeedsRecalcStyleInAllFrames(); |
116 void updateAcceleratedCompositingSettings(); | 116 void updateAcceleratedCompositingSettings(); |
117 | 117 |
118 ViewportDescription viewportDescription() const; | 118 ViewportDescription viewportDescription() const; |
119 | 119 |
120 static void refreshPlugins(); | 120 static void refreshPlugins(); |
121 PluginData* pluginData() const; | 121 PluginData* pluginData(SecurityOrigin* mainFrameOrigin) const; |
122 | 122 |
123 EditorClient& editorClient() const { return *m_editorClient; } | 123 EditorClient& editorClient() const { return *m_editorClient; } |
124 SpellCheckerClient& spellCheckerClient() const { return *m_spellCheckerClien
t; } | 124 SpellCheckerClient& spellCheckerClient() const { return *m_spellCheckerClien
t; } |
125 | 125 |
126 void setMainFrame(Frame*); | 126 void setMainFrame(Frame*); |
127 Frame* mainFrame() const { return m_mainFrame; } | 127 Frame* mainFrame() const { return m_mainFrame; } |
128 // Escape hatch for existing code that assumes that the root frame is | 128 // Escape hatch for existing code that assumes that the root frame is |
129 // always a LocalFrame. With OOPI, this is not always the case. Code that | 129 // always a LocalFrame. With OOPI, this is not always the case. Code that |
130 // depends on this will generally have to be rewritten to propagate any | 130 // depends on this will generally have to be rewritten to propagate any |
131 // necessary state through all renderer processes for that page and/or | 131 // necessary state through all renderer processes for that page and/or |
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
262 // A pointer to all the interfaces provided to in-process Frames for this Pa
ge. | 262 // A pointer to all the interfaces provided to in-process Frames for this Pa
ge. |
263 // FIXME: Most of the members of Page should move onto FrameHost. | 263 // FIXME: Most of the members of Page should move onto FrameHost. |
264 Member<FrameHost> m_frameHost; | 264 Member<FrameHost> m_frameHost; |
265 }; | 265 }; |
266 | 266 |
267 extern template class CORE_EXTERN_TEMPLATE_EXPORT Supplement<Page>; | 267 extern template class CORE_EXTERN_TEMPLATE_EXPORT Supplement<Page>; |
268 | 268 |
269 } // namespace blink | 269 } // namespace blink |
270 | 270 |
271 #endif // Page_h | 271 #endif // Page_h |
OLD | NEW |