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 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
116 static void platformColorsChanged(); | 116 static void platformColorsChanged(); |
117 static void onMemoryPressure(); | 117 static void onMemoryPressure(); |
118 | 118 |
119 FrameHost& frameHost() const { return *m_frameHost; } | 119 FrameHost& frameHost() const { return *m_frameHost; } |
120 | 120 |
121 void setNeedsRecalcStyleInAllFrames(); | 121 void setNeedsRecalcStyleInAllFrames(); |
122 void updateAcceleratedCompositingSettings(); | 122 void updateAcceleratedCompositingSettings(); |
123 | 123 |
124 ViewportDescription viewportDescription() const; | 124 ViewportDescription viewportDescription() const; |
125 | 125 |
| 126 static uintptr_t screenId(Page* page) { return reinterpret_cast<uintptr_t>(p
age); } |
| 127 |
126 static void refreshPlugins(); | 128 static void refreshPlugins(); |
127 PluginData* pluginData() const; | 129 PluginData* pluginData() const; |
128 | 130 |
129 EditorClient& editorClient() const { return *m_editorClient; } | 131 EditorClient& editorClient() const { return *m_editorClient; } |
130 SpellCheckerClient& spellCheckerClient() const { return *m_spellCheckerClien
t; } | 132 SpellCheckerClient& spellCheckerClient() const { return *m_spellCheckerClien
t; } |
131 UndoStack& undoStack() const { return *m_undoStack; } | 133 UndoStack& undoStack() const { return *m_undoStack; } |
132 | 134 |
133 void setMainFrame(Frame*); | 135 void setMainFrame(Frame*); |
134 Frame* mainFrame() const { return m_mainFrame; } | 136 Frame* mainFrame() const { return m_mainFrame; } |
135 // Escape hatch for existing code that assumes that the root frame is | 137 // Escape hatch for existing code that assumes that the root frame is |
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
295 OwnPtrWillBeMember<MemoryPurgeController> m_memoryPurgeController; | 297 OwnPtrWillBeMember<MemoryPurgeController> m_memoryPurgeController; |
296 | 298 |
297 Timer<Page> m_timerForCompressStrings; | 299 Timer<Page> m_timerForCompressStrings; |
298 }; | 300 }; |
299 | 301 |
300 extern template class CORE_EXTERN_TEMPLATE_EXPORT WillBeHeapSupplement<Page>; | 302 extern template class CORE_EXTERN_TEMPLATE_EXPORT WillBeHeapSupplement<Page>; |
301 | 303 |
302 } // namespace blink | 304 } // namespace blink |
303 | 305 |
304 #endif // Page_h | 306 #endif // Page_h |
OLD | NEW |