| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011 Apple Inc. All rights reserved. | 2 * Copyright (C) 2011 Apple 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 | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 | 29 |
| 30 #include "core/dom/Document.h" | 30 #include "core/dom/Document.h" |
| 31 #include "core/dom/Fullscreen.h" | 31 #include "core/dom/Fullscreen.h" |
| 32 #include "core/dom/Node.h" | 32 #include "core/dom/Node.h" |
| 33 #include "core/frame/EventHandlerRegistry.h" | 33 #include "core/frame/EventHandlerRegistry.h" |
| 34 #include "core/frame/FrameView.h" | 34 #include "core/frame/FrameView.h" |
| 35 #include "core/frame/LocalFrame.h" | 35 #include "core/frame/LocalFrame.h" |
| 36 #include "core/frame/Settings.h" | 36 #include "core/frame/Settings.h" |
| 37 #include "core/html/HTMLElement.h" | 37 #include "core/html/HTMLElement.h" |
| 38 #include "core/layout/LayoutGeometryMap.h" | 38 #include "core/layout/LayoutGeometryMap.h" |
| 39 #include "core/layout/LayoutPart.h" |
| 39 #include "core/layout/compositing/CompositedLayerMapping.h" | 40 #include "core/layout/compositing/CompositedLayerMapping.h" |
| 40 #include "core/layout/compositing/LayerCompositor.h" | 41 #include "core/layout/compositing/LayerCompositor.h" |
| 41 #include "core/page/Chrome.h" | 42 #include "core/page/Chrome.h" |
| 42 #include "core/page/Page.h" | 43 #include "core/page/Page.h" |
| 43 #include "core/plugins/PluginView.h" | 44 #include "core/plugins/PluginView.h" |
| 44 #include "core/rendering/RenderPart.h" | |
| 45 #include "core/rendering/RenderView.h" | 45 #include "core/rendering/RenderView.h" |
| 46 #include "platform/RuntimeEnabledFeatures.h" | 46 #include "platform/RuntimeEnabledFeatures.h" |
| 47 #include "platform/TraceEvent.h" | 47 #include "platform/TraceEvent.h" |
| 48 #include "platform/exported/WebScrollbarImpl.h" | 48 #include "platform/exported/WebScrollbarImpl.h" |
| 49 #include "platform/exported/WebScrollbarThemeGeometryNative.h" | 49 #include "platform/exported/WebScrollbarThemeGeometryNative.h" |
| 50 #include "platform/geometry/Region.h" | 50 #include "platform/geometry/Region.h" |
| 51 #include "platform/geometry/TransformState.h" | 51 #include "platform/geometry/TransformState.h" |
| 52 #include "platform/graphics/GraphicsLayer.h" | 52 #include "platform/graphics/GraphicsLayer.h" |
| 53 #if OS(MACOSX) | 53 #if OS(MACOSX) |
| 54 #include "platform/mac/ScrollAnimatorMac.h" | 54 #include "platform/mac/ScrollAnimatorMac.h" |
| (...skipping 990 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1045 bool frameIsScrollable = frameView && frameView->isScrollable(); | 1045 bool frameIsScrollable = frameView && frameView->isScrollable(); |
| 1046 if (frameIsScrollable != m_wasFrameScrollable) | 1046 if (frameIsScrollable != m_wasFrameScrollable) |
| 1047 return true; | 1047 return true; |
| 1048 | 1048 |
| 1049 if (WebLayer* scrollLayer = frameView ? toWebLayer(frameView->layerForScroll
ing()) : nullptr) | 1049 if (WebLayer* scrollLayer = frameView ? toWebLayer(frameView->layerForScroll
ing()) : nullptr) |
| 1050 return blink::WebSize(frameView->contentsSize()) != scrollLayer->bounds(
); | 1050 return blink::WebSize(frameView->contentsSize()) != scrollLayer->bounds(
); |
| 1051 return false; | 1051 return false; |
| 1052 } | 1052 } |
| 1053 | 1053 |
| 1054 } // namespace blink | 1054 } // namespace blink |
| OLD | NEW |