| 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 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 177 // Modal dialogs are supposed to freeze all background processes | 177 // Modal dialogs are supposed to freeze all background processes |
| 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 void setDeviceColorProfile(const Vector<char>&); |
| 188 void resetDeviceColorProfile(); |
| 187 | 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 |
| (...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 306 WillBeHeapHashSet<RawPtrWillBeWeakMember<MultisamplingChangedObserver> > m_m
ultisamplingChangedObservers; | 308 WillBeHeapHashSet<RawPtrWillBeWeakMember<MultisamplingChangedObserver> > m_m
ultisamplingChangedObservers; |
| 307 | 309 |
| 308 // A pointer to all the interfaces provided to in-process Frames for this Pa
ge. | 310 // A pointer to all the interfaces provided to in-process Frames for this Pa
ge. |
| 309 // FIXME: Most of the members of Page should move onto FrameHost. | 311 // FIXME: Most of the members of Page should move onto FrameHost. |
| 310 OwnPtrWillBeMember<FrameHost> m_frameHost; | 312 OwnPtrWillBeMember<FrameHost> m_frameHost; |
| 311 }; | 313 }; |
| 312 | 314 |
| 313 } // namespace blink | 315 } // namespace blink |
| 314 | 316 |
| 315 #endif // Page_h | 317 #endif // Page_h |
| OLD | NEW |