| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc. All R
ights Reserved. | 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc. All R
ights Reserved. |
| 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 * This library is distributed in the hope that it will be useful, | 9 * This library is distributed in the hope that it will be useful, |
| 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| (...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 308 { | 308 { |
| 309 return frameHost().visualViewport().scale(); | 309 return frameHost().visualViewport().scale(); |
| 310 } | 310 } |
| 311 | 311 |
| 312 void Page::setDeviceScaleFactor(float scaleFactor) | 312 void Page::setDeviceScaleFactor(float scaleFactor) |
| 313 { | 313 { |
| 314 if (m_deviceScaleFactor == scaleFactor) | 314 if (m_deviceScaleFactor == scaleFactor) |
| 315 return; | 315 return; |
| 316 | 316 |
| 317 m_deviceScaleFactor = scaleFactor; | 317 m_deviceScaleFactor = scaleFactor; |
| 318 setNeedsRecalcStyleInAllFrames(); | |
| 319 | 318 |
| 320 if (mainFrame() && mainFrame()->isLocalFrame()) | 319 if (mainFrame() && mainFrame()->isLocalFrame()) |
| 321 deprecatedLocalMainFrame()->deviceScaleFactorChanged(); | 320 deprecatedLocalMainFrame()->deviceScaleFactorChanged(); |
| 322 } | 321 } |
| 323 | 322 |
| 324 void Page::setDeviceColorProfile(const Vector<char>& profile) | 323 void Page::setDeviceColorProfile(const Vector<char>& profile) |
| 325 { | 324 { |
| 326 // FIXME: implement. | 325 // FIXME: implement. |
| 327 } | 326 } |
| 328 | 327 |
| (...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 607 { | 606 { |
| 608 } | 607 } |
| 609 | 608 |
| 610 Page::PageClients::~PageClients() | 609 Page::PageClients::~PageClients() |
| 611 { | 610 { |
| 612 } | 611 } |
| 613 | 612 |
| 614 template class CORE_TEMPLATE_EXPORT WillBeHeapSupplement<Page>; | 613 template class CORE_TEMPLATE_EXPORT WillBeHeapSupplement<Page>; |
| 615 | 614 |
| 616 } // namespace blink | 615 } // namespace blink |
| OLD | NEW |