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 2995 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3006 { | 3006 { |
3007 LayoutView* layoutView = this->layoutView(); | 3007 LayoutView* layoutView = this->layoutView(); |
3008 if (!layoutView) | 3008 if (!layoutView) |
3009 return false; | 3009 return false; |
3010 | 3010 |
3011 return layoutView->hasFlippedBlocksWritingMode(); | 3011 return layoutView->hasFlippedBlocksWritingMode(); |
3012 } | 3012 } |
3013 | 3013 |
3014 bool FrameView::visualViewportSuppliesScrollbars() const | 3014 bool FrameView::visualViewportSuppliesScrollbars() const |
3015 { | 3015 { |
3016 return m_frame->isMainFrame() && m_frame->settings() && m_frame->settings()-
>viewportMetaEnabled(); | 3016 return m_frame->isMainFrame() && m_frame->settings() && m_frame->settings()-
>viewportEnabled(); |
3017 } | 3017 } |
3018 | 3018 |
3019 AXObjectCache* FrameView::axObjectCache() const | 3019 AXObjectCache* FrameView::axObjectCache() const |
3020 { | 3020 { |
3021 if (frame().document()) | 3021 if (frame().document()) |
3022 return frame().document()->existingAXObjectCache(); | 3022 return frame().document()->existingAXObjectCache(); |
3023 return nullptr; | 3023 return nullptr; |
3024 } | 3024 } |
3025 | 3025 |
3026 void FrameView::setCursor(const Cursor& cursor) | 3026 void FrameView::setCursor(const Cursor& cursor) |
(...skipping 1083 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4110 return m_hiddenForThrottling && m_crossOriginForThrottling; | 4110 return m_hiddenForThrottling && m_crossOriginForThrottling; |
4111 } | 4111 } |
4112 | 4112 |
4113 LayoutBox& FrameView::boxForScrollControlPaintInvalidation() const | 4113 LayoutBox& FrameView::boxForScrollControlPaintInvalidation() const |
4114 { | 4114 { |
4115 ASSERT(layoutView()); | 4115 ASSERT(layoutView()); |
4116 return *layoutView(); | 4116 return *layoutView(); |
4117 } | 4117 } |
4118 | 4118 |
4119 } // namespace blink | 4119 } // namespace blink |
OLD | NEW |