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

Side by Side Diff: third_party/WebKit/Source/web/WebFrameWidgetImpl.h

Issue 2417643002: Move text input mode/info/type into InputMethodController (Closed)
Patch Set: Fix nits Created 4 years, 2 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2014 Google Inc. All rights reserved. 2 * Copyright (C) 2014 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 WebViewImpl* view() const { return m_localRoot->viewImpl(); } 205 WebViewImpl* view() const { return m_localRoot->viewImpl(); }
206 206
207 // This method returns the focused frame belonging to this WebWidget, that 207 // This method returns the focused frame belonging to this WebWidget, that
208 // is, a focused frame with the same local root as the one corresponding 208 // is, a focused frame with the same local root as the one corresponding
209 // to this widget. It will return nullptr if no frame is focused or, the 209 // to this widget. It will return nullptr if no frame is focused or, the
210 // focused frame has a different local root. 210 // focused frame has a different local root.
211 LocalFrame* focusedLocalFrameInWidget() const; 211 LocalFrame* focusedLocalFrameInWidget() const;
212 212
213 WebPlugin* focusedPluginIfInputMethodSupported(LocalFrame*) const; 213 WebPlugin* focusedPluginIfInputMethodSupported(LocalFrame*) const;
214 214
215 WebString inputModeOfFocusedElement() const;
216
217 int textInputFlags() const;
218
219 LocalFrame* focusedLocalFrameAvailableForIme() const; 215 LocalFrame* focusedLocalFrameAvailableForIme() const;
220 216
221 WebWidgetClient* m_client; 217 WebWidgetClient* m_client;
222 218
223 // WebFrameWidget is associated with a subtree of the frame tree, 219 // WebFrameWidget is associated with a subtree of the frame tree,
224 // corresponding to a maximal connected tree of LocalFrames. This member 220 // corresponding to a maximal connected tree of LocalFrames. This member
225 // points to the root of that subtree. 221 // points to the root of that subtree.
226 Member<WebLocalFrameImpl> m_localRoot; 222 Member<WebLocalFrameImpl> m_localRoot;
227 223
228 WebSize m_size; 224 WebSize m_size;
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 257
262 DEFINE_TYPE_CASTS(WebFrameWidgetImpl, 258 DEFINE_TYPE_CASTS(WebFrameWidgetImpl,
263 WebFrameWidgetBase, 259 WebFrameWidgetBase,
264 widget, 260 widget,
265 widget->forSubframe(), 261 widget->forSubframe(),
266 widget.forSubframe()); 262 widget.forSubframe());
267 263
268 } // namespace blink 264 } // namespace blink
269 265
270 #endif 266 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLAttributeNames.in ('k') | third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698