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

Unified Diff: third_party/WebKit/Source/web/LinkHighlightImpl.h

Issue 2848513002: Introduce the abstract class WebViewBase, to decouple WebViewImpl. (Closed)
Patch Set: Fix typo. Created 3 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/web/LinkHighlightImpl.h
diff --git a/third_party/WebKit/Source/web/LinkHighlightImpl.h b/third_party/WebKit/Source/web/LinkHighlightImpl.h
index 79b58b5995df3075c9776ac6be082b7d1ddcec66..9e4ab048c8e90249de674fda10f01c94eeaa13f1 100644
--- a/third_party/WebKit/Source/web/LinkHighlightImpl.h
+++ b/third_party/WebKit/Source/web/LinkHighlightImpl.h
@@ -45,7 +45,7 @@ class LayoutBoxModelObject;
class Node;
class WebContentLayer;
class WebLayer;
-class WebViewImpl;
+class WebViewBase;
class WEB_EXPORT LinkHighlightImpl final
: public LinkHighlight,
@@ -53,7 +53,7 @@ class WEB_EXPORT LinkHighlightImpl final
public CompositorAnimationDelegate,
public CompositorAnimationPlayerClient {
public:
- static std::unique_ptr<LinkHighlightImpl> Create(Node*, WebViewImpl*);
+ static std::unique_ptr<LinkHighlightImpl> Create(Node*, WebViewBase*);
~LinkHighlightImpl() override;
WebContentLayer* ContentLayer();
@@ -84,7 +84,7 @@ class WEB_EXPORT LinkHighlightImpl final
}
private:
- LinkHighlightImpl(Node*, WebViewImpl*);
+ LinkHighlightImpl(Node*, WebViewBase*);
void ReleaseResources();
void ComputeQuads(const Node&, Vector<FloatQuad>&) const;
@@ -101,7 +101,7 @@ class WEB_EXPORT LinkHighlightImpl final
Path path_;
Persistent<Node> node_;
- WebViewImpl* owning_web_view_impl_;
+ WebViewBase* owning_web_view_;
GraphicsLayer* current_graphics_layer_;
bool is_scrolling_graphics_layer_;
std::unique_ptr<CompositorAnimationPlayer> compositor_player_;
« no previous file with comments | « third_party/WebKit/Source/web/InspectorOverlayAgent.cpp ('k') | third_party/WebKit/Source/web/LinkHighlightImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698