OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 1998, 1999 Torben Weis <weis@kde.org> | 2 * Copyright (C) 1998, 1999 Torben Weis <weis@kde.org> |
3 * 1999 Lars Knoll <knoll@kde.org> | 3 * 1999 Lars Knoll <knoll@kde.org> |
4 * 1999 Antti Koivisto <koivisto@kde.org> | 4 * 1999 Antti Koivisto <koivisto@kde.org> |
5 * 2000 Dirk Mueller <mueller@kde.org> | 5 * 2000 Dirk Mueller <mueller@kde.org> |
6 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. | 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. |
7 * (C) 2006 Graham Dennis (graham.dennis@gmail.com) | 7 * (C) 2006 Graham Dennis (graham.dennis@gmail.com) |
8 * (C) 2006 Alexey Proskuryakov (ap@nypop.com) | 8 * (C) 2006 Alexey Proskuryakov (ap@nypop.com) |
9 * Copyright (C) 2009 Google Inc. All rights reserved. | 9 * Copyright (C) 2009 Google Inc. All rights reserved. |
10 * | 10 * |
(...skipping 3004 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3015 { | 3015 { |
3016 LayoutView* layoutView = this->layoutView(); | 3016 LayoutView* layoutView = this->layoutView(); |
3017 if (!layoutView) | 3017 if (!layoutView) |
3018 return false; | 3018 return false; |
3019 | 3019 |
3020 return layoutView->hasFlippedBlocksWritingMode(); | 3020 return layoutView->hasFlippedBlocksWritingMode(); |
3021 } | 3021 } |
3022 | 3022 |
3023 bool FrameView::visualViewportSuppliesScrollbars() const | 3023 bool FrameView::visualViewportSuppliesScrollbars() const |
3024 { | 3024 { |
3025 return m_frame->isMainFrame() && m_frame->settings() && m_frame->settings()-
>viewportMetaEnabled(); | 3025 return m_frame->isMainFrame() && m_frame->settings() && m_frame->settings()-
>viewportEnabled(); |
3026 } | 3026 } |
3027 | 3027 |
3028 AXObjectCache* FrameView::axObjectCache() const | 3028 AXObjectCache* FrameView::axObjectCache() const |
3029 { | 3029 { |
3030 if (frame().document()) | 3030 if (frame().document()) |
3031 return frame().document()->existingAXObjectCache(); | 3031 return frame().document()->existingAXObjectCache(); |
3032 return nullptr; | 3032 return nullptr; |
3033 } | 3033 } |
3034 | 3034 |
3035 void FrameView::setCursor(const Cursor& cursor) | 3035 void FrameView::setCursor(const Cursor& cursor) |
(...skipping 1083 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4119 return m_hiddenForThrottling && m_crossOriginForThrottling; | 4119 return m_hiddenForThrottling && m_crossOriginForThrottling; |
4120 } | 4120 } |
4121 | 4121 |
4122 LayoutBox& FrameView::boxForScrollControlPaintInvalidation() const | 4122 LayoutBox& FrameView::boxForScrollControlPaintInvalidation() const |
4123 { | 4123 { |
4124 ASSERT(layoutView()); | 4124 ASSERT(layoutView()); |
4125 return *layoutView(); | 4125 return *layoutView(); |
4126 } | 4126 } |
4127 | 4127 |
4128 } // namespace blink | 4128 } // namespace blink |
OLD | NEW |