| 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 325 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 336 void Page::setDeviceColorProfile(const Vector<char>& profile) | 336 void Page::setDeviceColorProfile(const Vector<char>& profile) |
| 337 { | 337 { |
| 338 // FIXME: implement. | 338 // FIXME: implement. |
| 339 } | 339 } |
| 340 | 340 |
| 341 void Page::resetDeviceColorProfile() | 341 void Page::resetDeviceColorProfile() |
| 342 { | 342 { |
| 343 RuntimeEnabledFeatures::setImageColorProfilesEnabled(false); | 343 RuntimeEnabledFeatures::setImageColorProfilesEnabled(false); |
| 344 } | 344 } |
| 345 | 345 |
| 346 void Page::allVisitedStateChanged() | 346 void Page::allVisitedStateChanged(bool invalidateVisitedLinkHashes) |
| 347 { | 347 { |
| 348 for (const Page* page : ordinaryPages()) { | 348 for (const Page* page : ordinaryPages()) { |
| 349 for (Frame* frame = page->m_mainFrame; frame; frame = frame->tree().trav
erseNext()) { | 349 for (Frame* frame = page->m_mainFrame; frame; frame = frame->tree().trav
erseNext()) { |
| 350 if (frame->isLocalFrame()) | 350 if (frame->isLocalFrame()) |
| 351 toLocalFrame(frame)->document()->visitedLinkState().invalidateSt
yleForAllLinks(); | 351 toLocalFrame(frame)->document()->visitedLinkState().invalidateSt
yleForAllLinks(invalidateVisitedLinkHashes); |
| 352 } | 352 } |
| 353 } | 353 } |
| 354 } | 354 } |
| 355 | 355 |
| 356 void Page::visitedStateChanged(LinkHash linkHash) | 356 void Page::visitedStateChanged(LinkHash linkHash) |
| 357 { | 357 { |
| 358 for (const Page* page : ordinaryPages()) { | 358 for (const Page* page : ordinaryPages()) { |
| 359 for (Frame* frame = page->m_mainFrame; frame; frame = frame->tree().trav
erseNext()) { | 359 for (Frame* frame = page->m_mainFrame; frame; frame = frame->tree().trav
erseNext()) { |
| 360 if (frame->isLocalFrame()) | 360 if (frame->isLocalFrame()) |
| 361 toLocalFrame(frame)->document()->visitedLinkState().invalidateSt
yleForLink(linkHash); | 361 toLocalFrame(frame)->document()->visitedLinkState().invalidateSt
yleForLink(linkHash); |
| (...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 616 { | 616 { |
| 617 } | 617 } |
| 618 | 618 |
| 619 Page::PageClients::~PageClients() | 619 Page::PageClients::~PageClients() |
| 620 { | 620 { |
| 621 } | 621 } |
| 622 | 622 |
| 623 template class CORE_TEMPLATE_EXPORT WillBeHeapSupplement<Page>; | 623 template class CORE_TEMPLATE_EXPORT WillBeHeapSupplement<Page>; |
| 624 | 624 |
| 625 } // namespace blink | 625 } // namespace blink |
| OLD | NEW |