blob: 4dfc5a27c60e2bdad5b65ccaeecea73cb2f8ab0b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef THIRD_PARTY_BLINK_RENDERER_PLATFORM_GRAPHICS_LINK_HIGHLIGHT_H_
#define THIRD_PARTY_BLINK_RENDERER_PLATFORM_GRAPHICS_LINK_HIGHLIGHT_H_
#include "third_party/blink/renderer/platform/graphics/paint/display_item_client.h"
#include "third_party/blink/renderer/platform/platform_export.h"
namespace cc {
class Layer;
}
namespace blink {
class EffectPaintPropertyNode;
class PLATFORM_EXPORT LinkHighlight : public DisplayItemClient {
public:
~LinkHighlight() override {}
virtual void Invalidate() = 0;
virtual void ClearCurrentGraphicsLayer() = 0;
virtual cc::Layer* Layer() = 0;
virtual const EffectPaintPropertyNode* effect() const = 0;
// DisplayItemClient methods
// TODO(wangxianzhu): This class doesn't need to be a DisplayItemClient in
// CompositeAfterPaint.
String DebugName() const final { return "LinkHighlight"; }
LayoutRect VisualRect() const final { return LayoutRect(); }
};
} // namespace blink
#endif // THIRD_PARTY_BLINK_RENDERER_PLATFORM_GRAPHICS_LINK_HIGHLIGHT_H_
|