| 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 323 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 334 void Page::setDeviceColorProfile(const Vector<char>& profile) | 334 void Page::setDeviceColorProfile(const Vector<char>& profile) |
| 335 { | 335 { |
| 336 // FIXME: implement. | 336 // FIXME: implement. |
| 337 } | 337 } |
| 338 | 338 |
| 339 void Page::resetDeviceColorProfileForTesting() | 339 void Page::resetDeviceColorProfileForTesting() |
| 340 { | 340 { |
| 341 RuntimeEnabledFeatures::setImageColorProfilesEnabled(false); | 341 RuntimeEnabledFeatures::setImageColorProfilesEnabled(false); |
| 342 } | 342 } |
| 343 | 343 |
| 344 void Page::allVisitedStateChanged() | 344 void Page::allVisitedStateChanged(bool invalidateVisitedLinkHashes) |
| 345 { | 345 { |
| 346 for (const Page* page : ordinaryPages()) { | 346 for (const Page* page : ordinaryPages()) { |
| 347 for (Frame* frame = page->m_mainFrame; frame; frame = frame->tree().trav
erseNext()) { | 347 for (Frame* frame = page->m_mainFrame; frame; frame = frame->tree().trav
erseNext()) { |
| 348 if (frame->isLocalFrame()) | 348 if (frame->isLocalFrame()) |
| 349 toLocalFrame(frame)->document()->visitedLinkState().invalidateSt
yleForAllLinks(); | 349 toLocalFrame(frame)->document()->visitedLinkState().invalidateSt
yleForAllLinks(invalidateVisitedLinkHashes); |
| 350 } | 350 } |
| 351 } | 351 } |
| 352 } | 352 } |
| 353 | 353 |
| 354 void Page::visitedStateChanged(LinkHash linkHash) | 354 void Page::visitedStateChanged(LinkHash linkHash) |
| 355 { | 355 { |
| 356 for (const Page* page : ordinaryPages()) { | 356 for (const Page* page : ordinaryPages()) { |
| 357 for (Frame* frame = page->m_mainFrame; frame; frame = frame->tree().trav
erseNext()) { | 357 for (Frame* frame = page->m_mainFrame; frame; frame = frame->tree().trav
erseNext()) { |
| 358 if (frame->isLocalFrame()) | 358 if (frame->isLocalFrame()) |
| 359 toLocalFrame(frame)->document()->visitedLinkState().invalidateSt
yleForLink(linkHash); | 359 toLocalFrame(frame)->document()->visitedLinkState().invalidateSt
yleForLink(linkHash); |
| (...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 592 { | 592 { |
| 593 } | 593 } |
| 594 | 594 |
| 595 Page::PageClients::~PageClients() | 595 Page::PageClients::~PageClients() |
| 596 { | 596 { |
| 597 } | 597 } |
| 598 | 598 |
| 599 template class CORE_TEMPLATE_EXPORT WillBeHeapSupplement<Page>; | 599 template class CORE_TEMPLATE_EXPORT WillBeHeapSupplement<Page>; |
| 600 | 600 |
| 601 } // namespace blink | 601 } // namespace blink |
| OLD | NEW |