| 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 364 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 375 | 375 |
| 376 m_deviceScaleFactor = scaleFactor; | 376 m_deviceScaleFactor = scaleFactor; |
| 377 setNeedsRecalcStyleInAllFrames(); | 377 setNeedsRecalcStyleInAllFrames(); |
| 378 | 378 |
| 379 if (mainFrame() && mainFrame()->isLocalFrame()) { | 379 if (mainFrame() && mainFrame()->isLocalFrame()) { |
| 380 deprecatedLocalMainFrame()->deviceOrPageScaleFactorChanged(); | 380 deprecatedLocalMainFrame()->deviceOrPageScaleFactorChanged(); |
| 381 m_chrome->client().deviceOrPageScaleFactorChanged(); | 381 m_chrome->client().deviceOrPageScaleFactorChanged(); |
| 382 } | 382 } |
| 383 } | 383 } |
| 384 | 384 |
| 385 void Page::setDeviceColorProfile(const Vector<char>& profile) |
| 386 { |
| 387 // FIXME: implement. |
| 388 } |
| 389 |
| 390 void Page::resetDeviceColorProfile() |
| 391 { |
| 392 // FIXME: implement. |
| 393 } |
| 394 |
| 385 void Page::allVisitedStateChanged() | 395 void Page::allVisitedStateChanged() |
| 386 { | 396 { |
| 387 HashSet<Page*>::iterator pagesEnd = ordinaryPages().end(); | 397 HashSet<Page*>::iterator pagesEnd = ordinaryPages().end(); |
| 388 for (HashSet<Page*>::iterator it = ordinaryPages().begin(); it != pagesEnd;
++it) { | 398 for (HashSet<Page*>::iterator it = ordinaryPages().begin(); it != pagesEnd;
++it) { |
| 389 Page* page = *it; | 399 Page* page = *it; |
| 390 for (Frame* frame = page->m_mainFrame; frame; frame = frame->tree().trav
erseNext()) { | 400 for (Frame* frame = page->m_mainFrame; frame; frame = frame->tree().trav
erseNext()) { |
| 391 if (frame->isLocalFrame()) | 401 if (frame->isLocalFrame()) |
| 392 toLocalFrame(frame)->document()->visitedLinkState().invalidateSt
yleForAllLinks(); | 402 toLocalFrame(frame)->document()->visitedLinkState().invalidateSt
yleForAllLinks(); |
| 393 } | 403 } |
| 394 } | 404 } |
| (...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 651 , spellCheckerClient(0) | 661 , spellCheckerClient(0) |
| 652 , storageClient(0) | 662 , storageClient(0) |
| 653 { | 663 { |
| 654 } | 664 } |
| 655 | 665 |
| 656 Page::PageClients::~PageClients() | 666 Page::PageClients::~PageClients() |
| 657 { | 667 { |
| 658 } | 668 } |
| 659 | 669 |
| 660 } // namespace blink | 670 } // namespace blink |
| OLD | NEW |