OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 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 | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are 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 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 14 matching lines...) Expand all Loading... |
25 | 25 |
26 #include "web/LinkHighlightImpl.h" | 26 #include "web/LinkHighlightImpl.h" |
27 | 27 |
28 #include <memory> | 28 #include <memory> |
29 #include "core/dom/DOMNodeIds.h" | 29 #include "core/dom/DOMNodeIds.h" |
30 #include "core/dom/LayoutTreeBuilderTraversal.h" | 30 #include "core/dom/LayoutTreeBuilderTraversal.h" |
31 #include "core/dom/Node.h" | 31 #include "core/dom/Node.h" |
32 #include "core/exported/WebViewBase.h" | 32 #include "core/exported/WebViewBase.h" |
33 #include "core/frame/LocalFrame.h" | 33 #include "core/frame/LocalFrame.h" |
34 #include "core/frame/LocalFrameView.h" | 34 #include "core/frame/LocalFrameView.h" |
| 35 #include "core/frame/WebLocalFrameBase.h" |
35 #include "core/layout/LayoutBoxModelObject.h" | 36 #include "core/layout/LayoutBoxModelObject.h" |
36 #include "core/layout/LayoutObject.h" | 37 #include "core/layout/LayoutObject.h" |
37 #include "core/layout/compositing/CompositedLayerMapping.h" | 38 #include "core/layout/compositing/CompositedLayerMapping.h" |
38 #include "core/paint/PaintLayer.h" | 39 #include "core/paint/PaintLayer.h" |
39 #include "platform/RuntimeEnabledFeatures.h" | 40 #include "platform/RuntimeEnabledFeatures.h" |
40 #include "platform/animation/CompositorAnimation.h" | 41 #include "platform/animation/CompositorAnimation.h" |
41 #include "platform/animation/CompositorAnimationCurve.h" | 42 #include "platform/animation/CompositorAnimationCurve.h" |
42 #include "platform/animation/CompositorFloatAnimationCurve.h" | 43 #include "platform/animation/CompositorFloatAnimationCurve.h" |
43 #include "platform/animation/CompositorTargetProperty.h" | 44 #include "platform/animation/CompositorTargetProperty.h" |
44 #include "platform/animation/TimingFunction.h" | 45 #include "platform/animation/TimingFunction.h" |
(...skipping 11 matching lines...) Expand all Loading... |
56 #include "public/platform/WebCompositorSupport.h" | 57 #include "public/platform/WebCompositorSupport.h" |
57 #include "public/platform/WebContentLayer.h" | 58 #include "public/platform/WebContentLayer.h" |
58 #include "public/platform/WebDisplayItemList.h" | 59 #include "public/platform/WebDisplayItemList.h" |
59 #include "public/platform/WebFloatPoint.h" | 60 #include "public/platform/WebFloatPoint.h" |
60 #include "public/platform/WebLayer.h" | 61 #include "public/platform/WebLayer.h" |
61 #include "public/platform/WebRect.h" | 62 #include "public/platform/WebRect.h" |
62 #include "public/platform/WebSize.h" | 63 #include "public/platform/WebSize.h" |
63 #include "public/web/WebKit.h" | 64 #include "public/web/WebKit.h" |
64 #include "third_party/skia/include/core/SkMatrix44.h" | 65 #include "third_party/skia/include/core/SkMatrix44.h" |
65 #include "ui/gfx/geometry/rect.h" | 66 #include "ui/gfx/geometry/rect.h" |
66 #include "web/WebLocalFrameImpl.h" | |
67 #include "web/WebSettingsImpl.h" | 67 #include "web/WebSettingsImpl.h" |
68 | 68 |
69 namespace blink { | 69 namespace blink { |
70 | 70 |
71 std::unique_ptr<LinkHighlightImpl> LinkHighlightImpl::Create( | 71 std::unique_ptr<LinkHighlightImpl> LinkHighlightImpl::Create( |
72 Node* node, | 72 Node* node, |
73 WebViewBase* owning_web_view) { | 73 WebViewBase* owning_web_view) { |
74 return WTF::WrapUnique(new LinkHighlightImpl(node, owning_web_view)); | 74 return WTF::WrapUnique(new LinkHighlightImpl(node, owning_web_view)); |
75 } | 75 } |
76 | 76 |
(...skipping 330 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
407 | 407 |
408 WebLayer* LinkHighlightImpl::Layer() { | 408 WebLayer* LinkHighlightImpl::Layer() { |
409 return ClipLayer(); | 409 return ClipLayer(); |
410 } | 410 } |
411 | 411 |
412 CompositorAnimationPlayer* LinkHighlightImpl::CompositorPlayer() const { | 412 CompositorAnimationPlayer* LinkHighlightImpl::CompositorPlayer() const { |
413 return compositor_player_.get(); | 413 return compositor_player_.get(); |
414 } | 414 } |
415 | 415 |
416 } // namespace blink | 416 } // namespace blink |
OLD | NEW |