| 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 28 matching lines...) Expand all Loading... |
| 39 #include "core/frame/RootFrameViewport.h" | 39 #include "core/frame/RootFrameViewport.h" |
| 40 #include "core/frame/Settings.h" | 40 #include "core/frame/Settings.h" |
| 41 #include "core/inspector/InspectorInstrumentation.h" | 41 #include "core/inspector/InspectorInstrumentation.h" |
| 42 #include "core/layout/TextAutosizer.h" | 42 #include "core/layout/TextAutosizer.h" |
| 43 #include "core/layout/compositing/PaintLayerCompositor.h" | 43 #include "core/layout/compositing/PaintLayerCompositor.h" |
| 44 #include "core/loader/FrameLoaderClient.h" | 44 #include "core/loader/FrameLoaderClient.h" |
| 45 #include "core/page/ChromeClient.h" | 45 #include "core/page/ChromeClient.h" |
| 46 #include "core/page/Page.h" | 46 #include "core/page/Page.h" |
| 47 #include "core/page/scrolling/ScrollingCoordinator.h" | 47 #include "core/page/scrolling/ScrollingCoordinator.h" |
| 48 #include "platform/Histogram.h" | 48 #include "platform/Histogram.h" |
| 49 #include "platform/TraceEvent.h" | |
| 50 #include "platform/geometry/DoubleRect.h" | 49 #include "platform/geometry/DoubleRect.h" |
| 51 #include "platform/geometry/FloatSize.h" | 50 #include "platform/geometry/FloatSize.h" |
| 52 #include "platform/graphics/CompositorMutableProperties.h" | 51 #include "platform/graphics/CompositorMutableProperties.h" |
| 53 #include "platform/graphics/GraphicsLayer.h" | 52 #include "platform/graphics/GraphicsLayer.h" |
| 54 #include "platform/scroll/Scrollbar.h" | 53 #include "platform/scroll/Scrollbar.h" |
| 55 #include "platform/scroll/ScrollbarThemeOverlay.h" | 54 #include "platform/scroll/ScrollbarThemeOverlay.h" |
| 55 #include "platform/tracing/TraceEvent.h" |
| 56 #include "public/platform/WebCompositorSupport.h" | 56 #include "public/platform/WebCompositorSupport.h" |
| 57 #include "public/platform/WebScrollbar.h" | 57 #include "public/platform/WebScrollbar.h" |
| 58 #include "public/platform/WebScrollbarLayer.h" | 58 #include "public/platform/WebScrollbarLayer.h" |
| 59 #include <memory> | 59 #include <memory> |
| 60 | 60 |
| 61 namespace blink { | 61 namespace blink { |
| 62 | 62 |
| 63 VisualViewport::VisualViewport(FrameHost& owner) | 63 VisualViewport::VisualViewport(FrameHost& owner) |
| 64 : m_frameHost(&owner), | 64 : m_frameHost(&owner), |
| 65 m_scale(1), | 65 m_scale(1), |
| (...skipping 772 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 838 } else if (graphicsLayer == m_rootTransformLayer.get()) { | 838 } else if (graphicsLayer == m_rootTransformLayer.get()) { |
| 839 name = "Root Transform Layer"; | 839 name = "Root Transform Layer"; |
| 840 } else { | 840 } else { |
| 841 ASSERT_NOT_REACHED(); | 841 ASSERT_NOT_REACHED(); |
| 842 } | 842 } |
| 843 | 843 |
| 844 return name; | 844 return name; |
| 845 } | 845 } |
| 846 | 846 |
| 847 } // namespace blink | 847 } // namespace blink |
| OLD | NEW |