| 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 #include "web/PageWidgetDelegate.h" | 44 #include "web/PageWidgetDelegate.h" |
| 45 #include "web/WebFrameWidgetBase.h" | 45 #include "web/WebFrameWidgetBase.h" |
| 46 #include "web/WebInputMethodControllerImpl.h" | 46 #include "web/WebInputMethodControllerImpl.h" |
| 47 #include "web/WebLocalFrameImpl.h" | 47 #include "web/WebLocalFrameImpl.h" |
| 48 | 48 |
| 49 namespace blink { | 49 namespace blink { |
| 50 | 50 |
| 51 class CompositorAnimationHost; | 51 class CompositorAnimationHost; |
| 52 class Frame; | 52 class Frame; |
| 53 class Element; | 53 class Element; |
| 54 class InspectorOverlayAgent; | |
| 55 class LocalFrame; | 54 class LocalFrame; |
| 56 class PaintLayerCompositor; | 55 class PaintLayerCompositor; |
| 57 class UserGestureToken; | 56 class UserGestureToken; |
| 58 class WebLayer; | 57 class WebLayer; |
| 59 class WebLayerTreeView; | 58 class WebLayerTreeView; |
| 60 class WebMouseEvent; | 59 class WebMouseEvent; |
| 61 class WebMouseWheelEvent; | 60 class WebMouseWheelEvent; |
| 62 class WebFrameWidgetImpl; | 61 class WebFrameWidgetImpl; |
| 63 | 62 |
| 64 using WebFrameWidgetsSet = | 63 using WebFrameWidgetsSet = |
| (...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 177 // PageWidgetEventHandler functions | 176 // PageWidgetEventHandler functions |
| 178 void HandleMouseLeave(LocalFrame&, const WebMouseEvent&) override; | 177 void HandleMouseLeave(LocalFrame&, const WebMouseEvent&) override; |
| 179 void HandleMouseDown(LocalFrame&, const WebMouseEvent&) override; | 178 void HandleMouseDown(LocalFrame&, const WebMouseEvent&) override; |
| 180 void HandleMouseUp(LocalFrame&, const WebMouseEvent&) override; | 179 void HandleMouseUp(LocalFrame&, const WebMouseEvent&) override; |
| 181 WebInputEventResult HandleMouseWheel(LocalFrame&, | 180 WebInputEventResult HandleMouseWheel(LocalFrame&, |
| 182 const WebMouseWheelEvent&) override; | 181 const WebMouseWheelEvent&) override; |
| 183 WebInputEventResult HandleGestureEvent(const WebGestureEvent&) override; | 182 WebInputEventResult HandleGestureEvent(const WebGestureEvent&) override; |
| 184 WebInputEventResult HandleKeyEvent(const WebKeyboardEvent&) override; | 183 WebInputEventResult HandleKeyEvent(const WebKeyboardEvent&) override; |
| 185 WebInputEventResult HandleCharEvent(const WebKeyboardEvent&) override; | 184 WebInputEventResult HandleCharEvent(const WebKeyboardEvent&) override; |
| 186 | 185 |
| 187 InspectorOverlayAgent* GetInspectorOverlay(); | |
| 188 | |
| 189 // This method returns the focused frame belonging to this WebWidget, that | 186 // This method returns the focused frame belonging to this WebWidget, that |
| 190 // 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 |
| 191 // 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 |
| 192 // focused frame has a different local root. | 189 // focused frame has a different local root. |
| 193 LocalFrame* FocusedLocalFrameInWidget() const; | 190 LocalFrame* FocusedLocalFrameInWidget() const; |
| 194 | 191 |
| 195 WebPlugin* FocusedPluginIfInputMethodSupported(LocalFrame*) const; | 192 WebPlugin* FocusedPluginIfInputMethodSupported(LocalFrame*) const; |
| 196 | 193 |
| 197 LocalFrame* FocusedLocalFrameAvailableForIme() const; | 194 LocalFrame* FocusedLocalFrameAvailableForIme() const; |
| 198 | 195 |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 244 | 241 |
| 245 DEFINE_TYPE_CASTS(WebFrameWidgetImpl, | 242 DEFINE_TYPE_CASTS(WebFrameWidgetImpl, |
| 246 WebFrameWidgetBase, | 243 WebFrameWidgetBase, |
| 247 widget, | 244 widget, |
| 248 widget->ForSubframe(), | 245 widget->ForSubframe(), |
| 249 widget.ForSubframe()); | 246 widget.ForSubframe()); |
| 250 | 247 |
| 251 } // namespace blink | 248 } // namespace blink |
| 252 | 249 |
| 253 #endif | 250 #endif |
| OLD | NEW |