Chromium Code Reviews| Index: public/web/WebSettings.h |
| diff --git a/public/web/WebSettings.h b/public/web/WebSettings.h |
| index 3121481b60c36c7af8f3145986f2993d26e58f71..3eb36a663365828e8ada88ac14969fb8e02b4c72 100644 |
| --- a/public/web/WebSettings.h |
| +++ b/public/web/WebSettings.h |
| @@ -93,6 +93,11 @@ public: |
| HoverTypeHover = 1 << 2 |
| }; |
| + enum SelectionStrategyType { |
|
Rick Byers
2015/04/16 19:09:48
Since this is the blink public API, please add goo
mfomitchev1
2015/04/16 19:33:00
Acknowledged.
mfomitchev1
2015/04/17 00:13:51
Done.
|
| + StrategyDefault, |
| + StrategyDirection |
| + }; |
| + |
| // Sets value of a setting by its string identifier from Settings.in and |
| // string representation of value. An enum's string representation is the |
| // string representation of the integer value of the enum. |
| @@ -204,6 +209,7 @@ public: |
| virtual void setSansSerifFontFamily(const WebString&, UScriptCode = USCRIPT_COMMON) = 0; |
| virtual void setSelectTrailingWhitespaceEnabled(bool) = 0; |
| virtual void setSelectionIncludesAltImageText(bool) = 0; |
| + virtual void setSelectionStrategy(SelectionStrategyType) = 0; |
| virtual void setSerifFontFamily(const WebString&, UScriptCode = USCRIPT_COMMON) = 0; |
| virtual void setShouldPrintBackgrounds(bool) = 0; |
| virtual void setShouldClearDocumentBackground(bool) = 0; |