| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 657 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 668 void FrameFetchContext::countClientHintsViewportWidth() | 668 void FrameFetchContext::countClientHintsViewportWidth() |
| 669 { | 669 { |
| 670 UseCounter::count(frame(), UseCounter::ClientHintsViewportWidth); | 670 UseCounter::count(frame(), UseCounter::ClientHintsViewportWidth); |
| 671 } | 671 } |
| 672 | 672 |
| 673 bool FrameFetchContext::isLowPriorityIframe() const | 673 bool FrameFetchContext::isLowPriorityIframe() const |
| 674 { | 674 { |
| 675 return !frame()->isMainFrame() && frame()->settings() && frame()->settings()
->lowPriorityIframes(); | 675 return !frame()->isMainFrame() && frame()->settings() && frame()->settings()
->lowPriorityIframes(); |
| 676 } | 676 } |
| 677 | 677 |
| 678 bool FrameFetchContext::fetchDeferLateScripts() const |
| 679 { |
| 680 return frame()->settings() && frame()->settings()->fetchDeferLateScripts(); |
| 681 } |
| 682 |
| 683 bool FrameFetchContext::fetchIncreaseFontPriority() const |
| 684 { |
| 685 return frame()->settings() && frame()->settings()->fetchIncreaseFontPriority
(); |
| 686 } |
| 687 |
| 688 bool FrameFetchContext::fetchIncreaseAsyncScriptPriority() const |
| 689 { |
| 690 return frame()->settings() && frame()->settings()->fetchIncreaseAsyncScriptP
riority(); |
| 691 } |
| 692 |
| 693 bool FrameFetchContext::fetchIncreasePriorities() const |
| 694 { |
| 695 return frame()->settings() && frame()->settings()->fetchIncreasePriorities()
; |
| 696 } |
| 697 |
| 698 |
| 678 DEFINE_TRACE(FrameFetchContext) | 699 DEFINE_TRACE(FrameFetchContext) |
| 679 { | 700 { |
| 680 visitor->trace(m_document); | 701 visitor->trace(m_document); |
| 681 visitor->trace(m_documentLoader); | 702 visitor->trace(m_documentLoader); |
| 682 FetchContext::trace(visitor); | 703 FetchContext::trace(visitor); |
| 683 } | 704 } |
| 684 | 705 |
| 685 } // namespace blink | 706 } // namespace blink |
| OLD | NEW |