| 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 |
| 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 12 * Library General Public License for more details. | 12 * Library General Public License for more details. |
| 13 * | 13 * |
| 14 * You should have received a copy of the GNU Library General Public License | 14 * You should have received a copy of the GNU Library General Public License |
| 15 * along with this library; see the file COPYING.LIB. If not, write to | 15 * along with this library; see the file COPYING.LIB. If not, write to |
| 16 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 16 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
| 17 * Boston, MA 02110-1301, USA. | 17 * Boston, MA 02110-1301, USA. |
| 18 */ | 18 */ |
| 19 | 19 |
| 20 #include "core/page/Page.h" | 20 #include "core/page/Page.h" |
| 21 | 21 |
| 22 #include "core/css/resolver/ViewportStyleResolver.h" | |
| 23 #include "core/dom/ClientRectList.h" | 22 #include "core/dom/ClientRectList.h" |
| 24 #include "core/dom/StyleChangeReason.h" | 23 #include "core/dom/StyleChangeReason.h" |
| 25 #include "core/dom/VisitedLinkState.h" | 24 #include "core/dom/VisitedLinkState.h" |
| 26 #include "core/editing/DragCaretController.h" | 25 #include "core/editing/DragCaretController.h" |
| 27 #include "core/editing/commands/UndoStack.h" | 26 #include "core/editing/commands/UndoStack.h" |
| 28 #include "core/editing/markers/DocumentMarkerController.h" | 27 #include "core/editing/markers/DocumentMarkerController.h" |
| 29 #include "core/events/Event.h" | 28 #include "core/events/Event.h" |
| 30 #include "core/fetch/MemoryCache.h" | 29 #include "core/fetch/MemoryCache.h" |
| 31 #include "core/fetch/ResourceFetcher.h" | 30 #include "core/fetch/ResourceFetcher.h" |
| 32 #include "core/frame/DOMTimer.h" | 31 #include "core/frame/DOMTimer.h" |
| (...skipping 400 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 433 break; | 432 break; |
| 434 deprecatedLocalMainFrame()->document()->axObjectCacheOwner().clearAXObje
ctCache(); | 433 deprecatedLocalMainFrame()->document()->axObjectCacheOwner().clearAXObje
ctCache(); |
| 435 break; | 434 break; |
| 436 case SettingsDelegate::ViewportRuleChange: | 435 case SettingsDelegate::ViewportRuleChange: |
| 437 { | 436 { |
| 438 if (!mainFrame() || !mainFrame()->isLocalFrame()) | 437 if (!mainFrame() || !mainFrame()->isLocalFrame()) |
| 439 break; | 438 break; |
| 440 Document* doc = toLocalFrame(mainFrame())->document(); | 439 Document* doc = toLocalFrame(mainFrame())->document(); |
| 441 if (!doc || !doc->styleResolver()) | 440 if (!doc || !doc->styleResolver()) |
| 442 break; | 441 break; |
| 443 doc->styleResolver()->viewportStyleResolver()->collectViewportRules(
); | 442 doc->styleEngine().setNeedsActiveStyleUpdate(*doc); |
| 444 } | 443 } |
| 445 break; | 444 break; |
| 446 case SettingsDelegate::TextTrackKindUserPreferenceChange: | 445 case SettingsDelegate::TextTrackKindUserPreferenceChange: |
| 447 for (Frame* frame = mainFrame(); frame; frame = frame->tree().traverseNe
xt()) { | 446 for (Frame* frame = mainFrame(); frame; frame = frame->tree().traverseNe
xt()) { |
| 448 if (frame->isLocalFrame()) { | 447 if (frame->isLocalFrame()) { |
| 449 Document* doc = toLocalFrame(frame)->document(); | 448 Document* doc = toLocalFrame(frame)->document(); |
| 450 if (doc) | 449 if (doc) |
| 451 HTMLMediaElement::setTextTrackKindUserPreferenceForAllMediaE
lements(doc); | 450 HTMLMediaElement::setTextTrackKindUserPreferenceForAllMediaE
lements(doc); |
| 452 } | 451 } |
| 453 } | 452 } |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 573 { | 572 { |
| 574 } | 573 } |
| 575 | 574 |
| 576 Page::PageClients::~PageClients() | 575 Page::PageClients::~PageClients() |
| 577 { | 576 { |
| 578 } | 577 } |
| 579 | 578 |
| 580 template class CORE_TEMPLATE_EXPORT Supplement<Page>; | 579 template class CORE_TEMPLATE_EXPORT Supplement<Page>; |
| 581 | 580 |
| 582 } // namespace blink | 581 } // namespace blink |
| OLD | NEW |