| 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 97 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 108     virtual ~Page(); | 108     virtual ~Page(); | 
| 109 | 109 | 
| 110     void makeOrdinary(); | 110     void makeOrdinary(); | 
| 111 | 111 | 
| 112     // This method returns all pages, incl. private ones associated with | 112     // This method returns all pages, incl. private ones associated with | 
| 113     // inspector overlay, popups, SVGImage, etc. | 113     // inspector overlay, popups, SVGImage, etc. | 
| 114     static HashSet<Page*>& allPages(); | 114     static HashSet<Page*>& allPages(); | 
| 115     // This method returns all ordinary pages. | 115     // This method returns all ordinary pages. | 
| 116     static HashSet<Page*>& ordinaryPages(); | 116     static HashSet<Page*>& ordinaryPages(); | 
| 117 | 117 | 
| 118     FrameHost& frameHost() { return *m_frameHost; } | 118     FrameHost& frameHost() const { return *m_frameHost; } | 
| 119 | 119 | 
| 120     void setNeedsRecalcStyleInAllFrames(); | 120     void setNeedsRecalcStyleInAllFrames(); | 
| 121     void updateAcceleratedCompositingSettings(); | 121     void updateAcceleratedCompositingSettings(); | 
| 122 | 122 | 
| 123     ViewportDescription viewportDescription() const; | 123     ViewportDescription viewportDescription() const; | 
| 124 | 124 | 
| 125     static void refreshPlugins(bool reload); | 125     static void refreshPlugins(bool reload); | 
| 126     PluginData* pluginData() const; | 126     PluginData* pluginData() const; | 
| 127 | 127 | 
| 128     EditorClient& editorClient() const { return *m_editorClient; } | 128     EditorClient& editorClient() const { return *m_editorClient; } | 
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 170 | 170 | 
| 171     void unmarkAllTextMatches(); | 171     void unmarkAllTextMatches(); | 
| 172 | 172 | 
| 173     // DefersLoading is used to delay loads during modal dialogs. | 173     // DefersLoading is used to delay loads during modal dialogs. | 
| 174     // Modal dialogs are supposed to freeze all background processes | 174     // Modal dialogs are supposed to freeze all background processes | 
| 175     // in the page, including prevent additional loads from staring/continuing. | 175     // in the page, including prevent additional loads from staring/continuing. | 
| 176     void setDefersLoading(bool); | 176     void setDefersLoading(bool); | 
| 177     bool defersLoading() const { return m_defersLoading; } | 177     bool defersLoading() const { return m_defersLoading; } | 
| 178 | 178 | 
| 179     void setPageScaleFactor(float scale, const IntPoint& origin); | 179     void setPageScaleFactor(float scale, const IntPoint& origin); | 
| 180     float pageScaleFactor() const { return m_pageScaleFactor; } | 180     float pageScaleFactor() const; | 
| 181 | 181 | 
| 182     float deviceScaleFactor() const { return m_deviceScaleFactor; } | 182     float deviceScaleFactor() const { return m_deviceScaleFactor; } | 
| 183     void setDeviceScaleFactor(float); | 183     void setDeviceScaleFactor(float); | 
| 184 | 184 | 
| 185     static void allVisitedStateChanged(); | 185     static void allVisitedStateChanged(); | 
| 186     static void visitedStateChanged(LinkHash visitedHash); | 186     static void visitedStateChanged(LinkHash visitedHash); | 
| 187 | 187 | 
| 188     StorageNamespace* sessionStorage(bool optionalCreate = true); | 188     StorageNamespace* sessionStorage(bool optionalCreate = true); | 
| 189     StorageClient& storageClient() const { return *m_storageClient; } | 189     StorageClient& storageClient() const { return *m_storageClient; } | 
| 190 | 190 | 
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 268     OwnPtr<ValidationMessageClient> m_validationMessageClient; | 268     OwnPtr<ValidationMessageClient> m_validationMessageClient; | 
| 269 | 269 | 
| 270     UseCounter m_useCounter; | 270     UseCounter m_useCounter; | 
| 271 | 271 | 
| 272     int m_subframeCount; | 272     int m_subframeCount; | 
| 273     bool m_openedByDOM; | 273     bool m_openedByDOM; | 
| 274 | 274 | 
| 275     bool m_tabKeyCyclesThroughElements; | 275     bool m_tabKeyCyclesThroughElements; | 
| 276     bool m_defersLoading; | 276     bool m_defersLoading; | 
| 277 | 277 | 
| 278     float m_pageScaleFactor; |  | 
| 279     float m_deviceScaleFactor; | 278     float m_deviceScaleFactor; | 
| 280 | 279 | 
| 281     OwnPtr<StorageNamespace> m_sessionStorage; | 280     OwnPtr<StorageNamespace> m_sessionStorage; | 
| 282 | 281 | 
| 283     double m_timerAlignmentInterval; | 282     double m_timerAlignmentInterval; | 
| 284 | 283 | 
| 285     PageVisibilityState m_visibilityState; | 284     PageVisibilityState m_visibilityState; | 
| 286 | 285 | 
| 287     bool m_isCursorVisible; | 286     bool m_isCursorVisible; | 
| 288 | 287 | 
| 289 #ifndef NDEBUG | 288 #ifndef NDEBUG | 
| 290     bool m_isPainting; | 289     bool m_isPainting; | 
| 291 #endif | 290 #endif | 
| 292 | 291 | 
| 293     HashSet<MultisamplingChangedObserver*> m_multisamplingChangedObservers; | 292     HashSet<MultisamplingChangedObserver*> m_multisamplingChangedObservers; | 
| 294 | 293 | 
| 295     // A pointer to all the interfaces provided to in-process Frames for this Pa
     ge. | 294     // A pointer to all the interfaces provided to in-process Frames for this Pa
     ge. | 
| 296     // FIXME: Most of the members of Page should move onto FrameHost. | 295     // FIXME: Most of the members of Page should move onto FrameHost. | 
| 297     OwnPtr<FrameHost> m_frameHost; | 296     OwnPtr<FrameHost> m_frameHost; | 
| 298 }; | 297 }; | 
| 299 | 298 | 
| 300 } // namespace WebCore | 299 } // namespace WebCore | 
| 301 | 300 | 
| 302 #endif // Page_h | 301 #endif // Page_h | 
| OLD | NEW | 
|---|