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

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

Issue 2872353002: [DMC #5.55v2] Add DocumentMarkerList::MarkerType() (Closed)
Patch Set: 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/DocumentMarkerList.h
diff --git a/third_party/WebKit/Source/core/editing/markers/DocumentMarkerList.h b/third_party/WebKit/Source/core/editing/markers/DocumentMarkerList.h
index 0ec98740b7a903df0f465477a0d413361b4e3cf6..4ec0eec6e76d5cd321775f9a7dba92cf94193364 100644
--- a/third_party/WebKit/Source/core/editing/markers/DocumentMarkerList.h
+++ b/third_party/WebKit/Source/core/editing/markers/DocumentMarkerList.h
@@ -6,11 +6,11 @@
#define DocumentMarkerList_h
#include "core/CoreExport.h"
+#include "core/editing/markers/DocumentMarker.h"
#include "platform/heap/Handle.h"
namespace blink {
-class DocumentMarker;
class RenderedDocumentMarker;
// This is an interface implemented by classes that DocumentMarkerController
@@ -23,6 +23,9 @@ class CORE_EXPORT DocumentMarkerList
public:
virtual ~DocumentMarkerList();
+ // Returns the single marker type supported by the list implementation.
+ virtual DocumentMarker::MarkerType MarkerType() const = 0;
+
virtual bool IsEmpty() const = 0;
virtual void Add(DocumentMarker*) = 0;

Powered by Google App Engine
This is Rietveld 408576698