OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc. All | 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc. All |
3 * Rights Reserved. | 3 * Rights Reserved. |
4 * Copyright (C) 2008 Torch Mobile Inc. All rights reserved. | 4 * Copyright (C) 2008 Torch Mobile Inc. All rights reserved. |
5 * (http://www.torchmobile.com/) | 5 * (http://www.torchmobile.com/) |
6 * | 6 * |
7 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
8 * modify it under the terms of the GNU Library General Public | 8 * modify it under the terms of the GNU Library General Public |
9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
10 * version 2 of the License, or (at your option) any later version. | 10 * version 2 of the License, or (at your option) any later version. |
(...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
397 if (!mainFrame() || !mainFrame()->isLocalFrame()) | 397 if (!mainFrame() || !mainFrame()->isLocalFrame()) |
398 break; | 398 break; |
399 deprecatedLocalMainFrame() | 399 deprecatedLocalMainFrame() |
400 ->document() | 400 ->document() |
401 ->axObjectCacheOwner() | 401 ->axObjectCacheOwner() |
402 .clearAXObjectCache(); | 402 .clearAXObjectCache(); |
403 break; | 403 break; |
404 case SettingsDelegate::ViewportRuleChange: { | 404 case SettingsDelegate::ViewportRuleChange: { |
405 if (!mainFrame() || !mainFrame()->isLocalFrame()) | 405 if (!mainFrame() || !mainFrame()->isLocalFrame()) |
406 break; | 406 break; |
407 Document* doc = toLocalFrame(mainFrame())->document(); | 407 if (Document* doc = toLocalFrame(mainFrame())->document()) |
408 if (!doc || !doc->styleResolver()) | 408 doc->styleEngine().viewportRulesChanged(); |
409 break; | |
410 doc->styleResolver()->viewportStyleResolver()->collectViewportRules(); | |
411 } break; | 409 } break; |
412 case SettingsDelegate::TextTrackKindUserPreferenceChange: | 410 case SettingsDelegate::TextTrackKindUserPreferenceChange: |
413 for (Frame* frame = mainFrame(); frame; | 411 for (Frame* frame = mainFrame(); frame; |
414 frame = frame->tree().traverseNext()) { | 412 frame = frame->tree().traverseNext()) { |
415 if (frame->isLocalFrame()) { | 413 if (frame->isLocalFrame()) { |
416 Document* doc = toLocalFrame(frame)->document(); | 414 Document* doc = toLocalFrame(frame)->document(); |
417 if (doc) | 415 if (doc) |
418 HTMLMediaElement::setTextTrackKindUserPreferenceForAllMediaElements( | 416 HTMLMediaElement::setTextTrackKindUserPreferenceForAllMediaElements( |
419 doc); | 417 doc); |
420 } | 418 } |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
539 : chromeClient(nullptr), | 537 : chromeClient(nullptr), |
540 contextMenuClient(nullptr), | 538 contextMenuClient(nullptr), |
541 editorClient(nullptr), | 539 editorClient(nullptr), |
542 spellCheckerClient(nullptr) {} | 540 spellCheckerClient(nullptr) {} |
543 | 541 |
544 Page::PageClients::~PageClients() {} | 542 Page::PageClients::~PageClients() {} |
545 | 543 |
546 template class CORE_TEMPLATE_EXPORT Supplement<Page>; | 544 template class CORE_TEMPLATE_EXPORT Supplement<Page>; |
547 | 545 |
548 } // namespace blink | 546 } // namespace blink |
OLD | NEW |