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

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

Issue 2910233002: Do not fallback to FocusedOrMainFrame() in FocusedLocalFrameInWidget() (Closed)
Patch Set: Rebased Created 3 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 f542cd51bff8f566de6057aada9a640ed315681d..2d758f35ec11902c71140dadcbfab2679d0da6d2 100644
--- a/third_party/WebKit/Source/web/WebFrameWidgetImpl.h
+++ b/third_party/WebKit/Source/web/WebFrameWidgetImpl.h
@@ -183,14 +183,6 @@ class WebFrameWidgetImpl final
WebInputEventResult HandleKeyEvent(const WebKeyboardEvent&) override;
WebInputEventResult HandleCharEvent(const WebKeyboardEvent&) override;
- // 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;
-
- LocalFrame* FocusedLocalFrameAvailableForIme() const;
-
CompositorMutatorImpl& Mutator();
WebWidgetClient* client_;
@@ -225,11 +217,6 @@ class WebFrameWidgetImpl final
bool base_background_color_override_enabled_;
WebColor base_background_color_override_;
- // TODO(ekaramad): Can we remove this and make sure IME events are not called
- // when there is no page focus?
- // Represents whether or not this object should process incoming IME events.
- bool ime_accept_events_;
-
static const WebInputEvent* current_input_event_;
WebColor base_background_color_;
« no previous file with comments | « third_party/WebKit/Source/core/frame/WebFrameWidgetBase.cpp ('k') | third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698