Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4)

Side by Side Diff: third_party/WebKit/Source/web/LinkHighlightImpl.cpp

Issue 2900593002: Move many more classes to use WebLocalFrameBase over WebLocalFrameImpl. (Closed)
Patch Set: Rebase Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/web/LinkHighlightImplTest.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
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
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/web/LinkHighlightImplTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698