OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 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 * 1. Redistributions of source code must retain the above copyright | 8 * 1. 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 * | 10 * |
(...skipping 11 matching lines...) Expand all Loading... |
22 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | 22 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
23 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | 23 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
26 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 26 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
27 */ | 27 */ |
28 | 28 |
29 #include "web/PageOverlay.h" | 29 #include "web/PageOverlay.h" |
30 | 30 |
31 #include "core/frame/FrameHost.h" | 31 #include "core/frame/FrameHost.h" |
32 #include "core/frame/Settings.h" | 32 #include "core/frame/VisualViewport.h" |
33 #include "core/page/Page.h" | 33 #include "core/page/Page.h" |
34 #include "core/page/scrolling/ScrollingCoordinator.h" | 34 #include "core/page/scrolling/ScrollingCoordinator.h" |
35 #include "platform/graphics/GraphicsContext.h" | 35 #include "platform/graphics/GraphicsContext.h" |
36 #include "platform/graphics/GraphicsLayer.h" | 36 #include "platform/graphics/GraphicsLayer.h" |
37 #include "platform/graphics/GraphicsLayerClient.h" | 37 #include "platform/graphics/GraphicsLayerClient.h" |
38 #include "platform/scroll/MainThreadScrollingReason.h" | 38 #include "platform/scroll/MainThreadScrollingReason.h" |
39 #include "public/platform/WebLayer.h" | 39 #include "public/platform/WebLayer.h" |
40 #include "public/web/WebViewClient.h" | 40 #include "public/web/WebViewClient.h" |
41 #include "web/WebDevToolsAgentImpl.h" | 41 #include "web/WebDevToolsAgentImpl.h" |
42 #include "web/WebViewImpl.h" | 42 #include "web/WebViewImpl.h" |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 DCHECK(m_layer); | 113 DCHECK(m_layer); |
114 m_delegate->paintPageOverlay(*this, gc, interestRect.size()); | 114 m_delegate->paintPageOverlay(*this, gc, interestRect.size()); |
115 } | 115 } |
116 | 116 |
117 String PageOverlay::debugName(const GraphicsLayer*) const | 117 String PageOverlay::debugName(const GraphicsLayer*) const |
118 { | 118 { |
119 return "WebViewImpl Page Overlay Content Layer"; | 119 return "WebViewImpl Page Overlay Content Layer"; |
120 } | 120 } |
121 | 121 |
122 } // namespace blink | 122 } // namespace blink |
OLD | NEW |