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 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
175 float deviceScaleFactor() const { return m_deviceScaleFactor; } | 175 float deviceScaleFactor() const { return m_deviceScaleFactor; } |
176 void setDeviceScaleFactor(float); | 176 void setDeviceScaleFactor(float); |
177 | 177 |
178 // Page and FrameView both store a Pagination value. Page::pagination() is s
et only by API, | 178 // Page and FrameView both store a Pagination value. Page::pagination() is s
et only by API, |
179 // and FrameView::pagination() is set only by CSS. Page::pagination() will a
ffect all | 179 // and FrameView::pagination() is set only by CSS. Page::pagination() will a
ffect all |
180 // FrameViews in the page cache, but FrameView::pagination() only affects th
e current | 180 // FrameViews in the page cache, but FrameView::pagination() only affects th
e current |
181 // FrameView. | 181 // FrameView. |
182 const Pagination& pagination() const { return m_pagination; } | 182 const Pagination& pagination() const { return m_pagination; } |
183 void setPagination(const Pagination&); | 183 void setPagination(const Pagination&); |
184 | 184 |
185 void userStyleSheetLocationChanged(); | |
186 const String& userStyleSheet() const; | |
187 | |
188 void dnsPrefetchingStateChanged(); | 185 void dnsPrefetchingStateChanged(); |
189 | 186 |
190 static void allVisitedStateChanged(PageGroup*); | 187 static void allVisitedStateChanged(PageGroup*); |
191 static void visitedStateChanged(PageGroup*, LinkHash visitedHash); | 188 static void visitedStateChanged(PageGroup*, LinkHash visitedHash); |
192 | 189 |
193 StorageNamespace* sessionStorage(bool optionalCreate = true); | 190 StorageNamespace* sessionStorage(bool optionalCreate = true); |
194 | 191 |
195 // Don't allow more than a certain number of frames in a page. | 192 // Don't allow more than a certain number of frames in a page. |
196 // This seems like a reasonable upper bound, and otherwise mutually | 193 // This seems like a reasonable upper bound, and otherwise mutually |
197 // recursive frameset pages can quickly bring the program to its knees | 194 // recursive frameset pages can quickly bring the program to its knees |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
269 bool m_openedByDOM; | 266 bool m_openedByDOM; |
270 | 267 |
271 bool m_tabKeyCyclesThroughElements; | 268 bool m_tabKeyCyclesThroughElements; |
272 bool m_defersLoading; | 269 bool m_defersLoading; |
273 | 270 |
274 float m_pageScaleFactor; | 271 float m_pageScaleFactor; |
275 float m_deviceScaleFactor; | 272 float m_deviceScaleFactor; |
276 | 273 |
277 Pagination m_pagination; | 274 Pagination m_pagination; |
278 | 275 |
279 String m_userStyleSheet; | |
280 bool m_didLoadUserStyleSheet; | |
281 | |
282 RefPtr<PageGroup> m_group; | 276 RefPtr<PageGroup> m_group; |
283 | 277 |
284 OwnPtr<StorageNamespace> m_sessionStorage; | 278 OwnPtr<StorageNamespace> m_sessionStorage; |
285 | 279 |
286 double m_timerAlignmentInterval; | 280 double m_timerAlignmentInterval; |
287 | 281 |
288 PageVisibilityState m_visibilityState; | 282 PageVisibilityState m_visibilityState; |
289 | 283 |
290 bool m_isCursorVisible; | 284 bool m_isCursorVisible; |
291 | 285 |
292 #ifndef NDEBUG | 286 #ifndef NDEBUG |
293 bool m_isPainting; | 287 bool m_isPainting; |
294 #endif | 288 #endif |
295 | 289 |
296 const OwnPtr<PageConsole> m_console; | 290 const OwnPtr<PageConsole> m_console; |
297 | 291 |
298 HashSet<MultisamplingChangedObserver*> m_multisamplingChangedObservers; | 292 HashSet<MultisamplingChangedObserver*> m_multisamplingChangedObservers; |
299 }; | 293 }; |
300 | 294 |
301 } // namespace WebCore | 295 } // namespace WebCore |
302 | 296 |
303 #endif // Page_h | 297 #endif // Page_h |
OLD | NEW |