Index: third_party/WebKit/Source/core/editing/markers/CompositionMarker.h |
diff --git a/third_party/WebKit/Source/core/editing/markers/CompositionMarker.h b/third_party/WebKit/Source/core/editing/markers/CompositionMarker.h |
index 9fe170cf81bcf598fbfc57b652ce6fbceb0a8027..0c152264f72e7e802d7d2b66800df6e585672a3d 100644 |
--- a/third_party/WebKit/Source/core/editing/markers/CompositionMarker.h |
+++ b/third_party/WebKit/Source/core/editing/markers/CompositionMarker.h |
@@ -16,10 +16,12 @@ namespace blink { |
// transparent). |
class CORE_EXPORT CompositionMarker final : public DocumentMarker { |
public: |
+ enum class Thickness { kThin, kThick }; |
+ |
CompositionMarker(unsigned start_offset, |
unsigned end_offset, |
Color underline_color, |
- bool thick, |
+ Thickness, |
Color background_color); |
// DocumentMarker implementations |
@@ -27,13 +29,13 @@ class CORE_EXPORT CompositionMarker final : public DocumentMarker { |
// CompositionMarker-specific |
Color UnderlineColor() const; |
- bool Thick() const; |
+ bool IsThick() const; |
Color BackgroundColor() const; |
private: |
Color underline_color_; |
Color background_color_; |
- bool thick_; |
+ Thickness thickness_; |
DISALLOW_COPY_AND_ASSIGN(CompositionMarker); |
}; |