| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2013 Apple Inc. All rights | 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2013 Apple Inc. All rights |
| 3 * reserved. | 3 * reserved. |
| 4 * Copyright (C) 2008 Torch Mobile Inc. All rights reserved. | 4 * Copyright (C) 2008 Torch Mobile Inc. All rights reserved. |
| 5 * (http://www.torchmobile.com/) | 5 * (http://www.torchmobile.com/) |
| 6 * | 6 * |
| 7 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
| 8 * modify it under the terms of the GNU Library General Public | 8 * modify it under the terms of the GNU Library General Public |
| 9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
| 10 * version 2 of the License, or (at your option) any later version. | 10 * version 2 of the License, or (at your option) any later version. |
| (...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 183 void setTabKeyCyclesThroughElements(bool b) { | 183 void setTabKeyCyclesThroughElements(bool b) { |
| 184 m_tabKeyCyclesThroughElements = b; | 184 m_tabKeyCyclesThroughElements = b; |
| 185 } | 185 } |
| 186 bool tabKeyCyclesThroughElements() const { | 186 bool tabKeyCyclesThroughElements() const { |
| 187 return m_tabKeyCyclesThroughElements; | 187 return m_tabKeyCyclesThroughElements; |
| 188 } | 188 } |
| 189 | 189 |
| 190 // DefersLoading is used to delay loads during modal dialogs. | 190 // DefersLoading is used to delay loads during modal dialogs. |
| 191 // Modal dialogs are supposed to freeze all background processes | 191 // Modal dialogs are supposed to freeze all background processes |
| 192 // in the page, including prevent additional loads from staring/continuing. | 192 // in the page, including prevent additional loads from staring/continuing. |
| 193 void setDefersLoading(bool); | 193 void setSuspended(bool); |
| 194 bool defersLoading() const { return m_defersLoading; } | 194 bool suspended() const { return m_suspended; } |
| 195 | 195 |
| 196 void setPageScaleFactor(float); | 196 void setPageScaleFactor(float); |
| 197 float pageScaleFactor() const; | 197 float pageScaleFactor() const; |
| 198 | 198 |
| 199 float deviceScaleFactor() const { return m_deviceScaleFactor; } | 199 float deviceScaleFactor() const { return m_deviceScaleFactor; } |
| 200 void setDeviceScaleFactor(float); | 200 void setDeviceScaleFactor(float); |
| 201 | 201 |
| 202 static void allVisitedStateChanged(bool invalidateVisitedLinkHashes); | 202 static void allVisitedStateChanged(bool invalidateVisitedLinkHashes); |
| 203 static void visitedStateChanged(LinkHash visitedHash); | 203 static void visitedStateChanged(LinkHash visitedHash); |
| 204 | 204 |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 265 SpellCheckerClient* const m_spellCheckerClient; | 265 SpellCheckerClient* const m_spellCheckerClient; |
| 266 Member<ValidationMessageClient> m_validationMessageClient; | 266 Member<ValidationMessageClient> m_validationMessageClient; |
| 267 | 267 |
| 268 UseCounter m_useCounter; | 268 UseCounter m_useCounter; |
| 269 Deprecation m_deprecation; | 269 Deprecation m_deprecation; |
| 270 HostsUsingFeatures m_hostsUsingFeatures; | 270 HostsUsingFeatures m_hostsUsingFeatures; |
| 271 | 271 |
| 272 bool m_openedByDOM; | 272 bool m_openedByDOM; |
| 273 | 273 |
| 274 bool m_tabKeyCyclesThroughElements; | 274 bool m_tabKeyCyclesThroughElements; |
| 275 bool m_defersLoading; | 275 bool m_suspended; |
| 276 | 276 |
| 277 float m_deviceScaleFactor; | 277 float m_deviceScaleFactor; |
| 278 | 278 |
| 279 PageVisibilityState m_visibilityState; | 279 PageVisibilityState m_visibilityState; |
| 280 | 280 |
| 281 bool m_isCursorVisible; | 281 bool m_isCursorVisible; |
| 282 | 282 |
| 283 #if ENABLE(ASSERT) | 283 #if ENABLE(ASSERT) |
| 284 bool m_isPainting; | 284 bool m_isPainting; |
| 285 #endif | 285 #endif |
| 286 | 286 |
| 287 // A pointer to all the interfaces provided to in-process Frames for this | 287 // A pointer to all the interfaces provided to in-process Frames for this |
| 288 // Page. | 288 // Page. |
| 289 // FIXME: Most of the members of Page should move onto FrameHost. | 289 // FIXME: Most of the members of Page should move onto FrameHost. |
| 290 Member<FrameHost> m_frameHost; | 290 Member<FrameHost> m_frameHost; |
| 291 }; | 291 }; |
| 292 | 292 |
| 293 extern template class CORE_EXTERN_TEMPLATE_EXPORT Supplement<Page>; | 293 extern template class CORE_EXTERN_TEMPLATE_EXPORT Supplement<Page>; |
| 294 | 294 |
| 295 } // namespace blink | 295 } // namespace blink |
| 296 | 296 |
| 297 #endif // Page_h | 297 #endif // Page_h |
| OLD | NEW |