Index: third_party/WebKit/Source/web/WebLocalFrameImpl.h |
diff --git a/third_party/WebKit/Source/web/WebLocalFrameImpl.h b/third_party/WebKit/Source/web/WebLocalFrameImpl.h |
index a57a15a315a8cac17f25fae0101c0bcc828b72de..2ec2c5c780e3980487d48ec00d7eb6d6a916a066 100644 |
--- a/third_party/WebKit/Source/web/WebLocalFrameImpl.h |
+++ b/third_party/WebKit/Source/web/WebLocalFrameImpl.h |
@@ -55,6 +55,8 @@ class IntSize; |
class KURL; |
class ScrollableArea; |
class SharedWorkerRepositoryClientImpl; |
+class TextCheckerClient; |
+class TextCheckerClientImpl; |
class TextFinder; |
class WebAssociatedURLLoader; |
struct WebAssociatedURLLoaderOptions; |
@@ -400,6 +402,8 @@ class WEB_EXPORT WebLocalFrameImpl final |
static void selectWordAroundPosition(LocalFrame*, VisiblePosition); |
+ TextCheckerClient& textCheckerClient() const; |
+ |
TextFinder* textFinder() const; |
// Returns the text finder object if it already exists. |
// Otherwise creates it and then returns. |
@@ -497,6 +501,9 @@ class WEB_EXPORT WebLocalFrameImpl final |
std::unique_ptr<WebInputMethodControllerImpl> m_inputMethodController; |
+ // Stores the TextCheckerClient which communicates with SpellCheckProvider. |
+ Member<TextCheckerClientImpl> m_textCheckerClient; |
Xiaocheng
2017/04/04 02:03:21
Defined here.
|
+ |
// Oilpan: WebLocalFrameImpl must remain alive until close() is called. |
// Accomplish that by keeping a self-referential Persistent<>. It is |
// cleared upon close(). |