Index: third_party/WebKit/Source/core/frame/LocalDOMWindow.h |
diff --git a/third_party/WebKit/Source/core/frame/LocalDOMWindow.h b/third_party/WebKit/Source/core/frame/LocalDOMWindow.h |
index 2ad0b6ac3b8bd053487bd313b477634bc2ffa539..3f130873a6bd0c39a704dbe083238c7dda0e82c0 100644 |
--- a/third_party/WebKit/Source/core/frame/LocalDOMWindow.h |
+++ b/third_party/WebKit/Source/core/frame/LocalDOMWindow.h |
@@ -61,6 +61,7 @@ class FrameRequestCallback; |
class History; |
class IdleRequestCallback; |
class IdleRequestOptions; |
+class InputMethodController; |
class MediaQueryList; |
class MessageEvent; |
class Navigator; |
@@ -318,6 +319,8 @@ class CORE_EXPORT LocalDOMWindow final : public DOMWindow, |
void SetHasLoadEventFired() { has_load_event_fired_ = true; } |
bool HasLoadEventFired() { return has_load_event_fired_; } |
+ InputMethodController* GetInputMethodController() const; |
+ |
protected: |
// EventTarget overrides. |
void AddedEventListener(const AtomicString& event_type, |
@@ -373,6 +376,8 @@ class CORE_EXPORT LocalDOMWindow final : public DOMWindow, |
HeapHashSet<Member<PostMessageTimer>> post_message_timers_; |
HeapHashSet<WeakMember<EventListenerObserver>> event_listener_observers_; |
+ |
+ const Member<InputMethodController> input_method_controller_; |
}; |
DEFINE_TYPE_CASTS(LocalDOMWindow, |
@@ -389,6 +394,10 @@ inline String LocalDOMWindow::defaultStatus() const { |
return default_status_; |
} |
+inline InputMethodController* LocalDOMWindow::GetInputMethodController() const { |
+ return input_method_controller_; |
+} |
+ |
} // namespace blink |
#endif // LocalDOMWindow_h |