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

Unified Diff: third_party/WebKit/Source/core/testing/Internals.h

Issue 2801483002: Add DocumentMarker::MatchStatus enum for text match markers (Closed)
Patch Set: 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/core/testing/Internals.h
diff --git a/third_party/WebKit/Source/core/testing/Internals.h b/third_party/WebKit/Source/core/testing/Internals.h
index dd0c161d86d56fa261f54136f2d62e80c231a4cc..e765f8573b0f7c43e3123ccc80378626ce3696f5 100644
--- a/third_party/WebKit/Source/core/testing/Internals.h
+++ b/third_party/WebKit/Source/core/testing/Internals.h
@@ -33,6 +33,7 @@
#include "bindings/core/v8/ScriptValue.h"
#include "bindings/core/v8/ScriptWrappable.h"
#include "core/css/CSSComputedStyleDeclaration.h"
+#include "core/editing/markers/DocumentMarker.h"
#include "core/page/scrolling/ScrollingCoordinator.h"
#include "platform/heap/Handle.h"
#include "wtf/Forward.h"
@@ -189,7 +190,10 @@ class Internals final : public GarbageCollected<Internals>,
bool thick,
const String& backgroundColorValue,
ExceptionState&);
- void setMarkersActive(Node*, unsigned startOffset, unsigned endOffset, bool);
+ void setMarkersActive(Node*,
+ unsigned startOffset,
+ unsigned endOffset,
+ bool isActive);
rlanday 2017/04/04 20:48:23 Note: I didn't convert this to use an enum because
Xiaocheng 2017/04/04 21:11:15 We just use string in IDLs. There's a lot of examp
void setMarkedTextMatchesAreHighlighted(Document*, bool);
void setFrameViewPosition(Document*, long x, long y, ExceptionState&);
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutTheme.cpp ('k') | third_party/WebKit/Source/core/testing/Internals.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698