| 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 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 166 // Modal dialogs are supposed to freeze all background processes | 166 // Modal dialogs are supposed to freeze all background processes |
| 167 // in the page, including prevent additional loads from staring/continuing. | 167 // in the page, including prevent additional loads from staring/continuing. |
| 168 void setDefersLoading(bool); | 168 void setDefersLoading(bool); |
| 169 bool defersLoading() const { return m_defersLoading; } | 169 bool defersLoading() const { return m_defersLoading; } |
| 170 | 170 |
| 171 void setPageScaleFactor(float); | 171 void setPageScaleFactor(float); |
| 172 float pageScaleFactor() const; | 172 float pageScaleFactor() const; |
| 173 | 173 |
| 174 float deviceScaleFactor() const { return m_deviceScaleFactor; } | 174 float deviceScaleFactor() const { return m_deviceScaleFactor; } |
| 175 void setDeviceScaleFactor(float); | 175 void setDeviceScaleFactor(float); |
| 176 void setDeviceColorProfile(const Vector<char>&); | |
| 177 void resetDeviceColorProfileForTesting(); | |
| 178 | 176 |
| 179 static void allVisitedStateChanged(bool invalidateVisitedLinkHashes); | 177 static void allVisitedStateChanged(bool invalidateVisitedLinkHashes); |
| 180 static void visitedStateChanged(LinkHash visitedHash); | 178 static void visitedStateChanged(LinkHash visitedHash); |
| 181 | 179 |
| 182 void setVisibilityState(PageVisibilityState, bool); | 180 void setVisibilityState(PageVisibilityState, bool); |
| 183 PageVisibilityState visibilityState() const; | 181 PageVisibilityState visibilityState() const; |
| 184 bool isPageVisible() const; | 182 bool isPageVisible() const; |
| 185 | 183 |
| 186 bool isCursorVisible() const; | 184 bool isCursorVisible() const; |
| 187 void setIsCursorVisible(bool isVisible) { m_isCursorVisible = isVisible; } | 185 void setIsCursorVisible(bool isVisible) { m_isCursorVisible = isVisible; } |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 264 // A pointer to all the interfaces provided to in-process Frames for this Pa
ge. | 262 // A pointer to all the interfaces provided to in-process Frames for this Pa
ge. |
| 265 // FIXME: Most of the members of Page should move onto FrameHost. | 263 // FIXME: Most of the members of Page should move onto FrameHost. |
| 266 Member<FrameHost> m_frameHost; | 264 Member<FrameHost> m_frameHost; |
| 267 }; | 265 }; |
| 268 | 266 |
| 269 extern template class CORE_EXTERN_TEMPLATE_EXPORT Supplement<Page>; | 267 extern template class CORE_EXTERN_TEMPLATE_EXPORT Supplement<Page>; |
| 270 | 268 |
| 271 } // namespace blink | 269 } // namespace blink |
| 272 | 270 |
| 273 #endif // Page_h | 271 #endif // Page_h |
| OLD | NEW |