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

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: Using focusedCoreFrame() instead of focusController().focusedFrame() in WebViewImpl Created 4 years, 5 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
« no previous file with comments | « content/renderer/render_widget.cc ('k') | third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 b6ebe6a9ddf97bcc357848e17cbeae8d6252d774..59b58456fc44ede4d19107eb1371e491ec02f668 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) override;
@@ -195,6 +197,22 @@ 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.
+ LocalFrame* focusedLocalFrameInWidget() const;
+
+ bool confirmComposition(const WebString& text, ConfirmCompositionBehavior selectionBehavior) const;
+
+ WebPlugin* focusedPluginIfInputMethodSupported(LocalFrame*) const;
+
+ WebString inputModeOfFocusedElement() const;
+
+ int textInputFlags() const;
+
+ LocalFrame* focusedLocalFrameAvailableForIme() const;
+
WebWidgetClient* m_client;
// WebFrameWidget is associated with a subtree of the frame tree, corresponding to a maximal
@@ -225,6 +243,9 @@ private:
// Whether the WebFrameWidget is rendering transparently.
bool m_isTransparent;
+ // Represents whether or not this object should process incoming IME events.
+ bool m_imeAcceptEvents;
+
static const WebInputEvent* m_currentInputEvent;
WebColor m_baseBackgroundColor;
« no previous file with comments | « content/renderer/render_widget.cc ('k') | third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698