OLD | NEW |
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 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
214 WebPlugin* focusedPluginIfInputMethodSupported(LocalFrame*) const; | 214 WebPlugin* focusedPluginIfInputMethodSupported(LocalFrame*) const; |
215 | 215 |
216 WebString inputModeOfFocusedElement() const; | 216 WebString inputModeOfFocusedElement() const; |
217 | 217 |
218 int textInputFlags() const; | 218 int textInputFlags() const; |
219 | 219 |
220 LocalFrame* focusedLocalFrameAvailableForIme() const; | 220 LocalFrame* focusedLocalFrameAvailableForIme() const; |
221 | 221 |
222 WebWidgetClient* m_client; | 222 WebWidgetClient* m_client; |
223 | 223 |
224 // WebFrameWidget is associated with a subtree of the frame tree, correspondin
g to a maximal | 224 // WebFrameWidget is associated with a subtree of the frame tree, |
225 // connected tree of LocalFrames. This member points to the root of that subtr
ee. | 225 // corresponding to a maximal connected tree of LocalFrames. This member |
| 226 // points to the root of that subtree. |
226 Member<WebLocalFrameImpl> m_localRoot; | 227 Member<WebLocalFrameImpl> m_localRoot; |
227 | 228 |
228 WebSize m_size; | 229 WebSize m_size; |
229 | 230 |
230 // If set, the (plugin) node which has mouse capture. | 231 // If set, the (plugin) node which has mouse capture. |
231 Member<Node> m_mouseCaptureNode; | 232 Member<Node> m_mouseCaptureNode; |
232 RefPtr<UserGestureToken> m_mouseCaptureGestureToken; | 233 RefPtr<UserGestureToken> m_mouseCaptureGestureToken; |
233 | 234 |
234 // This is owned by the LayerTreeHostImpl, and should only be used on the | 235 // This is owned by the LayerTreeHostImpl, and should only be used on the |
235 // compositor thread. The LayerTreeHostImpl is indirectly owned by this | 236 // compositor thread. The LayerTreeHostImpl is indirectly owned by this |
(...skipping 25 matching lines...) Expand all Loading... |
261 | 262 |
262 DEFINE_TYPE_CASTS(WebFrameWidgetImpl, | 263 DEFINE_TYPE_CASTS(WebFrameWidgetImpl, |
263 WebFrameWidgetBase, | 264 WebFrameWidgetBase, |
264 widget, | 265 widget, |
265 widget->forSubframe(), | 266 widget->forSubframe(), |
266 widget.forSubframe()); | 267 widget.forSubframe()); |
267 | 268 |
268 } // namespace blink | 269 } // namespace blink |
269 | 270 |
270 #endif | 271 #endif |
OLD | NEW |