| 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 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 178 // in the page, including prevent additional loads from staring/continuing. | 178 // in the page, including prevent additional loads from staring/continuing. |
| 179 void setDefersLoading(bool); | 179 void setDefersLoading(bool); |
| 180 bool defersLoading() const { return m_defersLoading; } | 180 bool defersLoading() const { return m_defersLoading; } |
| 181 | 181 |
| 182 void setPageScaleFactor(float scale, const IntPoint& origin); | 182 void setPageScaleFactor(float scale, const IntPoint& origin); |
| 183 float pageScaleFactor() const; | 183 float pageScaleFactor() const; |
| 184 | 184 |
| 185 float deviceScaleFactor() const { return m_deviceScaleFactor; } | 185 float deviceScaleFactor() const { return m_deviceScaleFactor; } |
| 186 void setDeviceScaleFactor(float); | 186 void setDeviceScaleFactor(float); |
| 187 | 187 |
| 188 void deviceColorProfileChanged(const char* profile, size_t); |
| 189 |
| 188 static void allVisitedStateChanged(); | 190 static void allVisitedStateChanged(); |
| 189 static void visitedStateChanged(LinkHash visitedHash); | 191 static void visitedStateChanged(LinkHash visitedHash); |
| 190 | 192 |
| 191 StorageNamespace* sessionStorage(bool optionalCreate = true); | 193 StorageNamespace* sessionStorage(bool optionalCreate = true); |
| 192 StorageClient& storageClient() const { return *m_storageClient; } | 194 StorageClient& storageClient() const { return *m_storageClient; } |
| 193 | 195 |
| 194 // Don't allow more than a certain number of frames in a page. | 196 // Don't allow more than a certain number of frames in a page. |
| 195 // This seems like a reasonable upper bound, and otherwise mutually | 197 // This seems like a reasonable upper bound, and otherwise mutually |
| 196 // recursive frameset pages can quickly bring the program to its knees | 198 // recursive frameset pages can quickly bring the program to its knees |
| 197 // with exponential growth in the number of frames. | 199 // with exponential growth in the number of frames. |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 294 WillBeHeapHashSet<RawPtrWillBeWeakMember<MultisamplingChangedObserver> > m_m
ultisamplingChangedObservers; | 296 WillBeHeapHashSet<RawPtrWillBeWeakMember<MultisamplingChangedObserver> > m_m
ultisamplingChangedObservers; |
| 295 | 297 |
| 296 // A pointer to all the interfaces provided to in-process Frames for this Pa
ge. | 298 // A pointer to all the interfaces provided to in-process Frames for this Pa
ge. |
| 297 // FIXME: Most of the members of Page should move onto FrameHost. | 299 // FIXME: Most of the members of Page should move onto FrameHost. |
| 298 OwnPtrWillBeMember<FrameHost> m_frameHost; | 300 OwnPtrWillBeMember<FrameHost> m_frameHost; |
| 299 }; | 301 }; |
| 300 | 302 |
| 301 } // namespace WebCore | 303 } // namespace WebCore |
| 302 | 304 |
| 303 #endif // Page_h | 305 #endif // Page_h |
| OLD | NEW |