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

Unified Diff: third_party/WebKit/Source/core/editing/markers/TextMatchMarker.h

Issue 2909553002: [DMC #20] Remove DocumentMarker::IsActiveMatch() and SetIsActiveMatch() methods (Closed)
Patch Set: Rebase Created 3 years, 7 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/core/editing/markers/TextMatchMarker.h
diff --git a/third_party/WebKit/Source/core/editing/markers/TextMatchMarker.h b/third_party/WebKit/Source/core/editing/markers/TextMatchMarker.h
index 83cb21228121bd1334520634aea86b8be5fe91de..2c2452104aab84543580ec15e1813051aa4247a6 100644
--- a/third_party/WebKit/Source/core/editing/markers/TextMatchMarker.h
+++ b/third_party/WebKit/Source/core/editing/markers/TextMatchMarker.h
@@ -32,6 +32,10 @@
namespace blink {
+// A subclass of DocumentMarker used to store information specific to TextMatch
+// markers. We store whether or not the match is active, a LayoutRect used for
+// rendering the marker, and whether or not the LayoutRect is currently
+// up-to-date.
class TextMatchMarker final : public DocumentMarker {
private:
enum class State { kInvalid, kValidNull, kValidNotNull };

Powered by Google App Engine
This is Rietveld 408576698