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

Unified Diff: third_party/WebKit/Source/web/WebLocalFrameImpl.h

Issue 2795113002: Move ownership of TextCheckerClientImpl to WebLocalFrameImpl (Closed)
Patch Set: Mon Apr 3 18:57:07 PDT 2017 Created 3 years, 9 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/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().

Powered by Google App Engine
This is Rietveld 408576698