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

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

Issue 2029423003: OOPIF IME: Renderer Side Changes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 6 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/WebFrameWidgetImpl.h
diff --git a/third_party/WebKit/Source/web/WebFrameWidgetImpl.h b/third_party/WebKit/Source/web/WebFrameWidgetImpl.h
index a2e21f96d10e0c81130ada8674534917c566f09e..855b7f038a89093aabb65203ba3d4d00246f08a6 100644
--- a/third_party/WebKit/Source/web/WebFrameWidgetImpl.h
+++ b/third_party/WebKit/Source/web/WebFrameWidgetImpl.h
@@ -116,6 +116,8 @@ public:
void didAcquirePointerLock() override;
void didNotAcquirePointerLock() override;
void didLosePointerLock() override;
+ bool getCompositionCharacterBounds(WebVector<WebRect>& bounds) override;
+ void applyReplacementRange(int start, int length) override;
// WebFrameWidget implementation.
void setVisibilityState(WebPageVisibilityState, bool) override;
@@ -195,6 +197,12 @@ private:
WebViewImpl* view() const { return m_localRoot->viewImpl(); }
+ // This method returns the focused frame belonging to this WebWidget, that
+ // is, a focused frame with the same local root as the one corresponding
+ // to this widget. It will return nullptr if no frame is focused or, the
+ // focused frame has a different local root.
+ WebLocalFrame* focusedWebLocalFrameInWidget() const;
+
WebWidgetClient* m_client;
// WebFrameWidget is associated with a subtree of the frame tree, corresponding to a maximal

Powered by Google App Engine
This is Rietveld 408576698