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