| 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 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 182 WebInputEventResult HandleGestureEvent(const WebGestureEvent&) override; | 182 WebInputEventResult HandleGestureEvent(const WebGestureEvent&) override; |
| 183 WebInputEventResult HandleKeyEvent(const WebKeyboardEvent&) override; | 183 WebInputEventResult HandleKeyEvent(const WebKeyboardEvent&) override; |
| 184 WebInputEventResult HandleCharEvent(const WebKeyboardEvent&) override; | 184 WebInputEventResult HandleCharEvent(const WebKeyboardEvent&) override; |
| 185 | 185 |
| 186 // This method returns the focused frame belonging to this WebWidget, that | 186 // This method returns the focused frame belonging to this WebWidget, that |
| 187 // is, a focused frame with the same local root as the one corresponding | 187 // is, a focused frame with the same local root as the one corresponding |
| 188 // to this widget. It will return nullptr if no frame is focused or, the | 188 // to this widget. It will return nullptr if no frame is focused or, the |
| 189 // focused frame has a different local root. | 189 // focused frame has a different local root. |
| 190 LocalFrame* FocusedLocalFrameInWidget() const; | 190 LocalFrame* FocusedLocalFrameInWidget() const; |
| 191 | 191 |
| 192 WebPlugin* FocusedPluginIfInputMethodSupported(LocalFrame*) const; | |
| 193 | |
| 194 LocalFrame* FocusedLocalFrameAvailableForIme() const; | 192 LocalFrame* FocusedLocalFrameAvailableForIme() const; |
| 195 | 193 |
| 196 CompositorMutatorImpl& Mutator(); | 194 CompositorMutatorImpl& Mutator(); |
| 197 | 195 |
| 198 WebWidgetClient* client_; | 196 WebWidgetClient* client_; |
| 199 | 197 |
| 200 // WebFrameWidget is associated with a subtree of the frame tree, | 198 // WebFrameWidget is associated with a subtree of the frame tree, |
| 201 // corresponding to a maximal connected tree of LocalFrames. This member | 199 // corresponding to a maximal connected tree of LocalFrames. This member |
| 202 // points to the root of that subtree. | 200 // points to the root of that subtree. |
| 203 Member<WebLocalFrameImpl> local_root_; | 201 Member<WebLocalFrameImpl> local_root_; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 241 | 239 |
| 242 DEFINE_TYPE_CASTS(WebFrameWidgetImpl, | 240 DEFINE_TYPE_CASTS(WebFrameWidgetImpl, |
| 243 WebFrameWidgetBase, | 241 WebFrameWidgetBase, |
| 244 widget, | 242 widget, |
| 245 widget->ForSubframe(), | 243 widget->ForSubframe(), |
| 246 widget.ForSubframe()); | 244 widget.ForSubframe()); |
| 247 | 245 |
| 248 } // namespace blink | 246 } // namespace blink |
| 249 | 247 |
| 250 #endif | 248 #endif |
| OLD | NEW |